
4 EZ-USB Development Kit User Guide, Doc. # 001-66390 Rev. *D
Contents
5.3 Function Hooks..........................................................................................................38
5.3.1 Task Dispatcher Functions.............................................................................38
5.3.1.1 TD_Init()...........................................................................................38
5.3.1.2 TD_Poll() .........................................................................................38
5.3.1.3 TD_Suspend() .................................................................................38
5.3.1.4 TD_Resume()..................................................................................38
5.3.2 Device Request Functions.............................................................................38
5.3.2.1 DR_GetDescriptor().........................................................................38
5.3.2.2 DR_GetInterface() ...........................................................................39
5.3.2.3 DR_SetInterface()............................................................................39
5.3.2.4 DR_GetConfiguration()....................................................................39
5.3.2.5 DR_SetConfiguration() ....................................................................39
5.3.2.6 DR_GetStatus()...............................................................................39
5.3.2.7 DR_ClearFeature()..........................................................................39
5.3.2.8 DR_SetFeature() .............................................................................39
5.3.2.9 DR_VendorCmnd()..........................................................................40
5.3.3 ISR Functions ................................................................................................40
5.3.3.1 ISR_Sudav()....................................................................................40
5.3.3.2 ISR_Sof().........................................................................................40
5.3.3.3 ISR_Ures().......................................................................................40
5.3.3.4 ISR_Susp()......................................................................................40
5.3.3.5 ISR_Highspeed().............................................................................40
5.4 EZ-USB Library .........................................................................................................41
5.4.1 Building the Library........................................................................................41
5.4.2 Library Functions ...........................................................................................41
5.4.2.1 EZUSB_Delay()...............................................................................41
5.4.2.2 EZUSB_Discon() .............................................................................41
5.4.2.3 EZUSB_GetStringDscr()..................................................................41
5.4.2.4 EZUSB_Susp()................................................................................42
5.4.2.5 EZUSB_Resume()...........................................................................42
5.4.2.6 I2C Routines....................................................................................42
6. Cypress USB Drivers for EZ-USB Kits 43
6.1 Cypress USB Signed Driver Package for EZ-USB Devices......................................43
6.2 Drivers for Firmware Examples and Default EZ-USB Configuration.........................44
6.2.1 Binding Cypress USB Driver to EZ-USB Development Board.......................45
6.3 Drivers for Firmware and Keil Monitor Automatic Download using Script Files.........47
6.3.1 How to Generate and Play Script Files (.spt).................................................47
6.3.1.1 Script File Generation using the Cyscript Tool ................................47
6.3.1.2 Script File Generation and Play using CyConsole...........................48
6.3.1.3 Script Generation and Play using CyControlCenter ........................49
6.3.2 Firmware Download using CyLoad Driver Package ......................................49
6.3.2.1 How to Test CyLoad Driver Package ..............................................52
6.3.3 Keil Debug Monitor Download using Script and CyMonfx1_fx2lp Driver Pack-
age53
6.4 SuiteUSB Driver Packages........................................................................................53
7. USB PC Host Utilities and SuiteUSB Applications 55
7.1 USB Applications in EZ-USB Development Kit ........................................................55
7.2 SuiteUSB Applications...............................................................................................55
7.2.1 Cyconsole Utility ............................................................................................56
7.2.2 CyControlCenter Utility ..................................................................................59