cancel
Showing results for 
Search instead for 
Did you mean: 

USB CDC Class Doesn't work

YKs
Associate

0693W000003BlByQAK.bmp0693W000003BlCNQA0.bmp0693W000003BlCXQA0.bmpI Developed a hardware USB HS Application with STM32H750+USB3300​, and just run the softerware generated by CubeMX. I make sure that the device is enumed successful by capturing the packets with wireshark. but it still show me an fail icon(an yellow exclamation mark) and report an error of error code=10, complete device status reported is

"

This device cannot start. (Code 10)

{Operation Failed}

The requested operation was unsuccessful.

"

I noticed that the Windows 10 device event is:

"

Device USB\VID_0483&PID_5740\3262384E3038 was not migrated due to partial or ambiguous match.

Last Device Instance Id: USB\VID_248A&PID_5320\6&23cf92b8&0&2

Class Guid: {36fc9e60-c465-11cf-8056-444553540000}

Location Path: PCIROOT(0)#PCI(1400)#USBROOT(0)#USB(1)#USB(2)

Migration Rank: 0xF000FFFFFFFF0133

Present: false

Status: 0xC0000719

"

How can I solve this problem, anyone who have the same ​experience can help with this trouble, thanks, please!

​>

>

>

>

I use a softerware named “UsbTreeView�? checke it, and It tell me like this:

----------------- Device Qualifier Descriptor -----------------

Error : ERROR_GEN_FAILURE

-------------------- String Descriptors -------------------

String descriptors are not available (because the device has problem code CM_PROB_FAILED_START)

2 REPLIES 2
Pavel A.
Evangelist III

> This device cannot start. (Code 10)

Ok, enumeration indeed was successful. Then the device acted unexpectedly.

> Device USB\VID_0483&PID_5740\3262384E3038 was not migrated due to partial or ambiguous match.

Ignore this, not relevant .

It's the time to debug your creation. Wireshark is your friend.

-- pa

CMOU.1
Associate

Making your firmware to be enumerated as a WINUSB (winusb generic driver) device makes life easier.

I believe it'd be clear if you have a demo and code so I made one for you :)

My KEIL project using the STM32F4 Discovery board working with WINUSB as an USB CDC device. You can see more information and have the source code from my GitHub.