This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM1808 USB configuration

Other Parts Discussed in Thread: AM1808

Hi,

 

We are using AM1808 based custom hardware and testing it for USB support. As far as USB is considered it is same as the AM1808 TI EVM. We will be using USB 1.1 in host mode where a USB thump drive will be connected and USB 2.0 interface in USB device mode which will communicate with PC over bulk end point, and uses proprietary communication over bulk end point.

From this point, I was trying USB 2.0 (which supports OTG) in Gadget mode and configured serial device and connected the board to PC. PC is not detecting it as serial port. I tried loading g_cdc.ko and also build g_serial.ko and tried loading it. It gives error - insmod: error inserting g_cdc.ko -1 no such device. Please let me know what could be the issue. Let me know the configuration for the serial port, I have tried serial as well Ethernet with CDC.

 

Also how do I configure the USB Gadget for bulk end point. Is there any sample code to do the data transfer between a PC and USB device? Would like to get sample code for both PC and the USB device side.

 

Regards,

Nandan