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

LPC2388 USB Host

How to interface USB printer to LPC2388

Parents
  • I am following below logic

    1. Sample code available for Mass storage USB Host is updated & used for interfacing with USB printer.
    2. Through that code data transmission over Control End point is done & Printer is enumerated properly
    3. when data(PCL commands) are sent over data end point. I am unable to communicate over printer.

    Following thing i have found through debuger

    For data transfer(Enumeration sequence) over control endpoint in HOST_TDControlStatus is 0x00

    but when i send data(PCL commands) through BulkEnd point, in HOST_TDControlStatus is 0x0F which corresponds to NOT Accseed as per Open Host Controller Document

Reply
  • I am following below logic

    1. Sample code available for Mass storage USB Host is updated & used for interfacing with USB printer.
    2. Through that code data transmission over Control End point is done & Printer is enumerated properly
    3. when data(PCL commands) are sent over data end point. I am unable to communicate over printer.

    Following thing i have found through debuger

    For data transfer(Enumeration sequence) over control endpoint in HOST_TDControlStatus is 0x00

    but when i send data(PCL commands) through BulkEnd point, in HOST_TDControlStatus is 0x0F which corresponds to NOT Accseed as per Open Host Controller Document

Children
No data