Hello,
i'm new to gcc and sam programming, so please excuse me if my question is quite obvious for you.
I want to fill my flash memory with a predefined pattern, and place in the last 4 bytes a crc32. Can I solve this problem with the flash.ld linker script ?
Regarding the first part (fill unused memory) I have read the documentation and some example but I can not understand why my script do not work. Here is my script:

I have defined a .fill section with the FILL command and I expect that this command fill all rom memory with the predefined pattern.
But what realy happen is that the flash memory is filled but a data memory overflow is generated! I can not understand the reason.
With this script I have the following warning: