Hi Everyone,
Hope you all are doing well.
I'm using nrfConnect sdk v1.7.0 and vscode for development.
controller : nrf52833
Here I tried to build image with bluetooth dfu support for nrf52833 chipset. these are my code size details.
Memory region
Used Size Region Size %age Used
FLASH : 230536 B 237056 B 97.25%
SRAM : 36908 B 128 KB 28.16%
IDT_LIST: 0 GB 2 KB 0.00%
I was able upload new image in nrfconnect manager application.
But,
while booting I got following response.
*** Booting Zephyr OS build v2.6.99-ncs1 *** I: Starting bootloader I: Primary image: magic=good, swap_type=0x2, copy_done=0x1, image_ok=0x1 I: Secondary image: magic=good, swap_type=0x2, copy_done=0x3, image_ok=0x3 I: Boot source: none I: Swap type: test W: Not enough free space to run swap upgrade I: Bootloader chainload address offset: 0xc000 I: Jumping to the first image slot
Now, my image exactly fits into the flash size available with dfu support, how much memory is required to run swap upgrade?
And again why it consumes too much flash for bluetooth dfu support, is there any minimal version available?