How to interface USB printer to LPC2388
Examine your printer, first. Most of recent low-cost printers are hard to run with MCUs. See this thread for the details. http://www.keil.com/forum/15962/
Tsuneo
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