Skip to main content
Graduate
March 14, 2025
Question

DEV_CONNECT_ERR trying to connect to STLinkV3 on STM32H573I-DK

  • March 14, 2025
  • 1 reply
  • 405 views

I am getting the following error while trying to connect to the STM32H573I-DK:

12:09:44 : STM32CubeProgrammer API v2.19.0 | Linux-64Bits 
12:09:52 : UR connection mode is defined with the HWrst reset mode
12:09:52 : ST-LINK SN : 003900323532511631333430
12:09:52 : ST-LINK FW : V3J15M7
12:09:52 : Board : STM32H573I-DK
12:09:52 : Voltage : 3.27V
12:09:52 : Error: ST-LINK error (DEV_CONNECT_ERR)

If I set the Mode to Hot Plug in CubeProgrammer, I can seemingly connect and flash, but I am not getting serial out over USART1 anymore and I can not debug with CubeIDE. I have tried:

  • Different cables
  • Different host machines
  • Checking udev rules and if the device is detected properly at insert

The device was working for a colleague earlier this week and now is not functioning as expected on anyone's machine. Is there any way to restore ST-LINK functionality?

    This topic has been closed for replies.

    1 reply

    Super User
    March 14, 2025

    If you do a full chip erase, can you then connect normally again?

    Things that can disrupt SWD connection:

    • Doing FLASH erase/write operations.
    • Reassigning SWD pins.
    • Going into low power modes.