MD5 errors after uploading

Hi all
I use 2 same heltec lora esp32 boards. Both with factory code. One board I uploaded using arduino web editor and later using arduino IDE installed on the macbook air. Works fine. I have tried to upload same code to another board, which still have factory code, and i got this error. Do I have to reset or erase somehow factory code? Or what?
Please help.
Thanks in advance

Last lines of errors:

Wrote 18912 bytes (13027 compressed) at 0x00001000 in 0.2 seconds (effective 670.1 kbit/s)...
File md5: 973379d879acf4aba5da9b441e44427a
Flash md5: a546f555daf5ff4e1622773bf2a2f429
MD5 of 0xFF is 4ca6a95d1789c3d6317811ab47dfa684

A fatal error occurred: MD5 of file does not match data in flash!
Failed uploading: uploading error: exit status 2

I found solution. Just type in terminal: esptool.py --port write_flash_status --non-volatile 0

Thanks for providing the feedback. You can mark your topic as solved by clicking the solution button under the most useful reply (yours :wink:) so others know a solution was provided.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.