DFU - non secure to secure

Hi,
we have an older product based on nRF51822 developed on SDK 9. The nRF51822 is programmed with DFU option but with non-secure.
We want to update with a new secure bootloader and application.

I suppose that is possible, but we cannot find the secure bootloader software for SDK 9. Could you please help.

Best regards

Jens

Parents Reply
  • The bootloader should never be overwritten during an application DFU, so I think we need to investigate a bit more to understand what has happened.

    1. In what way does the bootloader not work? What have you learned by testing / debugging?
    2. Do you have a device with 128 kB or 256 kB lash?
    3. Can you share your memory layout (SoftDevice size, application start address and size, bootloader start address and size etc)?
    4. Do you use single bank or dual bank application updates?
    5. Can you make a flash dump before and after the update so that we can compare and see which regions have change during the DFU procedure? The simplest way to dump the flash is like this (assuming a 256 kB device): nrfjprog --memrd 0 --n 0x40000 > flash_dump.txt
Children
Related