DEV_CONNECT_ERR trying to connect to STLinkV3 on STM32H573I-DK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-03-14 4:16 AM
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?
- Labels:
-
STM32H5 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-03-14 6:51 AM - edited 2025-03-14 6:52 AM
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.
