Hi,
Our product is using nRF52810, and we need DFU. But the size of application Bin is over 60kbyte(about 63k). When we use S112(100K), the bootloader is 32K, so we just have 60k to use.
Have any ways to reduce the size of bootloader?
Thanks!
Hi,
Our product is using nRF52810, and we need DFU. But the size of application Bin is over 60kbyte(about 63k). When we use S112(100K), the bootloader is 32K, so we just have 60k to use.
Have any ways to reduce the size of bootloader?
Thanks!
Hi,
Unfortunately, it is not plausible to reduce the size of the bootloader. Our developers have already spent quite some time on making this as small as possible. I would suggest you use another nRF52 chip with large memory or reduce the size of the app by removing some functions/features.
Regards,
Amanda
Thanks!
But why the size of application cant over 52k? When my application over 52k, DFU showing insufficient resources?
Hi,
The application data (NRF_DFU_APP_DATA_AREA_SIZE) will also use the space of the application. See Memory layout.
-Amanda
You are right!
I have found NRF_DFU_APP_DATA_AREA_SIZE in bootloader, could I set NRF_DFU_APP_DATA_AREA_SIZE to 0? In my application, I don not use FDS, but I don't know that nordic BLE SDK have used or not. My project was based on ble_app_uart_pca10040e.
The memory layout looks fine to me. Have you tried to see if you can debug the application or bootloader after completing the DFU? Maybe it is going in a reset/boot loop? Or is the device going back to DFU mode?
-Amanda