STM32U5 Debug in RDP 0.5 With STM32CubeProgrammer
- January 31, 2023
- 2 replies
- 2755 views
Hello,
I am trying to start a debug session with STM32CubeIDE v1.11.2 on my board locked on RDP 0.5.
I loaded a valid secure firmware which jumps into the non-secure firmware before setting RDP 0.5.
I could connect STM32CubeProgrammmer and flash the non-secure flash memory with the non-secure firmware, that works fine.
Now I am trying to start to debug the non-secure application with STM32CubeIDE, but I got the following error when I start the debug:
Error message from debugger back end:
Error finishing flash operation
Failed to execute MI command:
load /home/ooueslati/STM32CubeIDE/workspace_1.11.2/som_u5_user_br/sample_app/Debug/sample_app.elf
Could you help me?
FWI, I set my ".gdbinit" file as follows:
-set remotetimeout 50
-set tcp connect-timeout 50
In my debug configuration>Debugger tab, I set "Reset type" = "None"
I joined here the .srec file of the non-secure application.
Thank you.
