This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how to erase application only without erasing uicr with nrfjprog

Excuse me:

                      The chip can individually erase the application without erasing the uicr with nrfjprog?Which nrfjprog command is used to erase  the application only,I want to program the .hex file only without erasing uicr.

Parents Reply
  • Hi,

    The hex has to cover the same area as the previous one, as sectorerase will only erase the area of the new hex. If it doesn't cover the area, and you try to program a new hex, nrfjprog will sense that the area is already written to and will return an error.

    Alternatively, you can try to use nrjfprog --erasepage and manually erase the application and then use nrfjprog --program to flash the new application. 

    regards

    Jared 

Children
No Data
Related