Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Maximum possible application size for DFU on the nRF52810

Hi,

I'm trying to add the secure BLE bootloader(non debug, modified to run with S113, SDK 17.0.2) on a custom board with a nRF52810. I tried to DFU my main application(APP only, application uses S113) but I noticed that I got an insufficient resources error. My application size if around 45k. This post mentions that the maximum application size can be 60 kB and my app is well within that. 

Can you please provide the following details:

1. Maximum possible application size which can be used with the nRF52810

2. Maximum DFU app only package size(if it is significantly different from the 1st answer)

Also, does the bootloader program the new app directly to the Flash or is it first loaded in the RAM. Asking this because I'm curious if the RAM is the bottleneck here.

Thanks

Gowtham

Parents
  • Hi Gowtham,

    The BLE SDK examples only use FDS for storing bonding information in the peer manager. If you do not use bonding or pairin and thus do not use the peer manger, then there is no need to include FDS for the sake of any BLE functionality.

    (If you use one page for persistent storage using storage then you should make sure to use the page immediately below the bootloader for that, and set NRF_DFU_APP_DATA_AREA_SIZE in the bootloader's sdk_config.h accordingly to only reserve one page.)

    Br,

    Einar

Reply
  • Hi Gowtham,

    The BLE SDK examples only use FDS for storing bonding information in the peer manager. If you do not use bonding or pairin and thus do not use the peer manger, then there is no need to include FDS for the sake of any BLE functionality.

    (If you use one page for persistent storage using storage then you should make sure to use the page immediately below the bootloader for that, and set NRF_DFU_APP_DATA_AREA_SIZE in the bootloader's sdk_config.h accordingly to only reserve one page.)

    Br,

    Einar

Children
No Data
Related