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

nrfjprog code region 0

hey,

so today I updated my NRF Tools... I guess i was using an old version before.

To test our prototypes we have a test fixture where the board is programmed at the end. I used to use the following command with no problems: nrfjprog -e --programs <file.hex>

with the new tools the command doesn't excist, so I tried with: nrfjprog --program <file.hex> --chiperase

After that I program the application and the bootloader. The problem arises as soon I programmed the bootloader... then the application doesn't run. If I program everything with NrfGo it works fine, so I investigated a little ;)

What I found out is, that with the new tools nothing is written into UICR.CLENR0, so the flash is not divided into Region 0 and Region 1.

Is there a possibility to do that with the updated tools?

Have a nice day, Alex

P.S. we are using NRF51822

Related