Skip to main content
Senior
February 22, 2023
Solved

Is it possible to log illegal access by the debugger in the state of RDP Level 1?

  • February 22, 2023
  • 4 replies
  • 1791 views

Hi, team.

Question about security of the MCU.

Is it possible to log illegal access by the debugger in the state of RDP Level 1? Any bits is a available for it?

This topic has been closed for replies.
Best answer by Bubbles

Hi @Kenji​,

no in general there is no such trace.

Since the debugger can be connected even when the MCU is under reset, it would have to be built inside the debug interface itself and there in no such provision.

If you are concerned with security, I recommend considering RDP2.

BR,

J

4 replies

Bubbles
BubblesBest answer
ST Employee
March 6, 2023

Hi @Kenji​,

no in general there is no such trace.

Since the debugger can be connected even when the MCU is under reset, it would have to be built inside the debug interface itself and there in no such provision.

If you are concerned with security, I recommend considering RDP2.

BR,

J

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.
Kenji1Author
Senior
March 7, 2023

Hi @JHOUD​ 

Thank you for your response.

WojtekP1
Associate II
March 7, 2023

I would not trust RDP at all until ST will clearly state that this problem is fixed in newer MCUs like STM32G

after reading this:

https://www.aisec.fraunhofer.de/en/FirmwareProtection.html

even amateur with little money can crack it

Kenji1Author
Senior
March 9, 2023

Hi @Community member​ 

Thank you for your valuable information.

I didn't know about this.

Since there is no other way at the moment, I will use RDP for now.

It's better to have it than not.

I expect ST engineers to improve it.