2012-07-23 10:53 AM
I got 2 new STM32F4 Discovery boards and both are not being recognized by STLINK utility. Here some of the observations. I compared the behavior to STM32F1 discovery board. (It is Windows 7 PC).
1) Plug in STM32F1 board. I see a pop up window saying USB mass storage device found.Plug in STM32F4. No window pops up.2) In STLink Utility I press the connect button. STM32F1 board is found and I can download program to flash. With STM32F4 I get a error message saying ''No STlink device found''My board has Rev Z devices. I tried the patch that was released to support Rev Z device. That did not work either.If we forget about programming the target device, I am not sure if the basic USB connection to the STLink is working. Any way to test/confirm this.Thanks #stm32f4discovery-stm32f42012-07-23 12:07 PM
Do any of the LEDs illuminate? The STM32F4 has two USB connectors, only the Micro-B connects to ST-LINK and supplies power to the board.
2012-07-23 12:17 PM
Yes, I have used the Micor-B connector. The LED's are lit up and 4 leds surrounding the accelerometer are blinking. The default accelerometer program is working and changes the LEDS as I tilt the board.
If I disconnect the target from the STLink by opening the jumpers, there is no change. The STLink is still not found.2012-07-23 12:33 PM
Go to Device Manager and confirm it's found the USB Device
Universal Serial Bus Controllers STMicroelectronics STLink Dongle C:\Windows\system32\DRIVERS\WinUSB.sys 6.1.7601.17514 (win7sp1_rtm.101119-1850) Keil shows it as ST-Link deprecated. This is on a Win7 x64 system. Check you have suitable drivers installed.2012-07-23 2:06 PM
I think I got it working. Had to uninstall everything and re-install. Plus I think earlier I had STLink driver as opposed to STLink V2 driver.
Even with STLink V2 driver installed, the device manager was showing as unrecognized and had yellow icon showing driver issues. I had to chose the device and update driver in device mananger. It worked after that. I will have to check to see if Rev. Z issue will show up when I try to program the target.2012-07-23 5:17 PM
Micro? I don't think so. Mini USB is for supply & ST-Link, Micro USB for USB OTG & stuff.
2012-07-24 4:13 AM
Micro? I don't think so. Mini USB is for supply & ST-Link, Micro USB for USB OTG & stuff.
Sorry, you're right the Mini-B, not the Micro-AB2012-09-24 1:44 PM
I've run into the same problem. ''USB device not recognized'' when I connect STM32F4 (rev. Z) board to my comp (Win 7, 64-bit). I have installed ST-LINK V2 USB driver. I tried to reinstall it but it didn't help. Please, can someone give me some advice what to try?
Thanks2012-09-25 1:08 PM
Try it on a different PC.
Check that Win7 is set to accept unsigned drivers.2012-09-29 1:57 PM
Hey all. I had the same problem. Version ''Z'', not being recognized at all by stlink utility or coocox coIDE while my stm32vl worked fine. Tried a bunch of fancy stuff, thought maybe it was dead on arrival..
I ended up just going into device manager and clicking on ''update driver'' and selecting the automatic search option. Windows7, 64bit. I know it's really dumb, but this extremely simple solution is what worked for me. Now it downloads and debugs (using coocox coIDE with armgcc) reliably. Hope that helps somebody.We’re moving the ST Community to a new platform to give you a better and more reliable community experience.