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

How protect the stored code from reading it back?

Hi, everyone,

We are developing the BLE project on NRF51822 and NRF52832 chips. In these chips we are storing the SDK BLE library, Bootloader and the main code. At this point is averything OK. But when we wanted to protect the chips from reading the code back we had the trouble: 

In the nRFgo Studio exist the options for read protection, but we couldn't enable them "Program SoftDevice" tab this option is always shadowed, In "Program Application" tab this option can be enabled but works only while burning he code itself from this probram while wee need to burn it by bootloader; and  in "Program Bootloader" tab this option doesn't exist at all.

In forums we saw many Ideas about readback protection  somewre was suggested to modify "NVMC->CONFIG" register, somewere was suggested to modify the "NRF_UICR->RBPCONF" register, but we couldn't find anything that describes exactly what we need.

How to protect the chip from reading it back and were can be written the required information?

Thank you forward for paying attention

Best Regards

Boris Fridman

Related