cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4Disco + VCP + Windows10 issue: error code 10

mmed
Associate III

Hi all,

I want to handle STM32F407 Disco via VCP. In the first case, i tried to configure UART but when i connect my USB TTL converter to my PC: it informs me that VCP error ''This device cannot start(code 10)''.

I thought that the probem is related to my USB converter

Then i tried to configure CDC USB:

USB_OTG_FS on mode Device only

activate USB_Device middelware in CDC mode

0690X0000088qxcQAA.png

check the CubeMX file attached for more details

but the problem still exist!===> VCP error ''This device cannot start(code 10)''.

0690X0000088qxSQAQ.png

and here is the define in "usbd_desc.c" file

#define USBD_VID   1155

#define USBD_LANGID_STRING   1033

#define USBD_MANUFACTURER_STRING   "STMicroelectronics"

#define USBD_PID_FS   22336

#define USBD_PRODUCT_STRING_FS   "STM32 Virtual ComPort"

#define USBD_SERIALNUMBER_STRING_FS   "00000000001A"

#define USBD_CONFIGURATION_STRING_FS   "CDC Config"

#define USBD_INTERFACE_STRING_FS   "CDC Interface"

=====> Please how can i handle to fix this issue! if there is a wrong value generated by CubeMX! or a change that should i do in my environement (PID, VID....)

this is a real problem for me that block my project0

Please any solution or workaround for this

many thanks

3 REPLIES 3
Mon2
Senior III
mmed
Associate III

Hi,

thanks for your response .. but i dont think that it will fix it .. this driver is already installed in my pc but it didnt resolve VCP error code 10 in windows 10.

mmed
Associate III

Hi @Amel NASRI​ ,

Please did you have any suggestion or fix for this VCP error,

Thanks in advance