2025-12-08 2:50 AM - edited 2025-12-08 2:52 AM
Hi!
I'm having trouble connecting to an STLINK ISOL via STM32CubeProgrammer. The STLINK is authentic, I purchased it from digikey.
The programmer is detected under Device Manager. The programmer's LED remains static red at all times.
Sometimes STM32CubeProgrammer detects an STLINK device, but when I click connect it gives
10:40:01 : STM32CubeProgrammer API v2.21.0 | Windows-64Bits
10:40:09 : UR connection mode is defined with the HWrst reset mode
10:40:14 : ST-LINK error (DEV_USB_COMM_ERR)
10:40:14 : Error: Problem occured while trying to connect
Changing to software reset
10:41:23 : UR connection mode is defined with the SWrst reset mode
10:41:28 : ST-LINK error (DEV_USB_COMM_ERR)
10:41:28 : Error: Problem occured while trying to connect
And then, when I click refresh interfaces the STLINK interface disappears.
Disconnecting from USB and reconnecting, when I try to update firmware and open device in update mode it gives
Error connecting to device ST-LINK/V2 (error 0x21); check the USB connection and refresh the device list
The firmware version is: V2J29S7