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

Regarding application size for DFU

Hello,

This is in reference to the following:

devzone.nordicsemi.com/.../

The post talks about the maximum size of application that one can in order to be able to update it using OTA DFU with dual bank architecture. I have cut-n-pasted a small portion of the post below.

Non volatile-application data is data that you want to restore after resetting the nRF51, and is typically 3-5kB in size. The bootloader size in nRF51 SDK 7.2.0 is by default flashed to the last 16 flash pages (1 flash page is 1kB). The result is: S110 v7.1 flash: 88kB Bootloader SDK 7.2.0: 16kB Application data: 5kB (assumed) Remaining space for application: 256 - 88 - 16 - 5 = 147kB Maximum application size for dual bank DFU: 147 / 2 = 73kB

Here, what does application size of 73kB mean? Is it the firmware.bin file size or the firmware.hex file size? In our case, the firmware.bin file is of the size of 45kB, but the firmware.hex file is of the size of 125kB. I am assuming that we will be able to do OTA DFU using dual bank architecture, but I am not sure.

Can you please shed some light on this?

Regards, Sam

Parents Reply Children
Related