-->
Page 1 of 1

Digest mismatch

PostPosted: Fri Nov 25, 2016 3:07 pm
by CARPP
If i try to flash my esp8266 with my compiled code i get this error:


esptool.py v1.2-dev
Connecting...
Running Cesanta flasher stub...
Flash params set to 0x0020
Writing 32768 @ 0x0...

Wrote 32768 bytes at 0x0 in 1.3 seconds (207.6 kbit/s)...
Writing 196608 @ 0x10000...

A fatal error occurred: Digest mismatch: expected DFB07FE0B38F55C01969D22B0BB6685A, got B6F4E923201163536AA358F1E6C8FAB3


Anyone here who has an idea how to fix this? Please help :cry:

Re: Digest mismatch

PostPosted: Mon Dec 05, 2016 3:38 am
by coddingtonbear
I'm sure you've found the answer already, but for future readers: when I bumped into this problem I solved it by using shorter wires between my UART and the ESP8266. The problem appears to be caused, as you might expect given the error message, by signal integrity problems.

Re: Digest mismatch

PostPosted: Thu Jan 05, 2017 5:22 am
by BNL
I can confirm that. I had my cables extended to reach the USB port, but when I shortened them back, the write_flash went successful.