cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to change RDP level 2 back to level 1 or level 0?

KLiu.5
Associate

Hi,All.

​First of all, LET me tell you the background of the problem.

  1. I use STM32G0 series MCU.  
  2. The SWD port will be hardware connected to one of my wireless communication modules for OTA upgrade function.  Then I tried to use the read protection function at the same time, but I found that when the RDP level changed (from level 0 to Level 1), the RDP could only take effect after the power reset.  I have checked the document of RM0454 and mentioned that when SWD port is connected, it is necessary to replace system reset by power-on reset.  

Here comes the question:

1.Is there any way to write RDP level 1 without power reset operation? (SWD interface always hardware connected but no sigal communitication)  

2.Is it possible to restore it to level 0 or level 1 after RDP have been set to level 2?

Regards!

2 REPLIES 2
TDK
Guru
  1. No Not sure, an OB launch doesn't set it correctly?
  2. No (barring exotic solutions).

If you feel a post has answered your question, please click "Accept as Solution".

1.I tried calling OB_LAUCH after changing the RDP level in the program. But it didn't work. I still need to power on reset.