Hi Anu,
You can configure NRF_DFU_APP_DATA_AREA_SIZE in the bootloader to match with the number of bytes you preserve for your application data ( It have to be page size aligned.)
Hi hung,
we will configure this size in boot loader,can you just please tell, how we will get this allocated address starting address
so that we can use it in our application?
can you please tell which API we have to use for getting this address which we have reserve using NRF_DFU_APP_DATA macro.
waiting for prompt response
Hi Anupam,
The start address (or actually the end address) of the fds module is by default located right before the bootloader.
Please have a look at this memory layout : https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.0/lib_bootloader.html?cp=7_1_3_5_0_7#lib_bootloader_memory
In fds, the calculation on where to put the end address is in flash_end_addr() function.
Hi Anupam,
The start address (or actually the end address) of the fds module is by default located right before the bootloader.
Please have a look at this memory layout : https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.0/lib_bootloader.html?cp=7_1_3_5_0_7#lib_bootloader_memory
In fds, the calculation on where to put the end address is in flash_end_addr() function.