This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

FDS storage, bootloader and factory init

Hello,

I use, with success, the FDS library to save data to the flash memory. I also use, with success, the bootloader to update the application (original dual bank ble from SDK11).

Now I want to initialise the flash memory with a default value :

  • through Segger tools (no problem with them, I can also dump a correct value from a device to re-write it latter);
  • in the production line (not in the source code);
  • without problem with the bootloader (the flash pages used by the FDS must be kept between application updates and must keep the same addresses).

Someone know if it is possible and how to do it?

Thanks for your help!

Parents Reply
  • Hi Bjørn,

    Thank for your answer. I add CFLAGS += -DDFU_APP_DATA_RESERVED=0x3000 in the dual bank bootloader application and re-flash bootloader and application. After some struggling with the Makefile (and a missing 'make clean'...), the 3 flash pages reserved fore the FDS library are kept (addresses from 0x77000 to 0x79FFF) between each DFU process!

Children
No Data
Related