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

Access DFU settings page

Hi,

I'm currently working on a project including the buttonless DFU.

I would like to read the bootloader settings page from the application, especially the app version field. I know that these settings are stored at address 0x0007 F000 and I can of course just read them directly from there (the word at 0x0007 F008 should correspond to the app version).

But what if at some point this address changes or if the data structure is changed?

Should I manually define an APP_VERSION at the build stage that equals the DFU packet version given to nrfutil?

What is the recommended way of managing / retrieving the running app version? 

Details:

SoC: nRF52832

SDK: 15.2.0

SD: S132 v.6.1.0 

Regards,

William

Parents Reply Children
No Data
Related