Skip to main content
greg_t
Associate III
September 11, 2011
Question

Virtual COM Port Windows7

  • September 11, 2011
  • 5 replies
  • 1262 views
Posted on September 11, 2011 at 15:04

After I've installed the VCP driver and connected USB to the board I get an error in device manager:

''This device cannot start(code 10)''

but when using Windows XP no error occures ..

Any idea on how to fix it is welcomed

#code-10 #virtual-com #vcp-win7 #stm32f411
This topic has been closed for replies.

5 replies

greg_t
greg_tAuthor
Associate III
September 13, 2011
Posted on September 13, 2011 at 08:16

Found the problem, the VIRTUAL_COM_PORT_DATA_SIZE should be 64

and I've used 255 that works on XP but not on Win7

hawyin
Visitor II
November 17, 2011
Posted on November 17, 2011 at 09:51

Hi. How do you set the virtual com port data size???

greg_t
greg_tAuthor
Associate III
November 17, 2011
Posted on November 17, 2011 at 16:29

VIRTUAL_COM_PORT_DATA_SIZE defined in ''usb_desc.h''

nmadinger
Associate II
May 5, 2015
Posted on May 05, 2015 at 22:45

Hi,

I'm having a code 10 problem, but I am using the STM32F411 and I've used the cube to configure the virtual com port.  I cannot find the VIRTUAL_COM_PORT_SIZE macro anywhere.  How do I fix this?

Thanks!

Tesla DeLorean
Guru
May 6, 2015
Posted on May 06, 2015 at 02:49

This thread is from *2011*, neither the F411 nor Cube existed in that universe.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..