2025-07-16 9:47 PM - last edited on 2025-07-17 12:30 AM by Andrew Neil
Hi, I have an Error when using Debug in STM32cubeIDE.
ST-Link Server is running on port : 7184
ST-LINK SN : 410035000C000032484C4D4E
ST-LINK FW : V2J46S7
Board : --
Voltage : 3.24V
Error: Unable to get core ID
Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication
Encountered Error when opening C:\ST\STM32CubeIDE_1.19.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.2.200.202503041107\tools\bin\STM32_Programmer_CLI.exe
Error in STM32CubeProgrammer
Shutting down...
Exit.
The error says that Connection is not completed, But Window terminal I can see that PC recognizes ST link and MCU.
I did 1) hardware under reset (debug configuration)
2) check hardware connection if it is proper
3) update ST link firmware, driver version
But Still I have a same error and then I cannot debug using ST link... If you guys know solution Please help me.
2025-07-17 12:29 AM
Welcome to the forum.
Please see How to write your question to maximize your chances to find a solution for best results.
What board, and what ST-Link are you using?
How to recognize a genuine ST-LINK/V2 versus a cloned one
How to solve connection errors when connecting and programming the STM32 target board.
How to solve debugger connection issues