2023-08-09 09:55 AM
ST Link not recognizing STM Cube Programmer? - From screenshot you can see pulls up single character serial number and has no target information. I can (and did) upgrade firmware to latest on ST Link. Downloaded all drivers etc. Still won't connect. Keep getting "UR connection mode is defined with the HWrst reset mode" log entry.
2023-08-09 09:58 AM
Tried changing "Shared" to enabled. The single character serial number disappears and is replaced with "No ST-LINK Detected." Tried changing "Reset Mode" to "hardware Reset"- nothing
2023-08-09 12:19 PM
Serial Number suggests you have a fake / counterfeit device, ST is not supporting them.
2023-08-09 12:34 PM
I'm using this at work. Use on multiple other machines with same software and works fine. Not counterfeit - sourced from DigiKey electronics
2023-08-09 01:08 PM
Or a third party on their store, would suggest you pull your invoice and start an RMA.
Single character serial numbers are highly suggestive of counterfeit ST-LINK's. You have a picture of the back label on the device?
2023-08-11 07:25 AM
The forum moderator had marked your post as needing a little more investigation and direct support. An online support case has been created on your behalf, please stand by for just a moment and you will hear from us.
Regards,
Billy
2023-11-13 03:09 AM
Hi
I am having the same problem,
I have around 40 different STM32 chips for my projects, but I am disappointed that programing it using stm32Cuteprogrammer is not working.
Even though the st-link works well with your previous version of programmer ( STM32 ST-LINK UTILITY Application)
But STM32 ST-LINK UTILITY does not have code protection feature and other features which made me prefer stm32Cuteprogrammer,
please kindly resolve
2023-11-13 04:30 AM
@Nedu Same problem = single character serial number? Counterfeit ST-LINK?
2023-12-02 11:47 AM
I have the same problem, my fake STLink V2 has only the ! character as a serial number. I think STM32CubeProgrammer will not work with a device without a reasonable serial number BUT the STLink Utility does; you can download it here: https://www.st.com/en/development-tools/stsw-link004.html it's not as capable as STM32CubeProgrammer but is OK for uploading/downlaoding firmware. Also as others have pointed out if the SHARED option is enabled in STM32CubeProgrammer and the REFRESH button clicked a serial number then appears and the fake device will then work with STM32CubeProgrammer, but only after upgrading the fake device firmware using STLink Utility - note any message about the device not being in DFU (Device Firmware Upgrade) mode just unplug from the USB socket and replug.
2023-12-03 04:50 AM
Further to my last post I can confirm that fake ST-Link V2 devices can also be detected and work with CubeIDE if the Shared ST-Link box, hidden away at the bottom of the Debug Configuration, is ticked. My fake device has a Geehy MCU, not CKS or STM, but it does accept genuine STM firmware upgrades although it still displays the single ! character serial number - so maybe it's a hardware design issue - I don't know?