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.

BIOS USB 1.10.03 on LOGIC C6748 EVM to support custom class driver

Other Parts Discussed in Thread: TMS320C6748, OMAP-L138

Hi,

I am using Logic OMAP L-138 EVM with only TMS320C6748 DSP SOM and trying to transfer data from EVM to PC using USBBIOS 1.10.03.

I understand from the BIOSUSB 1.10.03 documentation that, the current USB stack supports 1.HID class and 2. Mass storage class drivers.

I am also successful in building the mass storage class Example project and run properly.

Now i'm interested to send continuosly a chunk of data from DSP (C 6748) to PC using USB interface. The data size will be from 100 to 500 KB.

Can this be achieved using the existing driver support and how?

If this cannot be done, i need to develop my own custom class driver?  Will the BIOSUSB support the necessary development in terms of tools and packages as it is based on Jungo USB stack? How to proceed in this? Please suggest.

thanks

Sram

  • I would suggest that you develop your own custom USB software. We have had problems with the Jungo stack when developing a custom driver and "as of this moment" TI are not directly supporting custom development on top of the Jungo stack here, but you may be able to get some support from your TI FAE, at least that is what I was told.

    The documentation for the USB HW is fairly good and the USB specs are available, and there are plenty of examples around for connecting/enumerating as a USB device, in linux and dare I say it other manufacturers and other TI parts. I would suggest that you look at the standard USB profiles and mimic one, this will mean you don't need to develop a device driver on your host  OS(Windows/Linux) of choice

    Peter

  • Thanks for the response.

    The problem in developing custom driver is that, we need to support the driver on both device and host.

    Are you suggesting to implement the entire USB stack on TI DSP? You have mentioned that, you had some problems in developing custom driver on the top of JUNOG stack!

    thanks

    Sram

     

  • Yes, I am suggesting developing a custom driver on the DSP ignoring the Jungo stack.

    To get support on the PC/host you must specify your custom driver as a standard usb interface such as the CDC ACM device type which is a virtual com port. There also exist virtual ethernet port interfaces and many others in the USB specification, that are commonly supported in Windows and other OSes. Using one of these interfaces will mean that you do not need to develop a drver for windows or any other OS where that standard interface s supported.

    Peter

  • Hi,

    The JUNGO USB stack contains a layered architecture with 1. USB host controller driver 2. Core driver and 3. Class driver.

    Now if we have to discard this stack and develop our own driver, do we need to follow the same layered architecture or we can do only the Class driver?

    Are there any references other than USB specs such as sample code etc which can be used as pointers to start the development.

    Typically how long it might take for this development work?

    Another question is that, does the BIOS USB contain any sample project for USB OTG functianlity? I want to use the USB MSD as OTG.

    thanks

    Seetaram

  • URGENT:'

    Hi,

    I have the similar task of sending data to external USB mass storage device though OMAP-L138 EVM kit. Could you please tell me where can I get these USBBIOS 1.10.03. package and documentation? Can ARM9 access these too?

    Regards,

    Pratap


  • Pratap,

    The BIOSUSB software is available at:

    http://software-dl.ti.com/dsps/dsps_public_sw/psp/BIOSUSB/01_10_03_01/index_FDS.html

    I think there are examples of using the DSP/OMAP as a peripheral connected to a mass storage device, using the Jungo driver. It isn't the simplest software to use, but the mass storage device type is at least supported by TI using this driver.

    Good luck,

    Peter

    Ps. If your needs change the company I work for sell a simple to use usb driver for sending data to and from the DSP/ARM using a standard serial port/COM port interface.


    Dr Peter Myerscough-Jackopson  -  Principal Engineer

    Tel: +44 (0)23 8076 7808 Fax: +44 (0)23 8076 0602
    Web: http://www.macltd.com/  Email: peter.myerscough-jackopson@macltd.com
    MULTIPLE ACCESS COMMUNICATIONS LIMITED is a company registered in
    England at Delta House, The University of Southampton Science Park,
    Southampton, SO16 7NS, United Kingdom with Company Number 1979185 and
    VAT Number GB 411942866

     

  • Hi,

    The PSP BIOSUSB/01_10_03_01seems to be meant for DSp/BIOS 5.x.

    Any way to use the above BIOSUSB package in with SYS/BIOS?

     

    Regards,

    Prat

     

  • Prat,

    I don't think the BIOSUSB is supported in SYS/BIOS, this was one of the initial reasons my company went with DSP/BIOS, but eventually we wrote our own driver (CDC-ACM/serial port), which we may use on either DSP/BIOS or when we need to in SYS/BIOS.

    Peter

  • Mr Peter,

    I agree with you. Please see here.http://software-dl.ti.com/dsps/dsps_public_sw/psp/BIOSPSP/index.html

    With warm regards,

    Prat