flashing to esp8266 fails

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
misaalanshori
Posts: 27
Joined: Sat Jun 22, 2019 6:07 am

flashing to esp8266 fails

Post by misaalanshori » Sat Jun 22, 2019 6:26 am

I have two esp8266 the back of them says lolin new nodemcu v3 and the metal cover on one of them says esp8266mod (the other one is different but I removed the cover so I don't know)

I have tried flashing multiple times using esptool and nodemcu firmware programmer using different settings but I don't get anything on the serial monitor and no wifi access points.

I tried a different firmware (spacehuhn deauther) and it works fine and serial outputs everything correctly

esptool output:
hello@hello-there sudo esptool --port /dev/ttyUSB0 --baud 115200 write_flash --flash_size=detect 0 esp8266-20190529-v1.11.bin
esptool.py v2.5.1
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
MAC: a0:20:a6:13:a9:db
Enabling default SPI flash mode...
Configuring flash size...
Auto-detected Flash size: 4MB
Erasing flash...
Flash params set to 0x0040
Took 2.63s to erase flash block
Wrote 618496 bytes at 0x00000000 in 62.7 seconds (79.0 kbit/s)...

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


Serial output (Arduino serial monitor at 74880 baud, 115200 just shows a garbled data ):
ets Jan 8 2013,rst cause:2, boot mode:(3,2)

load 0x40100000, len 31024, room 16
tail 0
chksum 0x66
load 0x09a08112, len -1459504895, room 8

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

Re: flashing to esp8266 fails

Post by Roberthh » Sat Jun 22, 2019 11:26 am

Micropython REPL runs at 115200 Baud. You may try other flash mode options, like --flash_mode dio

misaalanshori
Posts: 27
Joined: Sat Jun 22, 2019 6:07 am

Re: flashing to esp8266 fails

Post by misaalanshori » Sat Jun 22, 2019 11:34 am

I think its a board issue, I have another board that now works with micropython. the board looks very similar but using the same command doesn't properly install it

I have tried other flash modes and dio causes it to reset loop(i think... led is blinking and the serial repeating the same thing over and over), and the other ones just doesn't do anything, it just shows " ets Jan 8 2013,rst cause:2, boot mode:(x,x)" on serial once.

i also tried other baudrate with the same result

Post Reply