AnsweredAssumed Answered

st-linkv2-1 problem (STM32F407G-DISC1)

Question asked by SplitFire on Oct 26, 2016
Latest reply on Oct 28, 2016 by SplitFire
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.

Outcomes