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

Secure Bootloader and repeated flash storage in NCS v1.4.2

Hi,

1.  I have implement DFU example without private key (open bootloader !) . How to implement secure bootloader for NCS .

2.  when i use the DFU with hid_keyboard the Flash storage starts at 0xFE000, and every restart device the DFU* setup alone write 32bytes at every power resets. how to control it

Parents
  • Hey Sunil

    I'm sorry, but what address specifically moved from F5000 to FE000? Is this where the flash data is stored? I'm guessing it is moved to a free place because the bootloader takes up that space when you add it. I would recommend moving where you store flash data to somewhere that is not affected by the bootloader instead though, maybe further "down" in the flash storage, so that the "top" of flash memory is kept for the bootloader.

    2. Can you explain how exactly you've added the bootloader? Are you adding a secure or an immutable bootloader to your application?

    Best regards,

    Simon

Reply
  • Hey Sunil

    I'm sorry, but what address specifically moved from F5000 to FE000? Is this where the flash data is stored? I'm guessing it is moved to a free place because the bootloader takes up that space when you add it. I would recommend moving where you store flash data to somewhere that is not affected by the bootloader instead though, maybe further "down" in the flash storage, so that the "top" of flash memory is kept for the bootloader.

    2. Can you explain how exactly you've added the bootloader? Are you adding a secure or an immutable bootloader to your application?

    Best regards,

    Simon

Children
Related