cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F407G-DISC1 goes to unspecified

YAtia
Associate II

Hello, I have an STM32F407G-DISC1 and it has not been fun. when I try to plug it into my PC it always goes to Unspecified in Device and printers. i have tried this on 2 pcs ant the same thing happens. Thank you if you read this!

1 ACCEPTED SOLUTION

Accepted Solutions
Mon2
Senior III

Step 20 of your posted PDF document shows the STLink in same location :)

0690X000006DiAtQAK.png

View solution in original post

25 REPLIES 25
Piranha
Chief II

Install the driver:

https://www.st.com/en/development-tools/stsw-link009.html

After that also it is suggested to update ST-Link firmware:

https://www.st.com/en/development-tools/stsw-link007.html

Mon2
Senior III

What is the history of the USB cable? Was it supplied with the kit or sourced elsewhere?

Consider to source a quality USB cable that is as short as practical for your development but must be fully loaded. There are many USB cables that feature only Vbus & Ground (ie. missing the signal D+ / D-) that may raise the same fault.

Please post your update after testing.

Which end of the DISCO board are you trying to connect to PC?

JW

Mon2
Senior III

Very good call @Community member​, the MINI USB connector (larger one of the 2 on this kit) MUST be used to develop with the kit. Then you should see the enumeration of the ST-Link front end tool.

0690X000006Di7GQAS.png

I am using the mini usb port

YAtia
Associate II

I just bought a mini usb cable on ebay i dont know if it is missing anything do you have a link i can buy one?

This did not work thank you for contributing though!

YAtia
Associate II

I am using the mini usb port thank you for trying to help!

Mon2
Senior III

If you have a continuity meter handy, you can probe each pin of the cable. That is, insert the cable into the mini USB connector of the kit but do not mate with the PC. Then check the continuity of the free USB Type A connector to the kit. It is possible that you have only a "charging cable" - openly we wasted some time on this ourselves in the lab. Vendor must have saved pennies for this garbage cable.

Are you in the US or Canada?

If yes, we use Arrow all the time due to the FREE shipping on any purchase and next day delivery. Better than Amazon :)

Here are some that would work fine but do review the length of each:

https://www.arrow.com/en/products/88732-8510/molex

* USB 1.1 spec but is fully loaded with all 4 wires

* USB 2.0 is a better choice so you can use the same cable anywhere

  • 0.8 mm

https://www.arrow.com/en/products/ak672m-1/assmann-wsw-components-inc

  • 1 m length & USB 2.0 compliant

If in a pinch, you may be able to source one locally at the Dollar Store but could not guarantee the pinout. Walmart is another choice but will be more $$ than Arrow.

Before you proceed, do check the properties of the USB device inside of your Device Manager and share the details.

Control Panel -> Device Manager -> Select the Yellow Marked function -> Details -> Hardware IDs

What does that show? A proper USB widget must emit valid IDs and are listed here.

Hope this helps.