EZ-USB Development Kit User Guide, Doc. # 001-66390 Rev. *D
65
8.
EZ-USB Development Kit Firmware Examples
This chapter explains in detail about firmware example and how to test each firmware example pro-
vided with the kit. The EZ-USB FX1 and FX2LP kits contain a common set of firmware examples to
demonstrate the EZ-USB (FX1 and FX2LP) capabilities along with the various components on-board
(seven-segment LED, push button, RAM memory, EEPROM, and so on). It also explains how to
debug a firmware example using the Keil uVision2 IDE.
lists the firmware examples pro-
vided with the kit, along with their brief description.
Note
All the above firmware examples, except hid_kb, use the common VID/PID, 0x04B4/0x1004.
The hid_kb project uses the VID/PID, 0x04B4/0x1005.
Table 8-1. List of Firmware Example in EZ-USB Development Kits (CY3674/CY3684)
S.No
Firmware Example
Description
1
hid_kb
Example firmware that emulates a HID-class keyboard using the buttons and
7-segment display on the DVK board
2
Bulkloop
Contains a bulk loopback test that exercises the EZ-USB bulk endpoints. It
loops back EP2OUT to EP6IN and EP4OUT to EP8IN.
3
Bulkext
Contains a bulk loopback test that exercises the EZ-USB bulk endpoints. The
loopback is performed using the external auto pointer. Data is copied from the
OUT endpoint buffer to external RAM and then to the IN endpoint buffer. It
loops back EP2OUT to EP6IN and EP4OUT to EP8IN
4
Bulksrc
Contains bulk endpoint endless source/sink firmware. It can be driven using
the CyConsole or CyBulk. EP2OUT always accepts a bulk OUT; EP4OUT
always accept a bulk OUT; EP6IN always returns a 512-byte packet, 64 bytes
at full-speed. Based on buffer availability in EP8IN, the most recent packet of
EP4OUT is written to EP8IN.
5
dev_io
Contains the source files to build simple development board I/O sample. This
software demonstrates how to use the buttons and LED on the EZ-USB
development kit.
6
EP_Interrupts
Bulk loopback firmware that demonstrates use of endpoint interrupts using
EZ-USB FX2LP.
7
extr_intr
Firmware that demonstrates external interrupt handling INT0, INT1, INT4,
INT5, and INT6.
8
Ibn
Contains firmware to perform bulk loopback of EP2OUT to EP6IN and
EP4OUT to EP8IN using the IBN (In Bulk Nak) interrupt to initiate the transfer.
9
LEDCycle
Simple firmware example to demonstrate use of the general-purpose indicator
LEDs (D2, D3, D4, and D5) on the DVK board.
10
Pingnak
Contains firmware to perform bulk loopback of EP2OUT to EP6IN and
EP4OUT to EP8IN using the PING NAK interrupt to initiate the transfer.
11
iMemtest
Memory test firmware example. Tests on-chip RAM.
12
vend_ax
Contains the source files to build a vendor-specific command sample. This
example demonstrates how to implement different vendor commands.
Summary of Contents for CY3674
Page 18: ...18 EZ USB Development Kit User Guide Doc 001 66390 Rev D Getting Started...
Page 34: ...34 EZ USB Development Kit User Guide Doc 001 66390 Rev D Development Kit Contents...
Page 54: ...54 EZ USB Development Kit User Guide Doc 001 66390 Rev D Cypress USB Drivers for EZ USB Kits...
Page 110: ...110 EZ USB Development Kit User Guide Doc 001 66390 Rev D Resources...
Page 113: ...EZ USB Development Kit User Guide Doc 001 66390 Rev D 113 A 2 Board Layout...