AnsweredAssumed Answered

USB CDC Virtaul COM between host and device failed

Question asked by Hui Shao on Oct 2, 2014
Latest reply on Oct 23, 2014 by soledad

Hi -

 

I have a USB host of k20d76m running MQX3.8 and a USB CDC device of k20d50m running MQX4.1. The USB CDC device has no problem talking to a host PC via hyper terminal but there is no communication happens when connecting to the host. That means, when host sends bytes to device, it reads nothing back from the  device. The enumeration is done successfully in this case. But data communication failed, anyone has insights or comments on it?

 

I traced into USB host source, noticed that when usb_class_cdc_in_data_callback() of usb_host_cdc.c is called, the status is 0x97 which means USBERR_TR_FAILED.

 

Thanks!

 

Hui

Outcomes