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

Disable softdevice protection in command line

Hi guys, I can erase all the chip and load the softDevice in command line successfully by nrfjprog.exe. Is there any switch to disable the softdevice protection? Or I need to write directly to the memory location? Do you have any instruction for that purpose? I am using nRF51822 with softdevice s110

Thanks, Ehsan

  • Have a look at the available nrfjprog commands on this page. To disable the readback protection, you must use the --recover command (erases all user flash memory and disables the readback protection mechanism if enabled).

    You will find on this post an example on how to program a SoftDevice and application on the nRF51 and then enable the readback protection.

  • Hi Christopher,

    I need to "disable the softdevice protection" not "disable the readback protection". They are not the same thing, are they?

    It is important when you want to update softdevice with DFU mechanism to "disable the softdevice protection".

    Thanks,

    Ehsan