STM32f4xx read protection problem
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-07-08 1:17 AM
Posted on July 08, 2014 at 10:17
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?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-09-26 3:32 AM
Posted on September 26, 2014 at 12:32
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.