md5 of file does not match data in flash

43 views
Skip to first unread message

Samir Arishy

unread,
Jul 27, 2024, 5:38:57 AM7/27/24
to TasmotaUsers
This is esp01 and using tasmotizer. Keep getting this error. I used esptools:
esptool --chip esp8266 --port COM4 --baud 115200 --after hard_reset erase_flashI


I also used:

esptool write_flash_status --non-volatile 0

When flashing  using Tasmotizer. I noticed when easing the memeory it stopped at 50% them resumed. After flashing I get the above error message..

When I used the last command above I got:
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: e8:68:e7:80:0b:f5
Uploading stub...
Running stub...
Stub running...
Initial flash status: 0x0000
Setting flash status: 0x0000
After flash status:   0x0000
Hard resetting via RTS pin...
 Your help will be greatly appreciated

Justin Adie

unread,
Jul 27, 2024, 8:12:43 AM7/27/24
to Samir Arishy, TasmotaUsers
Why are you trying to write to the flash status bits?  Be careful doing that without researching the effect.

The first command just erased the programme area of the flash memory.  Is that what you intend?  If so try again but end the command after erase_flash and delete the trailing "l".

Why are you not using the web installer?










--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/ad967f38-405d-4ec0-874a-a1331d539cd3n%40googlegroups.com.

Justin Adie

unread,
Jul 27, 2024, 8:32:05 AM7/27/24
to Samir Arishy, SonoffUsers
read_flash 0 ALL flash_contents.bin


This outputs the flash contents to a file.  You need to specify baud and port as you know.  Go slow on the baudrate if you have a bad quality or cheap serial converter
Full esptool doc here https://docs.espressif.com/projects/esptool/en/latest/esp32/index.html

On Sat, 27 Jul 2024, 13:24 Samir Arishy, <ari...@gmail.com> wrote:
The commands I mentioned are taken from people who had the same problem as me. I did not try to play with status intentionally. All I wanted was to flash tasmota to the esp01. I will try the web installer and let you know. By the way do you know of esptool command to TEST the flash memory to see if it is OK?

Justin Adie

unread,
Jul 27, 2024, 8:56:31 AM7/27/24
to Samir Arishy, SonoffUsers
You can set up the WiFi parameters via the web installer. 

Or just reboot and you should see the tasmota WiFi network which you can join and set up the WiFi ssid 

On Sat, 27 Jul 2024, 13:51 Samir Arishy, <ari...@gmail.com> wrote:
Great tip. To dump the content and if there are errors it will tell ..I presume.  As for the web installer , to my happy surprise it went with no errors. But I am stuck. I cannot see it when I arp -a. I know the mac address ( e8:....:0c) but it is not showing. I assume I need to setup up wifi; but my w11 does it see it

Justin Adie

unread,
Jul 27, 2024, 9:19:03 AM7/27/24
to Samir Arishy, SonoffUsers
Then try connecting to the tasmota WiFi network 

On Sat, 27 Jul 2024, 14:08 Samir Arishy, <ari...@gmail.com> wrote:
I re-did the web installer but I could not find the way to provide wifi info..... 
Reply all
Reply to author
Forward
0 new messages