# STM32F3 Discovery kit unable to show usb device drivers

**URL:** <https://forum.digikey.com/t/stm32f3-discovery-kit-unable-to-show-usb-device-drivers/27452>\
**Category:** Development Boards, Kits, Programmers\
**Tags:** stmicroelectronics, evaluation-boards\
**Created:** [December 22, 2022, 12:49am UTC](https://forum.digikey.com/t/stm32f3-discovery-kit-unable-to-show-usb-device-drivers/27452 "2022-12-22T00:49:41Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![hong.chen](https://avatars.discourse-cdn.com/v4/letter/h/fbc32d/32.png) [@hong.chen](https://forum.digikey.com/u/hong.chen)\
**Post date:** [December 22, 2022, 12:49am UTC](https://forum.digikey.com/t/stm32f3-discovery-kit-unable-to-show-usb-device-drivers/27452/1 "2022-12-22T00:49:41Z")

</div>

Hello Tech Support.

I just ordered 40 units and used 1 usb min b to usb a cable connected to my windows 10 pc, and unable to see the usb ports? I also connected to ubuntu Linux, lsusb -t is not recognized. Please let me know what to do?

Thanks  
Hong

---

<div class="post-metadata">

**Author:** ![Nathan\_2268](https://sea2.discourse-cdn.com/digikey/user_avatar/forum.digikey.com/nathan_2268/32/1883_2.png) [@Nathan\_2268](https://forum.digikey.com/u/Nathan_2268)\
**Post date:** [December 22, 2022, 12:57am UTC](https://forum.digikey.com/t/stm32f3-discovery-kit-unable-to-show-usb-device-drivers/27452/2 "2022-12-22T00:57:52Z")

</div>

@hong.chen

I would recommend seeing if the drivers the manufacturer lists for that item would help.

> **[STSW-LINK009 - STMicroelectronics](https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-utilities/stsw-link009.html)**
>
> STSW-LINK009 - ST-LINK, ST-LINK/V2, ST-LINK/V2-1, STLINK-V3 USB driver signed for Windows7, Windows8, Windows10, STSW-LINK009, STMicroelectronics

---

<div class="post-metadata">

**Author:** ![hong.chen](https://avatars.discourse-cdn.com/v4/letter/h/fbc32d/32.png) [@hong.chen](https://forum.digikey.com/u/hong.chen)\
**Post date:** [December 22, 2022, 1:10am UTC](https://forum.digikey.com/t/stm32f3-discovery-kit-unable-to-show-usb-device-drivers/27452/3 "2022-12-22T01:10:51Z")

</div>

![image](https://global.discourse-cdn.com/digikey/original/3X/5/e/5eca2d5184ad29f89bbf498aa65e6921e5d5ab98.png) when I connected ST-LINK/V2

However, after removed ST-LINK/V2, and connected to STM32F3 Discovery device, show this error:  
 ![image](https://global.discourse-cdn.com/digikey/original/3X/4/1/4131c3fc1d7ad82a0895af6a7f47303ccbd3bc17.png)  
 ![image](https://global.discourse-cdn.com/digikey/original/3X/a/2/a26d924aef6b9258e03ae5aa066ac23360539a78.png)

---

<div class="post-metadata">

**Author:** ![hong.chen](https://avatars.discourse-cdn.com/v4/letter/h/fbc32d/32.png) [@hong.chen](https://forum.digikey.com/u/hong.chen)\
**Post date:** [December 22, 2022, 1:25am UTC](https://forum.digikey.com/t/stm32f3-discovery-kit-unable-to-show-usb-device-drivers/27452/4 "2022-12-22T01:25:45Z")

</div>

Is any driver installer to install this usb device driver? Can you send me the download link?

---

<div class="post-metadata">

**Author:** ![Verna\_1353](https://avatars.discourse-cdn.com/v4/letter/v/fbc32d/32.png) [@Verna\_1353](https://forum.digikey.com/u/Verna_1353)\
**Post date:** [December 22, 2022, 1:25am UTC](https://forum.digikey.com/t/stm32f3-discovery-kit-unable-to-show-usb-device-drivers/27452/5 "2022-12-22T01:25:52Z")

</div>

Hello Hong,

I am sorry about the issues you are having. I tried to find the issue. I got the e-mail. Though I think this will be better on the Forum as I have more people to look at it. I am sending an internal request on the Forum for someone to check this. I am sure it is a setting issue if all of them are not working. One of the Engineers will respond on the Forum.

---

<div class="post-metadata">

**Author:** ![RobertCNelson](https://sea2.discourse-cdn.com/digikey/user_avatar/forum.digikey.com/robertcnelson/32/12_2.png) [@RobertCNelson](https://forum.digikey.com/u/RobertCNelson)\
**Post date:** [December 22, 2022, 1:31am UTC](https://forum.digikey.com/t/stm32f3-discovery-kit-unable-to-show-usb-device-drivers/27452/6 "2022-12-22T01:31:20Z")

</div>

Hi @hong.chen 's @Nathan_2268’s post above ([STM32F3 Discovery kit unable to show usb device drivers - #2 by Nathan\_2268](https://forum.digikey.com/t/stm32f3-discovery-kit-unable-to-show-usb-device-drivers/27452/2)) is where you can obtain ST’s driver:

 ![STDRIVER](https://global.discourse-cdn.com/digikey/original/3X/5/c/5c1d3b7a9eedb53574bea13ef9e171f12d5f5984.png)

You have to create an account with ST to download the software driver, this is ST’s requirements on their website…

Regards,

---

<div class="post-metadata">

**Author:** ![RobertCNelson](https://sea2.discourse-cdn.com/digikey/user_avatar/forum.digikey.com/robertcnelson/32/12_2.png) [@RobertCNelson](https://forum.digikey.com/u/RobertCNelson)\
**Post date:** [December 22, 2022, 1:34am UTC](https://forum.digikey.com/t/stm32f3-discovery-kit-unable-to-show-usb-device-drivers/27452/7 "2022-12-22T01:34:14Z")

</div>

Is this the kit you ordered?

> **[STM32F3DISCOVERY | Digi-Key Electronics](https://www.digikey.com/en/products/detail/stmicroelectronics/STM32F3DISCOVERY/3522185)**
>
> Order today, ships today. STM32F3DISCOVERY – STM32F303VCT6 Discovery STM32F3 ARM® Cortex®-M4 MCU 32-Bit Embedded Evaluation Board from STMicroelectronics. Pricing and Availability on millions of electronic components from Digi-Key Electronics.

 ![usb](https://global.discourse-cdn.com/digikey/original/3X/c/c/ccf9f222a6268193119646ffb74bc17737e138b2.jpeg)

Which usb are you connecting A or B in this picture ^^^…

Regards,

---

<div class="post-metadata">

**Author:** ![hong.chen](https://avatars.discourse-cdn.com/v4/letter/h/fbc32d/32.png) [@hong.chen](https://forum.digikey.com/u/hong.chen)\
**Post date:** [December 22, 2022, 1:42am UTC](https://forum.digikey.com/t/stm32f3-discovery-kit-unable-to-show-usb-device-drivers/27452/8 "2022-12-22T01:42:49Z")

</div>

Thanks for your support. I ordered STM32F3DISCOVERY (DK32F303C$AX1), which connected USB min B port on “A” STM board to USB A port on my PC.

Is this driver [STSW-LINK009 - ST-LINK, ST-LINK/V2, ST-LINK/V2-1, STLINK-V3 USB driver signed for Windows7, Windows8, Windows10 - STMicroelectronics](https://www.st.com/en/development-tools/stsw-link009.html) supports STM32F303?

---

<div class="post-metadata">

**Author:** ![hong.chen](https://avatars.discourse-cdn.com/v4/letter/h/fbc32d/32.png) [@hong.chen](https://forum.digikey.com/u/hong.chen)\
**Post date:** [December 22, 2022, 2:01am UTC](https://forum.digikey.com/t/stm32f3-discovery-kit-unable-to-show-usb-device-drivers/27452/9 "2022-12-22T02:01:31Z")

</div>

I downloaded the driver installer and still face same error:

 ![image](https://global.discourse-cdn.com/digikey/original/3X/9/0/90f3aadc270ba20c46f48e187b14763db767b950.png)

---

<div class="post-metadata">

**Author:** ![hong.chen](https://avatars.discourse-cdn.com/v4/letter/h/fbc32d/32.png) [@hong.chen](https://forum.digikey.com/u/hong.chen)\
**Post date:** [December 22, 2022, 2:04am UTC](https://forum.digikey.com/t/stm32f3-discovery-kit-unable-to-show-usb-device-drivers/27452/10 "2022-12-22T02:04:50Z")

</div>

Please let me know if the usb 2.0 port and devices can be recognized in Ubuntu Linux or not, that means type lsusb -t is able to display port and device with “communications” class and CDC data ports or not, if not could you please let me know which one can support, I have to replace these 40 units asap.  
Thanks!  
Hong.

---

<div class="post-metadata">

**Author:** ![hong.chen](https://avatars.discourse-cdn.com/v4/letter/h/fbc32d/32.png) [@hong.chen](https://forum.digikey.com/u/hong.chen)\
**Post date:** [December 22, 2022, 2:34am UTC](https://forum.digikey.com/t/stm32f3-discovery-kit-unable-to-show-usb-device-drivers/27452/11 "2022-12-22T02:34:41Z")

</div>

Hi Robert,  
This is a very urgent issue, please let me know if it is not work I have to return, otherwise, I need to keep 40 and will order more. Thanks

---

<div class="post-metadata">

**Author:** ![RobertCNelson](https://sea2.discourse-cdn.com/digikey/user_avatar/forum.digikey.com/robertcnelson/32/12_2.png) [@RobertCNelson](https://forum.digikey.com/u/RobertCNelson)\
**Post date:** [December 22, 2022, 3:34pm UTC](https://forum.digikey.com/t/stm32f3-discovery-kit-unable-to-show-usb-device-drivers/27452/12 "2022-12-22T15:34:29Z")

</div>

> [@hong.chen](#):
>
> Thanks for your support. I ordered STM32F3DISCOVERY (DK32F303C$AX1), which connected USB min B port on “A” STM board to USB A port on my PC.

Hi @hong.chen Port A, is (USB-USER), this is the USB port you would use in your application design. There is no ‘fixed’ driver for it, as it’s up to you in the design of your software/etc to also create a matching driver for your application…

Port B (USB ST-Link) would use the standard USB drivers from ST to communicate with the on board ST-Link.

If you want an example to test USB A…

> **[STM32CubeF3 - STMicroelectronics](https://www.st.com/en/embedded-software/stm32cubef3.html)**
>
> STM32CubeF3 - STM32Cube MCU Package for STM32F3 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, Touch Sensing, Graphic - and examples running on ST boards), STM32CubeF3, Patch-CubeF3, STMicroelectronics

 ![STSW-STM32118](https://global.discourse-cdn.com/digikey/original/3X/6/f/6f3e45a0398ee6914070957277854016ffca87e5.png)

Then flash this example…

 ![USB-HID-Example](https://global.discourse-cdn.com/digikey/original/3X/5/5/555c6aa9f5bc3563fb2e9cd9d19a8c6a16acecfd.png)

Which should be a USB Hid example… (using windows built in usb hid (and linux’s) driver…)

Regards,

---

<div class="post-metadata">

**Author:** ![hong.chen](https://avatars.discourse-cdn.com/v4/letter/h/fbc32d/32.png) [@hong.chen](https://forum.digikey.com/u/hong.chen)\
**Post date:** [December 22, 2022, 4:30pm UTC](https://forum.digikey.com/t/stm32f3-discovery-kit-unable-to-show-usb-device-drivers/27452/13 "2022-12-22T16:30:13Z")

</div>

Thanks for your response. So I have to flash all of 40 units to be able to show usb ports on windows and Linux?

BTW, how to load this hex file into STM32F303Discovery board? Is any detail steps to follow?

Thanks  
Hong

---

<div class="post-metadata">

**Author:** ![Matt\_Mielke](https://sea2.discourse-cdn.com/digikey/user_avatar/forum.digikey.com/matt_mielke/32/71373_2.png) [@Matt\_Mielke](https://forum.digikey.com/u/Matt_Mielke)\
**Post date:** [December 22, 2022, 5:03pm UTC](https://forum.digikey.com/t/stm32f3-discovery-kit-unable-to-show-usb-device-drivers/27452/14 "2022-12-22T17:03:30Z")

</div>

> [@hong.chen](#):
>
> So I have to flash all of 40 units to be able to show usb ports on windows and Linux?

~~Yes.~~ See @RobertCNelson’s response.

> [@hong.chen](#):
>
> how to load this hex file into STM32F303Discovery board?

The STM32CubeProgrammer software is the recommended tool.

> **[STM32CubeProg - STMicroelectronics](https://www.st.com/en/development-tools/stm32cubeprog.html)**
>
> STM32CubeProg - STM32CubeProgrammer software for all STM32, STM32CubePrg-W32, STM32CubePrg-W64, STM32CubePrg-Lin, STM32CubePrg-Mac, STMicroelectronics

> [@hong.chen](#):
>
> Is any detail steps to follow?

You can’t get much more detailed than the [user manual (UM2237)](https://www.st.com/resource/en/user_manual/um2237-stm32cubeprogrammer-software-description-stmicroelectronics.pdf). The basic steps are:

1. Plug in the board (with USB ST-LINK)
2. Click **Connect**.
3. Open the .hex file.
4. Click **Download**.

---

<div class="post-metadata">

**Author:** ![RobertCNelson](https://sea2.discourse-cdn.com/digikey/user_avatar/forum.digikey.com/robertcnelson/32/12_2.png) [@RobertCNelson](https://forum.digikey.com/u/RobertCNelson)\
**Post date:** [December 22, 2022, 5:04pm UTC](https://forum.digikey.com/t/stm32f3-discovery-kit-unable-to-show-usb-device-drivers/27452/15 "2022-12-22T17:04:03Z")

</div>

> [@hong.chen](#):
>
> Thanks for your response. So I have to flash all of 40 units to be able to show usb ports on windows and Linux?

No, that is incorrect… Port B (labeled USB ST-Link) only needs the ST Drivers…

Port A (USB-USER) is for your application to use, by default it’s not used, till your application uses it.

ST’s flashing tool is here:

> **[STM32CubeProg - STMicroelectronics](https://www.st.com/en/development-tools/stm32cubeprog.html)**
>
> STM32CubeProg - STM32CubeProgrammer software for all STM32, STM32CubePrg-W32, STM32CubePrg-W64, STM32CubePrg-Lin, STM32CubePrg-Mac, STMicroelectronics

Just plug in the Port B (USB-Stlink), and use the tool ^…

Regards,

---

<div class="post-metadata">

**Author:** ![hong.chen](https://avatars.discourse-cdn.com/v4/letter/h/fbc32d/32.png) [@hong.chen](https://forum.digikey.com/u/hong.chen)\
**Post date:** [December 22, 2022, 7:11pm UTC](https://forum.digikey.com/t/stm32f3-discovery-kit-unable-to-show-usb-device-drivers/27452/16 "2022-12-22T19:11:11Z")

</div>

Thank you Robert for your support! I installed the STM tool and upload this hex file, and be able to see usb ports. I will test it.

---

<div class="post-metadata">

**Author:** ![anawilliam850](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@anawilliam850](https://forum.digikey.com/u/anawilliam850)\
**Post date:** [December 23, 2022, 6:49pm UTC](https://forum.digikey.com/t/stm32f3-discovery-kit-unable-to-show-usb-device-drivers/27452/17 "2022-12-23T18:49:47Z")

</div>

I was looking for a solution to the same problem, I am going to try all the recommendations that you have been given to solve mine

---

<div class="post-metadata">

**Author:** ![hong.chen](https://avatars.discourse-cdn.com/v4/letter/h/fbc32d/32.png) [@hong.chen](https://forum.digikey.com/u/hong.chen)\
**Post date:** [January 13, 2023, 2:31am UTC](https://forum.digikey.com/t/stm32f3-discovery-kit-unable-to-show-usb-device-drivers/27452/18 "2023-01-13T02:31:23Z")

</div>

Can we change SW only show 2 end points not 4?

```
       |__ Port 3: Dev 20, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 4: Dev 26, If 2, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 4: Dev 26, If 0, Class=Vendor Specific Class, Driver=, 12M
            |__ Port 4: Dev 26, If 3, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 4: Dev 26, If 1, Class=Mass Storage, Driver=usb-storage, 12M

```
