Skip to main content
Visitor II
May 23, 2026
Question

failed to start GDB server

  • May 23, 2026
  • 0 replies
  • 43 views

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:

  1. Correct jumper settings for STEVAL-SPIN3202 Rev 3.1

  2. Whether onboard ST-LINK firmware may be corrupted

  3. Possible hardware protection/reset issue

  4. Correct power supply requirements during flashing

Thank you.