2013-06-12 09:01 AM
After power supply failure the processor is locked for writing. I've tried many ways to solve this, but with no result.
Processor refuses programming. Every attempt to change ''Option bytes'' with st-link utility finishes with:15:29:23 : Could not set Option bytes! Please reset the target and retry.Processor communicate through JTAG, but it's impossible to change RDP in any way.I've tried:1. St-link utility (result above)2. openocd + ''stm32f2x unlock 0'' - no error message but proc is still locked3. openocd + mww, mdw commands with instructions from reference manual, but registry values aren't changed.Registry ''Flash option control register (FLASH_OPTCR)'' value is set to 0x0fffffec. What else can I do to unlock?2013-06-12 09:41 AM
What else can I do to unlock?
Starting into bootloader mode (with pulling BOOT0 up while) power-up, and trying a mass-erase or unlock with the Flash Loader Demonstrator software (from ST's website).