This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

"Access protection is enabled" on brand new nRF52-DK?

I got an nRF52 DK, took it from the box, plugged it into USB and turned it on. One LED was flashing softly and slowly.

Then I ran nrfjprog.exe --deviceversion --log and after a while it printed:

ERROR: [ nRF52] - Access protection is enabled, can't read device version.
unknown

Is this to be expected? What is the factory state of the nRF52 DK?

Unfortunately I then ran nrfjprog.exe --recover, thinking that I could just re-flash the firmware file from https://www.nordicsemi.com/Products/Development-hardware/nRF52-DK/Download#infotabs.

However, after I did that, now all the LEDs are softly flashing rather quickly and whatever (useful?) was on the chip is now gone.

  • Hi,

    Is this to be expected? What is the factory state of the nRF52 DK?

    Yes, this is expected. Newer nRF52s comes with an updated app protection feature which is by default on.

    Unfortunately I then ran nrfjprog.exe --recover, thinking that I could just re-flash the firmware file from https://www.nordicsemi.com/Products/Development-hardware/nRF52-DK/Download#infotabs.

    However, after I did that, now all the LEDs are softly flashing rather quickly and whatever (useful?) was on the chip is now gone.

    Strange, I would expect the LEDs to stop blinking after you've recovered it. Are you able to erase the application with nrfjprog --erase after doing a recover?

    regards

    Jared 

  • Sorry, I didn't make that clear. I erased it with --recover and then I successfully flashed the "soft blink" firmware that I downloaded from the nRF52-DK downloads page. That's what making the LEDs flash. I just noticed that the blinking is different than before, so it had a different firmware on it before. My question is, the firmware that came preinstalled, does that do anything useful except flashing the single LED? Because I erased that one without being able to make a backup.

  • Hi,

    Not really, it's just a a blinky example. You can download the nRF Connect SDK or the older nRF5SDK to get examples compatible with the nRF52832. 

    regards

    Jared

Related