cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring built-in OpenOCD in STM32CubeIDE

chriskuku
Senior III
I'm trying to run a Debug launch configuration in STM32CubeIDE but I'm getting an error:

Console:
 

Open On-Chip Debugger 0.12.0+dev-00623-g0ba753ca7 (2025-04-30-14:20) [https://github.com/STMicroelectronics/OpenOCD]
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : STLINK V2J46S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 2.716832
Error: init mode failed (unable to connect to the target)



Error message of STM32CubeIDE (1.19.0)  popping up:


Error in final launch sequence:

Failed to execute MI command:
target extended-remote localhost:3333

Error message from debugger back end:
localhost:3333: Operation timed out.
Failed to execute MI command:
target extended-remote localhost:3333

Error message from debugger back end:
localhost:3333: Operation timed out.
localhost:3333: Operation timed out.


Any ideas what's going wrong?
 
--
Christoph
0 REPLIES 0