cancel
Showing results for 
Search instead for 
Did you mean: 

Virtual COM Port Windows7

greg_t
Associate II
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
5 REPLIES 5
greg_t
Associate II
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
Associate
Posted on November 17, 2011 at 09:51

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

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

VIRTUAL_COM_PORT_DATA_SIZE defined in ''usb_desc.h''

nmadinger
Associate II
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!

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 Venmo
Up vote any posts that you find helpful, it shows what's working..