2026-04-27 3:07 AM - last edited on 2026-04-27 3:12 AM by mƎALLEm
Hello,
I am working with an STM32 B-U585I development kit. The board has been previously used, and some protection-related configurations have been modified. I am now trying to perform new tests on the device, but I believe I am unable to bypass the current protection settings. I would appreciate your assistance on this matter.
A TFM application was previously installed on the board. When connecting via STM32CubeProgrammer, I observe the following:
I connect with the following configuration:
When opened, the ST-LINK is identified as:
I do have the required password to unlock RDP, and I am able to successfully unlock the RDP protection.
My development environment:
To verify firmware download capability, I created a new STM32 project and tested the IOT_HTTP_WebServer example. The project builds successfully. However, when I try to flash the device in debug mode, I encounter the following error:
“Launching IOT_HTTP_WebServer has encountered a problem
Error in final launch sequence:
Failed to execute MI command loadDetails:
Failed to execute MI command:
load ...IOT_HTTP_WebServer.elfError message from debugger back end:
Error finishing flash operation”
When I attempt the same operation with Boot0 = 1, I receive the error:
Could you please help me understand how I can successfully program this device again, considering the current protection settings?
Thank you in advance.
2026-04-30 9:01 AM
Hello @Fega ,
With RDP Level 1 you cannot connect the debugger. Flash is not accessible.
If you need to connect a debugger for testing you must stay in level 0.
Best regards
Jocelyn