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

Secure DFU sdk 12

Hi,

I just upgraded to the new SDK (12.1) from SDK 11... and I'm completely lost about the new secure DFU... Previously I correctly implemented a buttonless DFU in my application so it will reset the chip and start de Bootloader, but now I'm trying to follow the DFU buttonless example and trying to program the Secure Bootloader without any results.

I have a couple of questions at this time: 1-I'm working with a custom PCB and when I flash the aplication after flashing the bootloader and the SD, it erases the bootloader (or at least this is what I see on the nrfGo program), so I don't know what I'm not doing correctly. 2-I can't see how it works... (remember that I'm working on a custom PCB). I changed all the LOG and bsp related functions to avoid them.

Please you could explain those problems that I'm facing? Thank you!

Parents
  • FormerMember
    0 FormerMember

    To check which areas in the chip that are programmed, you can also use nrfjprog from cmd. If your bootloader starts at address 0x78000, and you want to read 100 bytes, you can use the following command:

    nrfjprog --memrd 0x78000 --n 100 -f nrf52
    

    Programming the application should not erase anything else than overwriting the area it is writing to.

Reply
  • FormerMember
    0 FormerMember

    To check which areas in the chip that are programmed, you can also use nrfjprog from cmd. If your bootloader starts at address 0x78000, and you want to read 100 bytes, you can use the following command:

    nrfjprog --memrd 0x78000 --n 100 -f nrf52
    

    Programming the application should not erase anything else than overwriting the area it is writing to.

Children
Related