esptool --erase-all vs erase_flash

uzer123
Posts: 12
Joined: Thu May 07, 2020 4:42 pm

esptool --erase-all vs erase_flash

Postby uzer123 » 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:

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

Who is online

Users browsing this forum: No registered users and 72 guests