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

How to know if nrf51 is protected from readback or not?

Hello DevZone community, Currently I am using nrf51822. Could you guys please tell me how to enable code protection besides check the "Lock entire chip from readback" in nRFGo studio? I have tried to add uicr_config.h in to my application code file and typed this line into it: const uint32_t UICR_RBPCONF attribute((at(0x10001004))) attribute((used)) = 0x00000000; but I don't know if this work or not. Is there any method to check if a chip is protected or not? I am sorry for my English. Thank you for your kind supports.

Related