cancel
Showing results for 
Search instead for 
Did you mean: 

st-linkv2-1 problem (STM32F407G-DISC1)

split7fire
Associate
Posted on October 26, 2016 at 06:14

My board is STM32F407G-DISC1, revision MB997D. Cannot program stm32f407 through on-board st-linkv2-1. Story started when I discovered that board could't start without st-link being connected to PC. Searching this forum I found a solution - to update st-link firmware. So I updated st-link to version v2j28m16 (previous version was v2j28m14). After that update st-link start to behave strange:

1. While connected to USB 2.0 red/green LED blinks red, on computer side Linux dmesg command output may vary from ''change cable'' to ''cannot enumerate device''. Also stlink repeatedly change state of NRST and resets stm32f407 chip.

2. If connect to USB 3.0, red/green LED will constantly flash red and on some machines stlinkv2-1 will work as expected, while on other machines won't.

3. Also if I change usb cable to a thinner one (but 100% working) - st-linkv2-1 wont work at all.

P.S. every cable I'm working with is tested to be fine.

P.P.S I'm working mainly on Archlinux x86_64 fully updated, but this problem board was tested on Windows 7 x64 and Windows XP x86.

#stlinkv2-1 #stm32f407g-disc1
2 REPLIES 2
Walid FTITI_O
Senior II
Posted on October 26, 2016 at 10:25

Hi SplitFire, 

As indicated in the User manual, this board use the ST-Link/V2 (V2-A) to connect .

So try to re-download it from this

http://www.st.com/content/st_com/en/products/embedded-software/development-tool-software/stsw-link009.html

.

-Hannibal-

split7fire
Associate
Posted on October 28, 2016 at 05:41

Hi Hannibal,

As I posted earlier, updating drivers solely on Windows doesn't help. This problem seems related to USB 3.0/USB 2.0 protocol realization on stm32f103 (st-link v2-a). Any further suggestions?