Skip to main content
PChoq.780
Associate II
March 24, 2023
Solved

Passwords for RDP1 and RDP2

  • March 24, 2023
  • 2 replies
  • 1740 views

Hi there. Before attempting any password locking on my STM32575, I read the password lock location and it returned all zeroes like so

Reading 32-bit memory content

 Size     : 4 Bytes

 Address:   : 0x40022020

0x40022020 : 00000000

After setting the PW, it now returns non zero like so

Reading 32-bit memory content

 Size     : 4 Bytes

 Address:   : 0x40022020

0x40022020 : 000C0000

I've tried disabling the PW, writing to all zeroes and writing it to all FFs, but I can't get back to the point where all zeroes are returned. Can you advise how to get to that state?

thanks in advance

Paul

This topic has been closed for replies.
Best answer by PChoq.780

Hello F Belaid

I did figure this issue out. I needed to reset both RDP1 and RDP2 passwords. Thanks for reaching out

2 replies

Technical Moderator
March 27, 2023

Hello @PChoq.780​ 

Do you mean STM32U575? If yes, how do you read the password lock location?

Note that:

  • OEM1KEY can always be modified when RDP = 0. It can be changed when RDP = 0.5 or 1 if OEM1LOCK = 0.
  • OEM2KEY can always be modified when RDP = 0 or 0.5. It can be changed when RDP = 1 if OEM2LOCK = 0.

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.Best regards,FBL
PChoq.780
PChoq.780AuthorBest answer
Associate II
March 27, 2023

Hello F Belaid

I did figure this issue out. I needed to reset both RDP1 and RDP2 passwords. Thanks for reaching out

Technical Moderator
March 27, 2023

Thank you for your feedback.

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.Best regards,FBL