Page 1 of 1

Cant access REPL

Posted: Thu Jul 19, 2018 5:19 pm
by chromecat
I bought two lolin NodeMcu board and tried to install everything correctly..
but
when i flashed it and want to access the repl there are just symbols like shown below.

FE�Q�HAI% ��Mл�YH��UWZ��F

i did everything like https://docs.micropython.org/en/latest/ ... intro.html

i got mac os x and tried it also on windows with both boards.
When i try it with webrepl it instantly disconnect.

Anyone got the same issue ?


update: tried it with esplorer as nodemcu firmware and also got these kind of symbols as response

Re: Cant access REPL

Posted: Fri Jul 20, 2018 3:57 am
by philwilkinson40
OK @chromecat step by step:
1) when you installed the firmware using esptool.py what message was displayed in the Terminal? Did you erase_flash first before you write flash the firmware? What speed (baudrate) did you use? Try it at 115200.
2) How are you trying to access REPL? Using PUTTY on Windows? In PUTTY what are you Category Serial Connection settings? Double check you are using the correct COM port and the speed (baudrate) is 115200, 'Flow Control' is set to 'None'

Re: Cant access REPL

Posted: Fri Jul 20, 2018 2:59 pm
by chromecat
yes i did erased the flash bevor.
i tried every baudrate 9600-115200

esptool.py --port /dev/cu.wchusbserial1410 --baud 57600 write_flash --flash_size=detect 0 esp8266-20170108-v1.8.7.bin
esptool.py v2.5.0
Serial port /dev/cu.wchusbserial1410
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
MAC: bc:dd:c2:fe:72:15
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Flash params set to 0x0040
Compressed 586700 bytes to 381924...
Wrote 586700 bytes (381924 compressed) at 0x00000000 in 67.6 seconds (effective 69.5 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

thats the output from terminal.
I tried to access via screen on mac os x, when used Putty port. baudrate, flow control etc seems right

Re: Cant access REPL

Posted: Mon Jul 23, 2018 4:26 am
by pythoncoder
I appreciate this doesn't fix your problem, but your invocation line (with only the USB device changed for my system) works here on the reference board. I suspect you may have terminal problems (baudrate, bits per char, parity, flow control).

Incidentally why are you flashing an old build? The latest release build is v1.9.4.