Hello,
Is calling --eraseall before calling --program the same as combining --program with --chiperase?
Does --recover erase all the areas that --eraseall and --chiperase erase plus the readback protection registers?
Thank you!
Hello,
Is calling --eraseall before calling --program the same as combining --program with --chiperase?
Does --recover erase all the areas that --eraseall and --chiperase erase plus the readback protection registers?
Thank you!
Hi,
The different nrfjprog commands can be found here.
From the documentation: --eraseall erases all user available program flash memory and the UICR page, and --chiperae erases all the available non-volatile memory and UICR. So to answer your question, running --eraseall before --program is the same as when you run --program with --chiperase. The only difference between them is that --chiperase can be combined with --program.
Yes, --recover erases all user flash memory, so it will erase all the areas that --eraseall and --chiperase erase, also UICR, in addition to the readback protection mechanism.
Best regards,
Marte
Thank you for the clarification.