STM32G0 Readout Protection questions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-21 1:18 PM
1. If in RDP Level 1, can the SRAM be read?
2. If starting in RDP Level 1 and transitioning to RDP Level 0, is the SRAM erased?
3. Can the contents of SRAM be readout after the transition from RDP Level 1 to RDP Level 0?
Thanks.
Solved! Go to Solution.
- Labels:
-
STM32 Security
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-21 1:45 PM - edited ‎2023-12-21 1:48 PM
1) No, RDP level 1 prevents SRAM from being read. From the reference manual:
2) Yes.
3) Yes, but they've been erased.
(Assuming you mean "read" as "read by the debugger" as the program itself can use SRAM just fine regardless of RDP level.)
Relevant reading material:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-21 1:45 PM - edited ‎2023-12-21 1:48 PM
1) No, RDP level 1 prevents SRAM from being read. From the reference manual:
2) Yes.
3) Yes, but they've been erased.
(Assuming you mean "read" as "read by the debugger" as the program itself can use SRAM just fine regardless of RDP level.)
Relevant reading material:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-22 6:25 AM
Thanks for the quick reply
