ESP_Angus wrote:Hi dereklai,
Thanks for providing those details. A couple of things that should help:
- You don't need the bugfix branch of esptool.py any more, in fact that branch is out of date. I should have deleted it and removed the link from the post, my mistake. If you have the current esp-idf master branch then the esptool that's included there is the one to use (the commands git pull origin; git submodule update should get you back up to date).
- The flash status bit that is being reported by read_flash_status is SRP1, which needs a power cycle to clear. If you power cycle the boards, does the problem go away?
- Are all these ESP32S boards failing to flash the very first time that you flash them?
Cheers,
Angus
Thanks Angus.
* I have got the current esp-idf master branch. The two md5-error modules are still showing md5-error.
* I have power cycle serveral times. After power on again, it's flash status shows "0x3200". And it's still md5-error.
* Yes. the two failed boards failed at the first time with md5 mismatch error. I guess the flash memory has something wrong. Can I fix them by sending some commands?
I have another two 'normal' boards which failed to flash with md5 mismatch error for several times but works fine later with the new esptool.py. Were they fixed by some secret commands?