2025-08-13 4:34 AM
Hello,
I'm not sure if I understand the RDP regression mechanism described on STM32U0 reference manual (RM0503 rev4) correctly. My general understanding is that it's possible to go from RDP2 => RDP1 => RDP0 if the OEM keys are set - if they are not set (all 0's or all 1's) the effect of RDP2 is the same as on devices without RDP regression feature, so the debug port is fully closed and can't be opened anymore.
My confusion comes from the following descriptions of the manual:
The DBG debug block diagram on page 1246:
To me it looks like the used terms are not detailled enough or mixed. And the statement from #2 above is outdated.
So, just to be sure that I understand it correctly: The part marked red corresponds to the CPU debug port from #1 & #3 and is disabled on RDP2, the green one is the debug interface from #4 above and still (always?) enabled, therefore it allows the regression by the OEM keys? Also, the green one is not available on devices without regression feature, right?
Would be nice if someone can confirm my interpretation of the manual. Additionally, I've the following questions:
Regards