Disable approtect

Hello,

In my project I use a nrf52840 which have the access port protection. I am in the development phase and I would like to disable this protection during this phase.
Currently, I can debug if I flash the device and debug it directly but if I do a power off-power on of the device, I am forced to reprogram the entire device...

During my tests I use the RTT logs to see what is happening. In fact, I would like to be able to program my nrf52840 only once (and not have to be in a debugging session) and keep access to the RTT logs. In fact, my nrf52840 is connected to another device via the uart and I would like to be able to debug this other device while having access to the nrf52840 RTT logs.

So could you tell me how I could disable this protection? (I use the default config (CONFIG_NRF_APPROTECT_USE_UICR=y))

I use the nRF Connect SDK V2.7.0.

Thanks

Parents Reply Children
No Data
Related