- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Replace CyLoad.sys with the windows7 64-bit version of CyUSB.sys (i.e. rename it). If the inf file is right you should see the firmware download happen.
Windows 7 64-bit does not allow usage of unsigned driver. You might want to take a look at http://www.cypress.com/?id=4&rID=51049 as well before you work with the Win7 64-bit version of CyUSB.sys.
Regards,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CyLoad supports the Keil debugger. CyUSB does not. Is there no 64-bit CyLoad? Does that mean we cannot use a 64-bit machine to run the Keil debugger?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please look at page 19 of DvkUsersGuide.pdf available at C:\Cypress\USB\doc\General. The description says "The download device driver for Windows XP/2000. This is just the Cypress Generic USB Driver renamed. Cypress Generic USB Driver is CyUSB.sys.
I'm not sure what you mean when you say CyLoad.sys supports keil debugger.
Most probably your setup is set to download monitor (it is the firmware used to support keil debugger) once the device is plugged in.
Regards,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To make a x64 version of CyLoad (or gizmoload), should I follow the instructions on page 19 and just copy/rename the x64 version of CyUSB.sys?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yep. Be sure to use the driver from wlh folder since you are using Windows 7.
Regards,
Anand