2026-01-04 12:18 PM
Hello all,
I get an error starting a debug session from STM32CubeIDE (1.18.1) (STM32 Nucleo-F767ZI):
STMicroelectronics ST-LINK GDB server. Version 7.10.0
Copyright (c) 2025, STMicroelectronics. All rights reserved.
Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled
InitWhile : Enabled
Target USB comms error
Error in initializing ST-LINK device.
Reason: USB communication error. Please reconnect the ST-LINK USB cable and try again.
If I switch to SEGGER J-Link everythink works fine.
Is my debug configuration:
What I tried:
- Restart PC
- Reinstall the USB-Driver (https://www.st.com/en/development-tools/stsw-link009.html)
- Erased the flash with STM32CubeProgrammer
- Changes USB cable
- Googled for solutions
Please help
Best regards
Nikolai
2026-01-05 5:06 AM
2026-01-05 5:18 AM
I just ordered a new Nuceo-Dev-Board to exclude any hardware issues. Will take a week to arrive.