I'm trying to run the streamer demo. Unfortunately it doesn't work because of problems with the driver.
I'm able to program the Cypress firmware into the EEPROM. The device seems to be correctly identified as a Cy-Stream usb device but I'm unable to successfully install the CyStream.inf driver enclosed into the demo package. I always get Error 10 during the driver installation.
I tried to use the CyUSB driver instead (see the attached .inf). At this point the driver installation goes well but when I run (in debug) the Streamer application "int n = USBDevice->DeviceCount();" returns always 0. The GUID of the driver and the app. are the original Cypress GUID and are therefore correct.
Can anybody help me to come out from this situation?
Thanks, Job
.inf file
; Installation INF for the Cypress Generic USB Driver for Windows 98ME/2000/XP
;
[Version]
Signature="$CHICAGO$"
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
provider=%CYPRESS%
;---Uncomment and complete below to support WHQL submission---;
;CatalogFile=cyusb.cat
;DriverVer=mm/dd/yyyy,x.y.v.z
;-------------------------------------------------------------;
[SourceDisksNames]
1=%CYUSB_INSTALL%,,,
[SourceDisksFiles]
CyUsbME.sys = 1
CyUsb.sys = 1
;-----Uncomment below to support script file processing-----;
;CyUsb.spt = 1
;------------------------------------------------------------;
[Manufacturer]
%MfgName%=Cypress
[Cypress]
%VID_04B4&PID_1003.DeviceDesc%=CyUsb, USB\VID_04B4&PID_1003
;[PreCopySection]
;HKR,,NoSetupUI,,1
[DestinationDirs]
CyUsbME.Files.Ext = 10,System32\Drivers
CyUsb.Files.Ext = 10,System32\Drivers
;-----Uncomment below to support script file processing-----;
;CyUsb.Files.Spt = 10,System32\CyUsb
;------------------------------------------------------------;
[CyUsb]
CopyFiles=CyUsbME.Files.Ext
;-----Uncomment below to support script file processing-----;
;CopyFiles=CyUsb.Files.Spt
;------------------------------------------------------------;
AddReg=CyUsbME.AddReg
[CyUsb.HW]
AddReg=CyUsb.AddReg.Guid
[CyUsb.NT]
CopyFiles=CyUsb.Files.Ext
;-----Uncomment below to support script file processing-----;
;CopyFiles=CyUsb.Files.Spt
;------------------------------------------------------------;
AddReg=CyUsb.AddReg
[CyUsb.NT.HW]
AddReg=CyUsb.AddReg.Guid
[CyUsb.NT.Services]
Addservice = CyUsb, 0x00000002, CyUsb.AddService
[CyUsb.AddService]
DisplayName = %CyUsb.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\CyUsb.sys
LoadOrderGroup = Base
[CyUsbME.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,CyUsbME.sys
[CyUsb.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,CyUsb.sys
[CyUsbME.Files.Ext]
CyUsbME.sys
[CyUsb.Files.Ext]
CyUsb.sys
;-----Uncomment below to support script file processing-----;
;[CyUsb.Files.Spt]
;CyUsb.spt
;------------------------------------------------------------;
[CyUsb.AddReg.Guid]
HKR,,DriverGUID,,%CyUsb.GUID%
;-----Uncomment below to support script file processing-----;
;HKR,,DriverEXECSCRIPT,,%CyUsb.EXECSCRIPT%
;------------------------------------------------------------;
;---------------------------------------------------------------;
[Strings]
CYPRESS="Cypress"
MfgName="Cypress"
CYUSB_INSTALL="Cypress Generic USB Driver Installation Disk"
VID_04B4&PID_1003.DeviceDesc="Cypress Device"
CyUsb.SvcDesc="Saphyrion Generic USB Driver"
;------------Replace GUID below with custom GUID-------------;
CyUsb.GUID="{AE18AA60-7F6A-11d4-97DD-00010229B959}"
;
;------------------------------------------------------------;
;-----Uncomment below to support script file processing-----;
;CyUsb.EXECSCRIPT="\systemroot\system32\CyUsb\CyUsb.spt"
;------------------------------------------------------------;
|