Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By scsi050
#83608 sorry for the delay. I'm using a 1a 5v power supply that is going through a regulator down to 3.3v.

Flashing failed (I can't tell you the reason): there's a checksum error in the image

So the bin file I'm uploading to the ESP is bad? That's strange because I've tried many different ones (AT, micropython, ESPHome, etc). Do you see this by the existence of the "csum err" ?
Any suggestions?


I've tried all this on 2 ESP-07s, with the same results. Is it possible they both are bad?


thanks
User avatar
By QuickFix
#83611
scsi050 wrote:So the bin file I'm uploading to the ESP is bad?

No sorry, what I meant was: an image with a certain known checksum was flashed, but when the ESP checks this value afterwards (at boot) against what's inside the flash. they do not correspond.
Most likely flashing itself failed, tweak the parameters and try again.
User avatar
By scsi050
#83623 changing the flash mode to "dout" fixed the issue. Now when it boots, it actually boots.

Code: Select allxx@xxx:~ $ esptool.py --chip auto --port /dev/ttyAMA0 --baud 57600 write_flash --flash_size=detect -fm dout 0 <bin file>


https://github.com/espressif/esptool/wi ... lash-Modes

Thanks for the help.