Page 1 of 1

esptool --erase-all vs erase_flash

Posted: Fri Jul 28, 2023 10:18 am
by uzer123
I want to give the "simplest" command as instruction for people to flash our firmware.
I prefer this:

Code: Select all

esptool.py -p COMX --erase-all ....
But is this the exact same as the following?:

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