1-3URI_de5

所属分类:嵌入式Linux
开发工具:Unix_Linux
文件大小:33KB
下载次数:7
上传日期:2012-01-14 06:41:16
上 传 者asciilifeform
说明:  Cypress SDK Example Source

文件列表:
de5\.dbgrc (504, 2003-02-24)
de5\.dvk_project (10, 2003-06-23)
de5\.gdbinit (134, 2003-01-16)
de5\app.c (5981, 2003-07-15)
de5\app.h (1572, 2003-06-23)
de5\clean (72, 2003-04-22)
de5\de5.ld (6932, 2003-06-23)
de5\drvrlist.h (1880, 2003-06-23)
de5\fwxcfg.h (7125, 2003-06-23)
de5\makefile (4388, 2003-07-29)
de5\prnclass.c (15962, 2003-06-23)
de5\prnclass.h (2297, 2003-06-23)
de5\sandbox.pj (108, 2003-06-23)
de5\sandbox.use (874, 2003-07-29)
de5\sie1.c (8825, 2003-06-23)
de5\sie1.h (2132, 2003-06-23)
de5\testpage.c (7885, 2003-06-23)
de5\testpage.h (1571, 2003-06-23)
de5\tp14.pcl (1028, 2003-06-23)
de5\wrap (949, 2003-07-09)
de5\drivers (0, 2003-10-23)
de5\drivers\cyusbgen.sys (14356, 2002-11-26)
de5\drivers\cy_dev.inf (2246, 2002-11-29)
de5 (0, 2003-08-20)

README.TXT for Design Example 5 (de5) de5 is designed to illustrate using SIE1 as a USB host to enumerate a USB device. Then, data is received over the HSS port and sent over USB to the connected USB device. The default configuration is to enumerate printer class compliant devices and send any data received over the HSS to the attached printer. The de5 application contains a printer class driver. There is a test image built into the de5 application that can be printed by pressing the center button (marked ENTER) on the development board. You can reduce the footprint of de5 by doing one or more of the following: Remove testpage.c, testpage.h, all references to them, and remove all references to the testpage data; Turn off (in fwxcfg.h) support for SSD. Turn off support for button presses. de5 is designed to run on an EZ-Host or EZ-OTG development board in standalone mode (NOT attached to the StrongARM single board computer (SBC)). Build the de5 application by running $ make or $ make wrap The first command builds the binary executable. The output file name is de5.bin The second command builds the binary executable and then wraps it in the appropriate scan headers to prepare it to be executed from an I2C part. The output file name is de5_scan.bin. The orig_bin subdirectory in the zip archive contains a tested image. Once de5_scan.bin is built, you can download it to an EZ-Host or EZ-OTG development board using the following procedure: 1. Turn off all dip switches on the development board. 2. Connect the EZ-Host or EZ-OTG development board to a host PC using a standard USB cable connected to SIE2 (marked Peripheral 2A). If you have not installed the DVK, the host may need to install a driver. When prompted for the driver, browse to the drivers subdirectory (in the zip archive). 3. Reset the development board by pressing button RESET. 4. In a bash shell or DOS box on the host PC, run the following command: $ qtui2c de5_scan.bin -f 5. Wait until the prompt returns 6. Disconnect the USB cable. 7. Press the RESET button on the development board. You should see the seven segment display (SSD) reset to zero. Connect a printer class compliant printer to the development board using a standard USB cable. The A connector should be connected to SIE1 (HOST-1A). To print a test page, press the center button (ENTER) on the development board. You should see the SSD incremented upon completion of each test page that is printed.

近期下载者

相关文件


收藏者