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

DFU of App Data section

SDK14.0.0 nRF52832 s132

I would like to DFU the contents of the App Data section. In particular, I would like to erase the contents for a "factory reset" command.

I've tried creating a separate DFU package that just contains 0xff in addresses 0x74000..0x78000. However, there is no way to specify a "data" DFU package. If I create an application DFU package, then the entire application is erased, and the 0xffs that were intended for 0x74000 are written to 0x23000 instead.

One way I think will work is to increase the size of the application so that it includes addresses up to 0x78000. However, this method adds a lot of time to the DFU process. Is there another way?

Parents Reply Children
No Data
Related