I want to use FDS in my application. Lets assume I do not have a bootloader. This is part of my linker script describing memory regions.
MEMORY
{
FLASH (rx) : ORIGIN = 0x1f000, LENGTH = 0x61000
RAM (rwx) : ORIGIN = 0x200024b0, LENGTH = 0xdb50
}
I defined 4 pages for FDS. I want to know if application code will overwrite my fds pages when reflashing assuming application will be bigger than 0x5d000. If so shouldn't FLASH region be 0x5d00 ? And another way: will fds overwrite my application code?
I saw that in ble_app_hrs_c application linker script looks like above but there are 3 pages for FDS. Isn't that a bug ? Or maybe there is protection mechanism