esptool --erase-all vs erase_flash
Posted: Fri Jul 28, 2023 10:18 am
I want to give the "simplest" command as instruction for people to flash our firmware.
I prefer this:
But is this the exact same as the following?:
It's not completely clear to me from the documentation https://docs.espressif.com/projects/esp ... mands.html
I prefer this:
Code: Select all
esptool.py -p COMX --erase-all ....
Code: Select all
esptool.py -p COMX erase_flash && esptool.py -p COMX ...
It's not completely clear to me from the documentation https://docs.espressif.com/projects/esp ... mands.html