For my project I need to copy the application ROM image to an external memory. Then I need to know the end of the image. In the linker doc I find the value "Image$$ER_IROM1$$Limit" (I use a scatter file) that should be the first address after the load region. However there are 0x34 bytes more written to the flash, and also they are needed.
Does anyone know: How can I reference to find the end of these very last data? I tried "Image$$LR_IROM1$$Limit" (load region name), but that was not known by the linker. Is &Image$$ER_IROM1$$Limit + 0xd safe to use (i e can I trust there will always be 0x34 bytes and not more?)?
Regards
Jokke