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

nRF52 APPPROTECT

Hi,

Is there a way on the nRF52 to clear the APPPROTECT bits once they have been set?

On the nRF51, it was still possible to erase the chip to clear the readback protection. However, on the nRF52, the APPPROTECT bits seem to fully disable the debugger.

Thanks,

Eric

Parents
  • The tools don't seem to support this yet (unless my nRF GO Studio is out of date) but using JLink from the command line I was able to clear these by manually executing the following commands:

    Erase Enable: w4 4001e504 2

    Erase all: w4 4001e50c 1

    Update

    I tried to reproduce this after having cleared these bits, but now I again cannot get the the JLink to recognize the core. I'm not sure what caused it to work this morning such that I could do this.

Reply
  • The tools don't seem to support this yet (unless my nRF GO Studio is out of date) but using JLink from the command line I was able to clear these by manually executing the following commands:

    Erase Enable: w4 4001e504 2

    Erase all: w4 4001e50c 1

    Update

    I tried to reproduce this after having cleared these bits, but now I again cannot get the the JLink to recognize the core. I'm not sure what caused it to work this morning such that I could do this.

Children
Related