2021-03-15 06:53 AM
In STM32F407 locked to RDP Level 1, with a battery on VBAT, I keep some (not critical) data in the RTC Backup Registers.
In an attempt to investigate an incident, I tried to read out content of these registers using SWD. While I was able to read RTC registers correctly, all RTC Backup Registers read as 0 (which, according to the behaviour of program, was not true). After changing RDP to Level 0, I was able to read the correct, unperturbed content of Backup Registers.
I could not find this behaviour to be documented in RM0090.
Can ST please comment?
Thanks,
JW
2021-03-16 08:38 AM
Hi @Community member ,
I need to check this & I'll come back to you.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2021-03-16 09:57 AM
Thanks, Amel.
Jan
2021-08-23 03:37 AM
Incidentally, I've looked at RM0091 (the 'F0 RM), and there Memory protection - Read protection subchapter states:
Level 1: read protection
Debug, boot RAM and boot loader modes: In debug mode (with SWD) or when code
is running from boot RAM or boot loader, the main Flash memory and the backup
registers (RTC_BKPxR in the RTC) are totally inaccessible.
Can please ST be consistent in describing the same feature in *all* RMs.
JW
@Amel NASRI