This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bulk transfer of Data via USB (Host side)

Hi everyone,

I am using a LM3S5951 controllers for one of my projects in which I need to implement a host side driver for Dot Matrix printer .

I am done with enumeration of the printer, but now I would like to know how can I send data to printers using bulk transfers. I am using the Stellaries USB Library for the same where I found some host side codes for keyboard and pendrive. I would like to know, how to go about this.

Regards

Dhanush

Parents
  • > But TIVA supports only low speed and full-speed devices .

    Surely USB host on Tiva TM4C123x supports just low-/full-speed.
    But TM4C129x does high-speed, too, with an external ULPI PHY chip.
    Unfortunately, TivaWare doesn't implement external PHY chip, yet.

    > I wish to interface a Laser printer (high USB speed device) to my ARM controller.

    You may consider on other MCUs.

    a) STM32F2/F4 with an external ULPI PHY chip
    The low-cost pair, STM32F4 Discovery board and "USB3300 USB HS Board", is handy to play high-speed USB.
    www.wvshare.com/.../USB3300-USB-HS-Board.htm

    ST's STM32_USB-Host-Device_Lib_V2.1.0 doesn't have printer host.
    But you may write it, based on Mass-Storage host example
    In this link, we discussed on modification for CDC/RNDIS host.
    Similar modification is applied to printer host.
    my.st.com/.../DispForm.aspx

    b) LPC18xx/LPC43xx (with on-chip high-speed PHY)
    - USB host library in LPCOpen supports printer host, but no example.
    You may write it fairly easily, based on HID keyboard host example.
    www.lpcware.com/.../lpcopen-software-development-platform-lpc18xx-packages-0

    c) Raspberry PI and BeagleBone Black
    Raspbian / Angstrom Linux supports printer host.

    Tsuneo

Reply
  • > But TIVA supports only low speed and full-speed devices .

    Surely USB host on Tiva TM4C123x supports just low-/full-speed.
    But TM4C129x does high-speed, too, with an external ULPI PHY chip.
    Unfortunately, TivaWare doesn't implement external PHY chip, yet.

    > I wish to interface a Laser printer (high USB speed device) to my ARM controller.

    You may consider on other MCUs.

    a) STM32F2/F4 with an external ULPI PHY chip
    The low-cost pair, STM32F4 Discovery board and "USB3300 USB HS Board", is handy to play high-speed USB.
    www.wvshare.com/.../USB3300-USB-HS-Board.htm

    ST's STM32_USB-Host-Device_Lib_V2.1.0 doesn't have printer host.
    But you may write it, based on Mass-Storage host example
    In this link, we discussed on modification for CDC/RNDIS host.
    Similar modification is applied to printer host.
    my.st.com/.../DispForm.aspx

    b) LPC18xx/LPC43xx (with on-chip high-speed PHY)
    - USB host library in LPCOpen supports printer host, but no example.
    You may write it fairly easily, based on HID keyboard host example.
    www.lpcware.com/.../lpcopen-software-development-platform-lpc18xx-packages-0

    c) Raspberry PI and BeagleBone Black
    Raspbian / Angstrom Linux supports printer host.

    Tsuneo

Children
No data