Enable permanent read/write protection from JTAG.

Hello,

Is there any way I can enable Read /write protection from Jtag for NRF BC52805M 

I am looking for something like (ST RDP protection level 2) where once we flash the firmware into the flash memory, again  reflashing/recovering is not possible through JTAG.

I tried setting NRF_UICR->APPROTECT  to  0xFFFFFF00.

  

But  recover (after enabling the APPPROTECT) is still possible, which should not be in our case.

Parents
  • Hi,

    You can enable access port protection in the UICR as you have described (and on the latest revision devices you should also add  CONFIG_NRF_APPROTECT_LOCK=y to your project configuration as described in Enabling access port protection mechanism). This will protect the memory content of the device, as it will only be possible to debug and access the memory after performing an erase all (recover) operation.

    However, there is no mechanism to prevent a recover operation on these devices. The nRF53 series has an ERASEPROTECT mechanism, but this does not exist in the nRF 52 series devices.

Reply
  • Hi,

    You can enable access port protection in the UICR as you have described (and on the latest revision devices you should also add  CONFIG_NRF_APPROTECT_LOCK=y to your project configuration as described in Enabling access port protection mechanism). This will protect the memory content of the device, as it will only be possible to debug and access the memory after performing an erase all (recover) operation.

    However, there is no mechanism to prevent a recover operation on these devices. The nRF53 series has an ERASEPROTECT mechanism, but this does not exist in the nRF 52 series devices.

Children
Related