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.
Correct - some chips have 0x00 and some have 0xff as erased state. But a developer who thinks obviously makes the decision that filled reguions should use the same value as erased cells.