cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Debug or Connect STM32L562E-DK After Enabling Read Protection

Sankar_Eswaran
Associate III

Hi,
I am facing an issue with my STM32L562E-DK board. Initially, I was able to debug it using STM32CubeIDE. However, after attempting to configure the controller in UART boot mode, I accidentally enabled read protection (DC:LEVEL 1). Since then, I cannot debug the board or connect to it using STM32CubeProgrammer.

Whenever I try to connect the controller via STM32CubeProgrammer, it fails to establish a connection. I suspect something went wrong during the configuration.

I have attached an image below showing the error that occurs when I try to connect.   

Screenshot 2025-01-30 174748.png

How can I resolve this issue and regain access to my controller?

Edited by ST Moderator to correct the board name STM32L562E-DK (instead STM32L62E-DK)

1 REPLY 1
STea
ST Employee

Hello @Sankar_Eswaran ,

connect using the hotplug mode in CubeProgrammer .
Regards

In order 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.