fill flash with data

My program in flash end at some point. From that endpoint on I'd like to fill up the whole flash with 0xff.

Something like

.equ FlashDictionaryEnde,   0x00100000

.equ numberofbytes , FlashDictionaryEnde-.
.space numberofbytes,0xff

doesn't work.

How can I achieve this?

Parents Reply Children