Set RDP LEVEL without st link utility?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-27 7:28 AM
Hello,
I would like to set the RDP LEVEL for my stm32l0 MCU without using ST link utility software,
to be more specific, how I can set the level in the firmware to be flashed in which area ? and is it possible to add a script to linker to set the RDP level without changing the code?
Please advice.
Thanks.
Solved! Go to Solution.
- Labels:
-
RDP
-
STM32L0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-27 8:23 AM
Your own code can write the options bytes any way it wants. You can have it self initiate a change based on desired vs current settings, or from your own user/command interface to your product..
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-27 8:23 AM
Your own code can write the options bytes any way it wants. You can have it self initiate a change based on desired vs current settings, or from your own user/command interface to your product..
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-27 8:42 AM
thanks @Community member​
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-30 1:14 AM
hello again,
Just following same context which is RDP, I was able to change the RDP for my MCU by Firmware, but the problem is I need to do the Power on cycle after flashing the FW so the Option bytes change, the NVIC_SystemReset() seems not working at all, my question is if my final device is battery based how I can do a POC to make sure the RDP level has been changed after first flash?
