Dear all,
We are working on to write a CDC-ACM (HOST) class Driver in starter ware by taking usb MSC and HID Class a skeleton for the Development.We are succeeded up to the enumeration by calling USBHCDMain() function repeatedly.We are Facing some problems in Data Handling Stage.
For Initial development i have taken a Profilic BAFO, it is a USB-Serial Converter(VENDOR SPECIFIC CLASS) and registers the driver as a VENDOR_SPECIFIC and seems works fine up to the enumeration.In the Data Handling stage registers the call back functions to handle the data and notified to the application. i am Trying to loop back the data which are coming from the PC which is connected to the EVM USB(host) by using null modem cable.
we can add some structures,which are specific to CDC-ACM Class and handle the Enumeration.
we are facing some problems during the testing and development.
1.How can i set the baud rate for the Device?
2.As a host it has to handle the data at a specified rate,How can i achieve the task in the starter ware?
3.we are giving call back to the IN End point,but it is not notified to the call back when the data is available?
4.How can i send the IN tokens for the data to the Device?
Thanks & Regards
Rama Krishna