Using STLink Utility to protect bootloader
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-04-27 7:40 AM
Posted on April 27, 2018 at 16:40
Hi
I have been looking on the forum and web regarding flash memory protection,writing etc... I basically want to write a custom bootoader and have its memory , 1st page, write protected to prevent any overwriting. I see in the STLink Utility that I can set Level 1 option and select page 0 as write protect. Will this prevent any firmware in the rest of the flash from overwriting it?
After the above, to write to the rest of the flash memory, do I simply have to use the FLASH_PECR register to unlock and lock the memory (after I send FLASH_PEKEYR)? And the Level 1 page 0 will still be write protected?
Many Thanks
Scott
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
