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

Softdevice protection and nordic DFU

Hi.

I have built an ble application which runs on the nrf52832 with softdevice S132 V 6.0.0.
In addition to the application and the softdevice I program a bootloader on the device.
So I'm able to use the nordic DFU!

When programming the device I can choose following options:

- Lock Softdevice from readback

- Enable Softdevice protection

- Lock entire chip from readback

Does one of these options affect the funtion of the nordic DFU?

Thanks.

Alwin

Parents Reply
  • Hi,

    Correct, you can enable readback protection by writing to the APPROTECT register in UICR.  Unfortunately, enabling and disabling of readback protection does not seem to be supported in nRF connect yet. Do you have nrfjprog installed? The following commands are used to enable/disable readback protection:

    nrfjprog --rbp all // enables readback protection by writing to UICR.APPROTECT

    nrfjprog --recover // Performs a full chip erase to disable readback protection

Children
Related