Fill unused flash with predefined value

Hi,

I use uVision3 with the C166 compiler for an XC167 with external Flash.
My flash utility erases only the used sectors of the flash, but i want all the sectors to be erased. So I thought to fill the hex file with 0xFF.
Can anyone tell me how to do this.

Thanks.

Parents Reply Children
No data
More questions in this forum