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.

usb2 driver c6747

Other Parts Discussed in Thread: OMAPL138

i have a problem

i want to transfer and receive data from pc to dsp (omap l137) by usb2.0

but i have a problem, what is the usb0 driver for this board in pc

i very search but i dont find any things

please help me

  • Hi Saeideh,

    When you say you connect the OMAPl137 to PC,

    what is the USb device type you configured for OMAPl138? i.e., whether the host see the OMAPL137 device as a mass storage device / serial device / bulk device?

    Depending on the type of the device it recognize, the PC app will be different.

     

    Regards,

    Shankari

     

     

  • hi dear shankari

    thanks for your reply

    i want to use pc in host mode and dsp (usb0) in peripheral (device mode).

    i want to transfer command from pc to usb (dsp)

    is it mass storage device!

  • Hi saeideh,

    If it is a mass storage device, usually any host PC like WIndows / Linux will have an in-built standard usb host driver to recognize the mass storage device(i.e., OMAPL137).

    Once you run the usb_dev_msc program on OMAPL137 board, it will act as a mass storage device. And, when you connect to the host PC, it will display it as a removable media. You can format with FAT filesystem and use it as a removable medium for transfering files to the ram disk of OMAPL137.

    Please refer the screen shot of OMAPL138 (configured as USB mass storage ),  hooked into the WIndows machine

    and recognized as a removable media.

    Once you format, you can transfer the files. But note, that the storage medium used is RAMdisk, so when you power off the board, you will loose the file/data. you can use the transferred file until you power off the board.

    Regards,

    Shankari

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    --------------------------------------------------------------------------------------------------------

  • dear shankari

    thanx

    iexam it but which program you say? is it the program in the biosusb package?

    if  a omap l137 act as serial device or bulk device, what should i do?

    thanx if  you reply immediately

  • Hi Saeideh,

    I am referring to the USB mass storage ( device side ) program which is part of the OMAPL138 Starterware to explain you the concept of the device ( OMAPL1x ) being the peripheral and PC as host.

    For OMAPL137, there is no sample program for USB.

    If it is configured as serial device, on the host PC, you will see a node "ttyUSB0". If it is a Windows PC, you can use teraterm to transfer files. If it is a linux machine, you can use minicom to transfer files.

    For USB bulk devices, the mass storage driver itself supports the Bulk only transport. By default, the mass storage driver will be available readily on Windows PC/Linux PC.

     

    Regards,

    Shankari

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------