2014-07-08 01:17 AM
Hi,
I am trying to configure STM32F427 option byte to enable read out protection. I can configure it via ST-Link Utility; first I download my actual code that will run on microcontroller then I enable the read out protection via ST-Link Utlity. When I do this, protection is enabled but the code on microcontroller does not work anymore. Am I doing someting wrong here, what is your opinion?2014-09-26 03:32 AM
Ran into the very same problem recently with an STM32F303.
Its reference manual mentions:
''
If the read protection is set while the debugger is still connected through JTAG/SWD, apply a POR (power-on reset) instead of a system reset.
''The solution is therefore to turn off the power to the STM32, and then turn it back on. Your firmware will then run just as well as before.