2016-10-25 09:14 PM
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-disc12016-10-26 01:25 AM
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 .-Hannibal-2016-10-27 08:41 PM
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?