#Erasing program in MCU

1 messages · Page 1 of 1 (latest)

blazing prawn
#

As a beginner in this field. I found out (correct me if I'm wrong) that once I debug my program in ESP32 (or maybe in all board) is that it deploy permanent in board. My question is:

  1. How to erase this program without deploy or debug another program?
  2. Is the nanoff command --masserase can solve this problem? I'm afraid to use this because I think it will also delete the firmware of the board.
candid lintel
#

--masserase will erase every partition on ESP32

#

before updating it

#

you can click on the eraser icon in VS device explorer and that will wipe the deployment region of the target device