cancel
Showing results for 
Search instead for 
Did you mean: 

How can i use virtual com port in STM32F3 Discovery?

SoHaeng.Lee
Associate II
Posted on January 07, 2016 at 14:45

Hi

Today, i bought a new cortex-m4 based STM32F3 Discovery.

I was connect USB USER port to my notebook and i was waiting to recognize Virtual Com Port.

But, my notebook didn't recognize STM32F3 Discovery.

Fortunately, ST-Link port was connected, i was able to download to my STM32F3 Discovery.

So, i was install VCP-V1.4.0 and dpinst_amd64.com.

Nevertheless, my notebook didn't recognize Virtual Com Port.

Please, Help~!!

My system OS : Windows10

Target board : STM32F3 Discovery

4 REPLIES 4
Posted on January 07, 2016 at 15:11

The STM32F3-DISCO does not provide a VCP via the ST-LINK.

Only newer DISCO boards supporting mbed, and the NUCLEO boards, have the VCP functionality.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
SoHaeng.Lee
Associate II
Posted on January 07, 2016 at 15:56

thanks.

My purpose of using USB USER port is USART communication as Serial communication.

My STM32F3-Disco will calculate many floating point.

And i want to see the result on my notebook.

How can i see the result on my Notebook?

Posted on January 07, 2016 at 19:26

You'd have to code a USB VCP for the F3 itself.  Look at the USB FW library, or Cube to get that done.

Consider the NUCLEO F3 board.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Tobias Kruehn
Associate II
Posted on April 21, 2017 at 15:33

Hi,

if you are using STM32CubeMX, you need to enable USB and select 'Communication Device Class' under MiddleWares --> USB_DEVUCE --> Class For FS IP.

Also see

http://stackoverflow.com/questions/35218303/stm32f3-user-usb-not-detected

If using CubeMX and using the CDC stack, Windows should show you a Virtual Com Port (not ST-LInk) in your device manager.

Edit: Ups, just saw that this was an old entry. But maybe my answer helps someone else ...