2024-11-12 03:20 PM
Just wondering if anyone else sees this on the regular.
I have a custom board with an STM32F107 MCU (but I see this across hardware projects with various ST MCUs).
I have the ST-LINK/v2 doing SWD to the MCU and it's connected to the host PC through a SABRENT-brand 10-port USB-3 hub.
Every so often, an attempt to start a debug session or program the MCU gets stuck with the ST-LINK's LED going to solid green. Only replugging the ST-LINK's USB connection gets it going again. Sometimes it happens several times in a row.
Have other people encountered this sort of behavior when using ST-LINK/v2 with a hub? Note that mainly due to cable lengths I haven't tried plugging it straight into the computer.
2024-11-12 11:09 PM
hi
for the stlink, suggest try to plug it directly into the computer to try it. may be for the not so good cable , the signals are reduced for recognize.
2024-11-13 07:21 AM
Yeah, I know that's the most-likely-by-far explanation...the way my workstation is set up means plugging straight into the computer is a challenge. I guess I was hoping for some other option! :) Maybe I can get a longer A-to-mini-B cable and try that...
2024-11-13 09:58 PM
When the "failure" happens, is it possible to recovery by enabling the NRST?