ESP8266- Undecoded Data (gibberish) in shell after flash

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
astrong
Posts: 1
Joined: Tue Feb 02, 2021 10:13 pm

ESP8266- Undecoded Data (gibberish) in shell after flash

Post by astrong » Tue Feb 02, 2021 10:25 pm

Hi I have a LoLin ESP8266 NodeMcu v3 board,
I have flashed firmware esp8266-20200911-v1.13.bin onto the ESP8266 using the Thonny tool.
The board now has the led flashing rapidly and displays gibberish in the shell.

Can any one help find my problem

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: ESP8266- Undecoded Data (gibberish) in shell after flash

Post by Roberthh » Wed Feb 03, 2021 6:39 am

Most likely the wrong flash mode was used during flashing. The default is dio, but some boards need dout.

almicro
Posts: 1
Joined: Mon Mar 22, 2021 6:10 pm

Re: ESP8266- Undecoded Data (gibberish) in shell after flash

Post by almicro » Mon Mar 22, 2021 6:31 pm

I've had that problem after flashing a Wemos D1 mini. I had to explicitly specify the flash size on the esptool command line to match my board. I left it out of the command line thinking the flash size would be automatically detected and used correctly.
Like: write_flash --flash_size 4MB -fm dio 0 latest.bin

The gibberish on the console is the boot information errors sent at a different baud rate, mine was at 74880.

Post Reply