New to MicroPython, putty showing garbage chars
Re: New to MicroPython, putty showing garbage chars
That is correct. You should not have to press anything. Only, if the terminal is unresponsive do I try the RESET button. If that doesn't work I unplug/plug.
Re: New to MicroPython, putty showing garbage chars
ok i pressed reset button but it just shows the same thing
Re: New to MicroPython, putty showing garbage chars
I'm having a similar issue.
Does the default MicroPython-xxxxx WiFi AP show up for you? Or is it just the REPL over serial that doesn't work?
Does the default MicroPython-xxxxx WiFi AP show up for you? Or is it just the REPL over serial that doesn't work?
Re: New to MicroPython, putty showing garbage chars
My issue just resolved itself by using
option during flashing. Maybe this is the solution for you, too.
Code: Select all
-fm dout
Re: New to MicroPython, putty showing garbage chars
I'll try that, can you give me the full command just in case? Are you using an ESP8266?
Are you using this for flashing?
Are you using this for flashing?
Code: Select all
esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=detect -fm dout 0 esp8266-20170108-v1.8.7.bin
Re: New to MicroPython, putty showing garbage chars
Yes, I'm using a ESP8266 on a ESP-01S board. This is the thread I opened: viewtopic.php?f=16&t=10741 You can find some example commands there. For me, -fm dout made all the difference. Anything with worked as long as I used that option.
Did you check if your MicroPython-xxxxxx WiFi AP shows up and it's only the serial console that doesn't work?
Also, I think I'm using a different firmware: I have 1.16.
Did you check if your MicroPython-xxxxxx WiFi AP shows up and it's only the serial console that doesn't work?
Also, I think I'm using a different firmware: I have 1.16.
Re: New to MicroPython, putty showing garbage chars
I tried the -dout and I'm still getting the same thing as before. I'm not able to access REPL using rshell
It installs the MicroPython fine, but it says 'No Micropython boards connected'
It installs the MicroPython fine, but it says 'No Micropython boards connected'
Re: New to MicroPython, putty showing garbage chars
How are you connecting to ESP8266 after flashing? Are you using rshell?
Re: New to MicroPython, putty showing garbage chars
I'm sorry that this didn't fix it for you.
I'm on Linux and I'm currently using screen. When connecting the USB adapter, I'm using dmesg to find out the device port.
Code: Select all
dmesg -wH
screen /dev/ttyUSB0 115200
I also found out that my USB power isn't super stable. Did you try every USB port? Did you try with an external power source?
Also, after successfully flashing MicroPython, by default the AP_IF (access point network interface) is enabled and you should see a "MicroPython-xxxxxx" WiFi SSID! Just use your phone or something to check all the available WiFi networks. Doesn't have to do anything with the serial connection. But this way you can find out if MicroPython runs and it's only the serial connection that's faulty.
Re: New to MicroPython, putty showing garbage chars
I'm on Linux (Raspberry Pi). I installed screen, and I'm connected to USB0, and when I run the command , I get a black screen , and when I press the reset button on the ESP8266, I don't get REPL, it says Mode : SoftAP
I'm not seeing the ESP8266XXX Wi-Fi either
Code: Select all
screen /dev/ttyUSB0 115200
I'm not seeing the ESP8266XXX Wi-Fi either