Skip to main content
Edwin kaus
Associate III
September 14, 2017
Question

USB virtual com device(STM32F765ZI Nucleo)

  • September 14, 2017
  • 9 replies
  • 1744 views
Posted on September 14, 2017 at 18:45

Hai.,

I am using STM32F767ZI NUCLEO board(144 pin), In this I need to use Full speed USB as Virtual com port device, I generated code using 

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-embedded-software/stm32cubef7.html

 programmed the board. If I connect USB to PC it is detecting as virtual com port device But its showing warning sysmbol, and also I can't able to send/receive data from PC. Is there any additional driver reuired in PC side. How to check data  transfer between PC and board.

Can you please sort out this problem as soon as possible??

Thank you.,.  

#stm32f765-nucleo #stme32-cube #usbvcom #stm32f765
This topic has been closed for replies.

9 replies

Torsten Jaekel
Associate III
September 14, 2017
Posted on September 14, 2017 at 22:39

You need a USB VCP (CDC) driver on Windows PC side. With Windows 10 - it comes with it (no need for a driver), for other Windows versions there is/was a STM VCP driver.

It looks to me, when you install the latest ST-LINK Utility or the STM SystemWorkbench (AC6) this driver might come with it.
Edwin kaus
Associate III
September 15, 2017
Posted on September 15, 2017 at 07:08

Hello

Jaekel.Torsten

Thank you for the reply.

Since I am using windows 10 , its not necessary of drivers in PC side as per your suggestion. To start with I need make simple echo device (device should receive data from PC and echo the same to PC), For this Do I need to make any changes to standard USB device VCOM example(which I generated through STM32 cueMX tool).

>> Usb device is detecting in PC as Virtual com port device , but It can't accessible through any application(like hyper terminal,tera terminal).

I have attached the screenshot of device manager, can you please look and sort out the issue.0690X00000608F8QAI.png

Cedric LECOUTRE
ST Employee
September 15, 2017
Posted on September 15, 2017 at 11:04

Hi

karthikshivanna.94

‌,

as shared by

Jaekel.Torsten

‌,on Windows 10, there is no need for a virtual com port driver to be installed. It is loaded by default when you plug-in a device.

But according to Microsoft documentation, you need to set class and subclass ID to 0x2 (see

https://msdn.microsoft.com/en-us/library/windows/hardware/dn707976(v=vs.85).aspx

.

This should be also fixed in some of our HAL/CubeMX examples.

Best regards,

Cedric