Putty REPL not working
Putty REPL not working
how to troubleshoot Putty REPL not working. Empty window, no response.
Re: Putty REPL not working
this looks related, but no solution/troubleshooting is given:
https://github.com/micropython/micropython/issues/587
https://github.com/micropython/micropython/issues/587
Re: Putty REPL not working
One thing to try is to reset the file system on the pyboard.
Use Mode 3 boot mode as described here: http://docs.micropython.org/en/latest/general.html
It is possible to put commands in your boot.py that disables the REPL over USB serial. This will wipe all of that out.
Use Mode 3 boot mode as described here: http://docs.micropython.org/en/latest/general.html
It is possible to put commands in your boot.py that disables the REPL over USB serial. This will wipe all of that out.
Re: Putty REPL not working
Tried Factory reset several times. One time it worked but for little. Neither HyperTerminal nor Putty are connecting. Tried last advice in this (https://github.com/micropython/micropython/issues/587) thread but after a while problem occured again.
Re: Putty REPL not working
I´m having the same exact problem. Do anyone knows how to fix it?
Re: Putty REPL not working
I was having the same issue with a NodeMCU board: a blank screen in Putty and I could not type, but no connection error.
After narrowing the problem to the flashing process (other flashes such as sonoff was working fine) I noticed that you have to use the exact options in esptool to flash the board:
esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=detect 0 esp8266-20170108-v1.8.7.bin
taken from:
http://docs.micropython.org/en/v1.9.4/e ... intro.html
after that it worked flawlessly.
After narrowing the problem to the flashing process (other flashes such as sonoff was working fine) I noticed that you have to use the exact options in esptool to flash the board:
esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=detect 0 esp8266-20170108-v1.8.7.bin
taken from:
http://docs.micropython.org/en/v1.9.4/e ... intro.html
after that it worked flawlessly.
Re: Putty REPL not working
SOLVED on windows
Just getting my feet wet with pyboard as well and had this non responsive repl problem.
I like others, probably have loaded some code into main.py and got something running. I then tried the next more complicated serial connection with putty. This is what was causing the unresponsiveness in the putty window.
I resolved the issue by both:-
1. clearing the contents of the main.py file so nothing is running
or
2. pressing CTRL-C in the non responsive putty window once connected, to keyboard interrupt the running program
The repl >>> appeared in the putty window in both situations
It appears that on windows, the serial connection wont give a repl response if the cpu is busy.
I hope this helps some other newbies, and I cant believe this is not in bold red on the serial connection instructions.
Mark Ando
Just getting my feet wet with pyboard as well and had this non responsive repl problem.
I like others, probably have loaded some code into main.py and got something running. I then tried the next more complicated serial connection with putty. This is what was causing the unresponsiveness in the putty window.
I resolved the issue by both:-
1. clearing the contents of the main.py file so nothing is running
or
2. pressing CTRL-C in the non responsive putty window once connected, to keyboard interrupt the running program
The repl >>> appeared in the putty window in both situations

It appears that on windows, the serial connection wont give a repl response if the cpu is busy.
I hope this helps some other newbies, and I cant believe this is not in bold red on the serial connection instructions.
Mark Ando
Re: Putty REPL not working
Very useful for the beginners.
I can able to connect with PuTTY
I can able to connect with PuTTY