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

Buttonless DFU Example Question

Curious as to why the Buttonless DFU Example in SDK 12.3 utilizes FStorage to save settings rather then simply setting a flag in the GPREGRET? This seems like a much more code efficient and lightweight method of flagging trigger sources going into the Bootloader. Just curious. The only thing that I can think of is that you want to show how fstorage works as it was only introduces in SDK10. Thanks guys

  • Hi Dave,

    our bootloader implementation was completely rewritten between SDK v11.0.0 and SDK v12.x.x and the experimental buttonless DFU example in SDK v12.x.x uses Fstorage since it allowed us to pass more information(bootloader settings) to the bootloader that would not fit in the GPREGRET register.

    However, in SDK v13.x.0 we have reverted to using the GPREGRET register to signal the bootloader, the same way as we did in the legacy bootloader from SDK v11.0.0.

    Best regards

    Bjørn

Related