cancel
Showing results for 
Search instead for 
Did you mean: 

Frequent ST-LINK/v2 Hang with Solid Green LED

Brian H
Senior

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.  

3 REPLIES 3
AWEI.2
ST Employee

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.

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...

Sco
ST Employee

When the "failure" happens, is it possible to recovery by enabling the NRST?