2026-05-23 12:49 AM - edited 2026-05-23 12:50 AM
Hello everyone,
I am facing a flashing/debugging issue with the STEVAL-SPIN3202 Rev 3.1 board.
Board:
STEVAL-SPIN3202 Rev 3.1
Software Used:
STM32CubeIDE
STM32CubeProgrammer
Problem:
While trying to flash or debug the board from STM32CubeIDE, I get the following error:
"Failed to start GDB server"
"Error in initializing ST-LINK device"
"Failed to connect to device"
Also, in STM32CubeProgrammer:
Read data operation fails
Target connection sometimes not detected
Additional Observations:
ST-LINK USB is detected intermittently
Board LED becomes dim/slow ON sometimes
Reinstalled STM32CubeIDE and drivers
Installed ST-LINK drivers
Tried different USB cables and USB ports
Tried lower SWD frequency
Tried Hot Plug mode
Tried BOOT0 method
Still unable to flash or read target
I would appreciate guidance on:
Correct jumper settings for STEVAL-SPIN3202 Rev 3.1
Whether onboard ST-LINK firmware may be corrupted
Possible hardware protection/reset issue
Correct power supply requirements during flashing
Thank you.