How to downgrade level 2 read out protection in stm32f7 board?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-12-16 3:14 AM
Hi everyone,
I was trying to protect my code by read out protection. But before uploading program, mistaken changed the read out protection to level 2 using of stm32 utility software. Now, I don't able to connect my board to st-link.
After search for this issue, i find that it is irreversible process means i can't program again.
Anyone has any idea?
Solved! Go to Solution.
- Labels:
-
RDP
-
STM32F7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-12-16 5:16 AM
Level 2 is indeed irreversible, and debug access is disabled. Hence,your board is now for the bin ...
Never, ever set the readout protection while developing. That's the very last step of pre-production test.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-12-16 3:55 AM
Not sure about the F7 and it's specific RDP levels. Some MCUs "allow" for an unrecoverable protection, check the datasheet/reference manuals.
So yes, you might have bricked your board.
The usual way is to boot into system mode (BOOT0/BOOT1 pins), and do a Flash mass erase.
The current tool of choice for the mass erase is AFAIK the CubeProgrammer, albeit I never used it personally.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-12-16 5:16 AM
Level 2 is indeed irreversible, and debug access is disabled. Hence,your board is now for the bin ...
Never, ever set the readout protection while developing. That's the very last step of pre-production test.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-12-17 8:51 PM
Thanks for the confirmation.
I broke my board:beaming_face_with_smiling_eyes: .
