cancel
Showing results for 
Search instead for 
Did you mean: 

L4+ detect ff ecc already set

_EFrie
Associate III

Is there any known way to detect if a double word 0xffffffff value has been programmed? I’m not seeing any quick way, other than finding out after getting flash error bits set.

 

The bootloader I’m working with checks the sector for all 0xff to avoid erasing time, but with ecc that doesn’t tell if it has ecc flash programmed or not.

2 REPLIES 2
TDK
Guru

No, there's not.

You could change the writing portion of the bootloader to skip double words if they're 0xFF. Achieves the same result.

If you feel a post has answered your question, please click "Accept as Solution".
_EFrie
Associate III

Well, almost the same result, but for production I really want to be 100% sure that space is ready to write.