Hello,
This is an add-on question to the the one outlined in: devzone.nordicsemi.com/.../
That question states that:
The maximum SoftDevice size that can be updated is : (FLASH_SIZE - MBR_SIZE - 2BOOTLOADER_SIZE)/2 + MBR_SIZE. That is (numbers in kBs)
In my case I also have 2KB of pstorage that is maitained during OTA dfu.
Max_SD = (256-4-2-2(24))/2+4 = 105KB
In actuality my bootloader only needs ~20KB or space. I have allotted an additional 4KB of space and put the start address at 0x3A000 in order to give me upgrade flexibility for the bootloader. This gives me a maximum SD size of 105KB witch is 9KB more that the 8.0 release. Additionally it gives me and extra 4KB of flexibility for my bootloader.
We are getting ready to move into production and units will not be able to be re-flashed once they have been released. Hence the bootloader size and start address is very important. Any issues with this logic?
Lucas