nrf52 DK keeps resecuring itself

Hi,

I have just acquired a new nRF52 DK devkit.

Performing a `nrfjprog --recover` followed by `nrfjprog --eraseall` doesn't work to remove the protection.

I do not flash a new firmware on it. After a power cycle, I need to recover and erase the MCU again to connect to it via RTT.

Any idea how to fix this?

Thanks,

Étienne Machabée
Lynkz Instruments Inc.

Parents Reply
  • I am asking this question for when this project goes into production.

    Our standard production workflow with v2 chips was to perform a eraseall of the flash, then flash our .hex with all the firmware on it.

    What change in my firmware can I make that will disable APPROTECT? This is to be used with prototypes on which we want debug access, but still run them through the production workflow.

Children
Related