My program in flash end at some point. From that endpoint on I'd like to fill up the whole flash with 0xff.
.equ FlashDictionaryEnde, 0x00100000
.equ numberofbytes , FlashDictionaryEnde-.
How can I achieve this?
Looks like you didn't get any solution.
Yes. It couldn't be that difficult to find the right assembler instructions. Maybe I'll have to figure it out myself...
Some programmers can be set to fill unused space.
Or you could post-process the Hex file...
@ellamacrow , I will wait your response. Thanks in advance
All well and good, what you are saying, but my original question was not whether it is a good idea or not to fill flash with data 0xff , but what the assembly language construct would be to achieve my goal (fill the flash with arbitrary data).
And I found the answer myself. Thank you.
View all questions in GNU Toolchain forum