Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > CyLoad driver on Windows x64

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



CyLoad driver on Windows x64
Moderator:
RSKV

Post Reply
Follow this topic



CyLoad driver on Windows x64

drobson posted on 10 May 2011 7:26 PM PST

1 Forum Post

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




Re: CyLoad driver on Windows x64

aasi posted on 10 May 2011 07:42 PM PST
Cypress Employee
1090 Forum Posts

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



Re: CyLoad driver on Windows x64

dctsjim posted on 13 Jun 2011 02:58 PM PST
Member
3 Forum Posts

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?



Re: CyLoad driver on Windows x64

aasi posted on 13 Jun 2011 07:39 PM PST
Cypress Employee
1090 Forum Posts

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



Re: CyLoad driver on Windows x64

dctsjim posted on 14 Jun 2011 09:47 AM PST
Member
3 Forum Posts

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?

 I.e. will the modified CyLoad.INF file work with Windows 7?


Re: CyLoad driver on Windows x64

aasi posted on 14 Jun 2011 10:47 AM PST
Cypress Employee
1090 Forum Posts

Yep. Be sure to use the driver from wlh folder since you are using Windows 7.

Regards,

Anand






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20