2024-07-12 05:53 AM
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.
2024-07-12 06:29 AM
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.
2024-07-12 07:13 AM
Well, almost the same result, but for production I really want to be 100% sure that space is ready to write.