STM32F427 suddenly in Read Protected Secure Mode
Developing code / debugging 2 days ago and all was well.
This morning I attempted to flash the mcu (using ST-Link / V2) and it reported back that the Processor failed to halt.
Switched to my J-Link and it reported that the MCU was in an Active Read Protect mode.
Reading up on protection, it appears it may be in mode 2 where it it permanently locked.
If I'm reading the user manual properly, it says the protecting bytes are in the 0x1fff c00x region of memory.
I checked my MAP file and there are no operations in that memory range.
My past experience has been with Freescale/NXP MCUs (30 yrs) but I recently switched to the STM32F4 family. I will eventually implement code protection but not at this time.
I really puzzled as to why the MCU is now locked. I just lost a valuable prototype used for code development.
I would like to understand how this may have happened to make sure I guard against it in the future.
Thanks in advance for any help..
Joe