STM32F429: The FLASH_OPTCR register has been set to 0xcfffaaed and nothing is working - how can the 0xc at the start be cleared to recover the board?
Hi All
I have been experimenting with setting flash sector write protection but found that when I did I could no longer program with the debugger. I managed to reset the options by writing the unlock sequence via the debugger (that can still connect) but after doing it a few times I made a typo and have now have the OPTCR register set to 0xcfffaaed (or 0xcfffaaec when I remove the lock). I can't get rid of the 0xc at the start (when I try the FLASH_SR bit 0x10 is set) and in this state nothing is working.
Can the board be recovered?
Thanks
Mark