This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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.

0