******************************************************************************* ** Copyright © 2008, Xilinx, Inc. ** This design is confidential and proprietary of Xilinx, Inc. All Rights Reserved. ******************************************************************************* ** ____ ____ ** / /\/ / ** /___/ \ / Vendor: Xilinx ** \ \ \/ Version: 1.0 ** \ \ Filename: usb_printer_readme.txt ** / / ** /___/ /\ ** \ \ / \ ** \___\/\___\ ** **Device: **Purpose: **Reference: ** ******************************************************************************* ** ** Disclaimer: LIMITED WARRANTY AND DISCLAIMER. These designs are ** provided to you "as is." Xilinx and its licensors make and you ** receive no warranties or conditions, express, implied, ** statutory or otherwise, and Xilinx specifically disclaims any ** implied warranties of merchantability, noninfringement, or ** fitness for a particular purpose. Xilinx does not warrant that ** the functions contained in these designs will meet your ** requirements, or that the operation of these designs will be ** uninterrupted or error free, or that defects in the Designs ** will be corrected. Furthermore, Xilinx does not warrant or ** make any representations regarding use or the results of the ** use of the designs in terms of correctness, accuracy, ** reliability, or otherwise. ** ** LIMITATION OF LIABILITY. In no event will Xilinx or its ** licensors be liable for any loss of data, lost profits, cost ** or procurement of substitute goods or services, or for any ** special, incidental, consequential, or indirect damages ** arising from the use or operation of the designs or ** accompanying documentation, however caused and on any theory ** of liability. This limitation will apply even if Xilinx ** has been advised of the possibility of such damage. This ** limitation shall apply notwithstanding the failure of the ** essential purpose of any limited remedies herein. ** ******************************************************************************* Application: usb_printer ------------------------- The USB Host interface is used to communicate with a USB printer. Note: This application has only been tested with an Epson Stylus C60 series USB printer CONFIG Switch Settings: 00010101 1. Connect the Host PC to the ML506 (J1 header) using a PC-IV or Platform USB JTAG cable 2. Connect the Host PC serial port to the ML506 serial port using a null modem cable and launch a terminal program on the Host (eg. TeraTerm) with the settings: 9600 baud, 8-N-1, No flow control 3. Copy the file sw/standalone/usb_printer/bin/printer.bin to the root directory of a CF card 4. Insert the CF card into the ML506 and power-up the board 5. Open the ML506 EDK project (ml506_bsb_system.xmp) 6. Launch a Shell window using XPS menu selection: Project > Launch EDK Shell 7. Download bitstream in shell window by typing: impact -batch etc/download.cmd 8. XPS menu selection: Debug > Launch XMD 9. At XMD% prompt type: cd microblaze_0/code 8. At XMD% prompt type: rst 9. At XMD% prompt type: dow usb_printer.elf 10. At XMD% prompt type: con 11. "Hello World!" will be printed on the USB printer Note: This has only been tested on Epson Stylus C60 series printers Serial Port Output: ------------------- USB Printer Demo. Prints "Hello World!" to USB Printer. Make sure you have a CF card installed in the ML50x board with the file /sw/standalone/usb_printer/bin/printer.bin copied into the CF card root directory. Note: this program was tested only on Epson Stylus C60 Series printers. Loading executable file for USB controller chip. Mailbox: FED