52
EZ-USB Development Kit User Guide, Doc. # 001-66390 Rev. *D
Cypress USB Drivers for EZ-USB Kits
;------------Modify these strings to match your device--------------------
-----------;
CyLoad_INSTALL = "Cypress USB Fwload Installation Disk(3.4.5.000)"
VID_04B4&PID_0084.DeviceDesc="Cypress EZ-USB Example Device Firmware Down-
load(3.4.5.000)"
CyLoad.SvcDesc = "Cypress EZ-USB Fwload(3.4.5.000)"
The important sections in this .INF file are
■
[SourceDisksFiles]
section contains the necessary source files to download the firmware -
cyusb.sys and CyLoad.spt
■
[DestinationDirs]
refer to Windows system folder where the source files are copied-cyusb.sys
copied to
C:\Windows\system32\Drivers and CyLoad.spt to C:\Win-
dows\system32\CyLoad
. For a Windows PC with multiple OS on different partitions the rele-
vant partition for active OS is used to copy the files.
■
The INF file is supported on different Windows OS platforms - 2000, XP, Vista and 7 using stan-
dard OS identifiers NT, NTx86 and NTamd64.
■
‘CopyFiles=CyLoadFW.Files’ refers to another section CyLoadFW.files, which is in turn are
defined as:
❐
[CyLoadFW.Files]
❐
CyLoad.spt
The script file is the actual file defined by this section to be copied into the destination directory
defined in the [DestinationDirs] section.
■
The Cypress generic USB driver (ver 3.4.5) is also copied in a similar manner to Windows OS
System folders defined under [DestinationDirs] section.
■
The VID/PID-0x04B4/0x0084, which is part of the .INF file is linked to Cyload.spt The windows
OS automatically triggers the script using the below statement
HKR, DriverEXECSCRIPT,,%CyLoad.EXECSCRIPT
■
The corresponding strings for VID/PID-0x04B4/0x0084 are defined at the bottom of the
CyLoad.INF file.
6.3.2.1
How to Test CyLoad Driver Package
To verify the script loading features, follow these steps:
1. The EZ-USB FX1 and FX2LP device enumerates by default with Fuse ROM VID/PID 0x04B4/
8613 and 0x04B4/0x6473 respectively. Follow the process explained in
Driver to EZ-USB Development Board on page 45
to bind the cyusbfx1_fx2lp.inf to EZ-USB
device.
2. After completing the binding process for default fuse ROM VID/PID switch SW2 should be used
to select the side marked as
EEPROM
and SW1 to the side marked as
SMALL
EEPROM
3. Open CyConsole from
Windows
start->All programs->Cypress->Cypress Suite USB 3.4.7
.
Select
Options->EZ-USB interface
from the menu. The EZ-USB interface windows pops up.
Click on
S EEPROM
button and browse to Cyload.iic located at
<Installed_directory>\<version>\CyLoad
.
4. The CyLoad.iic contains VID/PID-0x04B4/0x0084 matching the VID/PID mentioned in the
CyLoad.inf file
5. Press RESET button after programming the
CyLoad.iic
file. The EZ-USB development board
enumerates with the new VID/PID-0x04B4/0x0084
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...