Can't Serial into MicroPython ESP8266

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
katesimon123
Posts: 15
Joined: Mon Jun 14, 2021 12:49 am

Can't Serial into MicroPython ESP8266

Post by katesimon123 » Mon Jun 14, 2021 12:51 am

I'm using the NodeMCU Amica board. I erased the flash on the ESP8266 using...

sudo esptool.py --port /dev/ttyUSB0 erase_flash

I then wrote the flash using the following command...

sudo esptool.py --port /dev/ttyUSB0 write_flash --flash_size=detect 0 esp8266-20210418-v1.15.bin

I then used minicom to serial into the device. I tried both 9600 baud and 115200 baud. Neither worked. Specifically, I kept pressing enter and the REPL prompt did not appear. Please help!

I have asked on another forum and they have pointed me here.
Last edited by katesimon123 on Wed Jun 30, 2021 7:18 pm, edited 1 time in total.

bitninja
Posts: 165
Joined: Thu Sep 15, 2016 4:09 pm
Location: Spring, Texas

Re: Can't Serial into MicroPython ESP8266

Post by bitninja » Tue Jun 15, 2021 4:18 pm

Hi... in my test I found I had to run minicom with sudo to get access to the serial port. There is a ways to enable it for all users so that sudo is not needed but I have not researched it yet. That might be the issue.

HTH

Joe

ahh I found the info here... viewtopic.php?f=21&t=10028#p55907

katesimon123
Posts: 15
Joined: Mon Jun 14, 2021 12:49 am

Re: Can't Serial into MicroPython ESP8266

Post by katesimon123 » Fri Jul 02, 2021 9:56 pm

bitninja wrote:
Tue Jun 15, 2021 4:18 pm
ahh I found the info here... Raspberry Pi Pico
Thanks for the link, got the required info.

Post Reply