I am trying to use the CyLoad driver to automatically download a custom firmware to an FX2 based development board. I modified the cyload.inf file to closely match a working inf file (based on cyusb.inf) but when I associate it with my FX2 board, Windows states that the driver does not support this platform. I am using 64 bit Windows 7.
Is it possible that the CyLoad driver that is provided with the Cypress Development Kit does not support 64 bit Windows?
I have no problems using the CyUSB generic driver and manually downloading the firmware through CyConsole.
In case it helps, here is the contents of my cyload.inf file:
[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
provider=%CYUSB_Provider%
[SourceDisksNames]
1=%Cyload_INSTALL%,,,
[SourceDisksFiles]
CyLoad.sys = 1
%CyLoad.SCRIPTFILE% = 1
[DestinationDirs]
CyLoad.Files = 10,System32\Drivers
CyLoadFW.Files = 10,System32\CyLoad
[Manufacturer]
%CYUSB_Provider%=Device,NTamd64
[Device.NTamd64]
%DeviceDesc%=CyLoad, USB\VID_04B4&PID_8613
[CyLoad]
CopyFiles=CyLoadFW.Files
[CyLoad.HW]
AddReg=CyLoad.AddReg.Guid
[CyLoad.NT]
CopyFiles=CyLoad.Files
CopyFiles=CyLoadFW.Files
AddReg=CyLoad.AddReg
[CyLoad.NT.HW]
AddReg=CyLoad.AddReg.Guid
[CyLoad.NT.Services]
Addservice = CyLoad, 0x00000002, CyLoad.AddService
[CyLoad.AddService]
DisplayName = %CyLoad.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\CyLoad.sys
LoadOrderGroup = Base
[CyLoad.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,CyLoad.sys
[CyLoad.Files]
CyLoad.sys
[CyLoadFW.Files]
%CyLoad.SCRIPTFILE%
[CyLoad.AddReg.Guid]
HKR,,DriverGUID,,%CyLoad.GUID%
HKR,,DriverEXECSCRIPT,,%CyLoad.SCRIPTDIR%%CyLoad.SCRIPTFILE%
;------------------------------------------------------------;
[Strings]
CYUSB_Provider = "Robsonsoft"
CyLoad.SvcDesc = "Robsonsoft Device Download Driver"
CyLoad_INSTALL = "Robsonsoft Device Installation Disk"
DeviceDesc = "Cypress CyLoad Driver"
CyLoad.GUID = "{AE18AA60-7F6A-11d4-97DD-00010229B959}"
CyLoad.SCRIPTDIR = "\systemroot\system32\CyLoad\"
CyLoad.SCRIPTFILE = "CyLoad.spt"
Thanks,
Drew
|