2026-01-29 1:36 AM
SOMETIMES (not always), when i try to debug (and only when i try to debug, run does its job well) with STM32CubeIDE my Riverdi board, i encounter the "Could not verify ST device! Please verify that the last version of the GDB-server is used for the connection" error. It happens right after
Loading RTOS driver... ThreadX
Connecting to GDB server 127.0.0.1 on port 61234 ... Connected
Listen for GDB connection on port: 60000 ... Connected
.if this helps.
Downloading code with run is always fine, and sometimes the debug option works, but not always. It is really annoying to rely on luck to make the *** thing work. I tried unplug-replug. The board is definitly not counterfeited, same goes for the ST-Link.
2026-01-29 1:47 AM - edited 2026-01-29 1:50 AM
Hello,
What STLINK device are you using? a genuine ST link? it could be a counterfeit ..
See How to recognize a genuine ST-LINK/V2 versus a cloned one
2026-01-29 2:11 AM - edited 2026-01-29 2:11 AM
It looks like a geniune ST-Link/V2
2026-01-29 2:14 AM
Similar: "Could not verify ST device" when Debugging with RTOS Proxy; OK without ?
2026-01-29 2:14 AM - edited 2026-01-29 2:22 AM
Could you please share real pictures of your ST-LINK?
2026-01-29 2:26 AM
2026-01-29 2:31 AM
It seems OK.
You need also to check the wiring/connections. Are they stable and well fixed? I mean the connection between ST-LINK and the board connectors..
2026-01-29 2:47 AM - edited 2026-01-29 3:05 AM
The ribbon cable doesn't seem damaged, the JST connector is properly connected, the ribbon cable is properly connected to the JST and the ST-Link connector (at least it seems so), and i use the same usb cable/port all the time with a Microchip debugging probe without encountering issue. Unless there is a specific pin i can further investigate on, i don't know where it fails. However wouldn't i encounter a "No target detected" error if this was the issue?