📄 sdusbemu.inf
字号:
;******************************************************************************
; Version section
;------------------------------------------------------------------------------
[Version]
Signature="$CHICAGO$"
Provider=%S_Provider%
DriverVer=05/08/2000,1.42
Class=SDUSBEmulators
ClassGUID={5EA49935-3617-468a-95C0-C2AAC353D35B}
;******************************************************************************
; Class Install section (optional)
;------------------------------------------------------------------------------
; install class, Windows 98:
[ClassInstall]
AddReg=_AddReg_ClassInstall
; install class, Windows 2000:
[ClassInstall32]
AddReg=_AddReg_ClassInstall
; registry entries required for class
[_AddReg_ClassInstall]
HKR,,,,"%S_DeviceClassDisplayName%"
HKR,,Icon,,"-20"
;******************************************************************************
; Manufacturer section
;------------------------------------------------------------------------------
[Manufacturer]
%S_Mfg%=_Devices
;******************************************************************************
; Device section
;------------------------------------------------------------------------------
[_Devices]
%S_DeviceDesc1%=_Install1, USB\Vid_0c55&Pid_0540
%S_DeviceDesc2%=_Install2, USB\Vid_0c55&Pid_5416
%S_DeviceDesc3%=_Install3, USB\Vid_0c55&Pid_6416
%S_DeviceDesc4%=_Install4, USB\Vid_0c55&Pid_0510
;******************************************************************************
; Install section - SPI540
;------------------------------------------------------------------------------
; driver-specific, Win98
[_Install1]
CopyFiles=_CopyFiles_sys
AddReg=_AddReg_SW1, _AddReg_98, _Parameters1_98
; device-specific, Win98
[_Install1.HW]
AddReg=_AddReg_HW1
; driver-specific, Win2000
[_Install1.NTx86]
CopyFiles=_CopyFiles_sys
AddReg=_AddReg_SW1, _Parameters1_NT
; service-install, Win2000
[_Install1.NTx86.Services]
AddService = %S_DriverName%, 0x00000002, _NT_AddService, _NT_EventLog
; device-specific, Win2000
[_Install1.NTx86.HW]
AddReg=_AddReg_HW1
;******************************************************************************
; Install section - TMS320C5416 DDB
;------------------------------------------------------------------------------
; driver-specific, Win98
[_Install2]
CopyFiles=_CopyFiles_sys
AddReg=_AddReg_SW2, _AddReg_98, _Parameters2_98
; device-specific, Win98
[_Install2.HW]
AddReg=_AddReg_HW2
; driver-specific, Win2000
[_Install2.NTx86]
CopyFiles=_CopyFiles_sys
AddReg=_AddReg_SW2, _Parameters2_NT
; service-install, Win2000
[_Install2.NTx86.Services]
AddService = %S_DriverName%, 0x00000002, _NT_AddService, _NT_EventLog
; device-specific, Win2000
[_Install2.NTx86.HW]
AddReg=_AddReg_HW2
;******************************************************************************
; Install section - TMS320C64416 DDB
;------------------------------------------------------------------------------
; driver-specific, Win98
[_Install3]
CopyFiles=_CopyFiles_sys
AddReg=_AddReg_SW3, _AddReg_98, _Parameters3_98
; device-specific, Win98
[_Install3.HW]
AddReg=_AddReg_HW3
; driver-specific, Win2000
[_Install3.NTx86]
CopyFiles=_CopyFiles_sys
AddReg=_AddReg_SW3, _Parameters3_NT
; service-install, Win2000
[_Install3.NTx86.Services]
AddService = %S_DriverName%, 0x00000002, _NT_AddService, _NT_EventLog
; device-specific, Win2000
[_Install3.NTx86.HW]
AddReg=_AddReg_HW3
;******************************************************************************
; Install section - XDS510 USB
;------------------------------------------------------------------------------
; driver-specific, Win98
[_Install4]
CopyFiles=_CopyFiles_sys
AddReg=_AddReg_SW4, _AddReg_98, _Parameters4_98
; device-specific, Win98
[_Install4.HW]
AddReg=_AddReg_HW4
; driver-specific, Win2000
[_Install4.NTx86]
CopyFiles=_CopyFiles_sys
AddReg=_AddReg_SW4, _Parameters4_NT
; service-install, Win2000
[_Install4.NTx86.Services]
AddService = %S_DriverName%, 0x00000002, _NT_AddService, _NT_EventLog
; device-specific, Win2000
[_Install4.NTx86.HW]
AddReg=_AddReg_HW4
;******************************************************************************
; NT Service sections (Win2000 only)
;------------------------------------------------------------------------------
[_NT_AddService]
DisplayName = %S_ServiceDisplayName%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; demand
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\%S_DriverName%.sys
[_NT_EventLog]
AddReg=_NT_EventLog_AddReg
[_NT_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\%S_DriverName%.sys"
HKR,,TypesSupported, 0x00010001,7
[_AddReg_98]
; required standard entries
HKR,,NTMPDriver,,%S_DriverName%.sys
HKR,,DevLoader,,*ntkern
;******************************************************************************
; Registry sections SPI540
;------------------------------------------------------------------------------
[_AddReg_SW1]
; create registry key used to store configuration parameters
HKLM,"%S_ConfigPath%",,,
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",,,
[_AddReg_HW1]
; Create a link to the configuration key. This is absolute required!
HKR,,USBIO_ConfigurationPath,,\Registry\Machine\%S_ConfigPath%\%S_DeviceConfigPath1%
HKR,,USBIO_UserInterfaceGuid,,"{9511726B-D708-4dfb-B178-958734F61F26}"
; parameters used on Windows 98, Windows ME
[_Parameters1_98]
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",PowerStateOnOpen,0x00010001, 0
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",PowerStateOnClose,0x00010001, 0
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",EnableRemoteWakeup,0x00010001, 1
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",MinPowerStateUsed,0x00010001, 3
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",MinPowerStateUnused,0x00010001, 3
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",AbortPipesOnPowerDown,0x00010001, 1
; parameters used on Windows 2000
[_Parameters1_NT]
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",PowerStateOnOpen,0x00010001, 0
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",PowerStateOnClose,0x00010001, 0
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",EnableRemoteWakeup,0x00010001, 1
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",MinPowerStateUsed,0x00010001, 3
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",MinPowerStateUnused,0x00010001, 3
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",AbortPipesOnPowerDown,0x00010001, 1
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",SuppressPnPRemoveDlg,0x00010001, 1
;******************************************************************************
; Registry sections TMS320C5416 DDB/DSK
;------------------------------------------------------------------------------
[_AddReg_SW2]
; create registry key used to store configuration parameters
HKLM,"%S_ConfigPath%",,,
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath2%",,,
[_AddReg_HW2]
; Create a link to the configuration key. This is absolute required!
HKR,,USBIO_ConfigurationPath,,\Registry\Machine\%S_ConfigPath%\%S_DeviceConfigPath2%
HKR,,USBIO_UserInterfaceGuid,,"{383F266A-51D0-4a0a-86E0-A461A5DCA351}"
; parameters used on Windows 98, Windows ME
[_Parameters2_98]
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath2%",PowerStateOnOpen,0x00010001, 0
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath2%",PowerStateOnClose,0x00010001, 0
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath2%",EnableRemoteWakeup,0x00010001, 1
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath2%",MinPowerStateUsed,0x00010001, 3
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath2%",MinPowerStateUnused,0x00010001, 3
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath2%",AbortPipesOnPowerDown,0x00010001, 1
; parameters used on Windows 2000
[_Parameters2_NT]
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath2%",PowerStateOnOpen,0x00010001, 0
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath2%",PowerStateOnClose,0x00010001, 0
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath2%",EnableRemoteWakeup,0x00010001, 1
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath2%",MinPowerStateUsed,0x00010001, 3
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath2%",MinPowerStateUnused,0x00010001, 3
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath2%",AbortPipesOnPowerDown,0x00010001, 1
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath2%",SuppressPnPRemoveDlg,0x00010001, 1
;******************************************************************************
; Registry sections TMS320C6416 DDB/DSK
;------------------------------------------------------------------------------
[_AddReg_SW3]
; create registry key used to store configuration parameters
HKLM,"%S_ConfigPath%",,,
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath3%",,,
[_AddReg_HW3]
; Create a link to the configuration key. This is absolute required!
HKR,,USBIO_ConfigurationPath,,\Registry\Machine\%S_ConfigPath%\%S_DeviceConfigPath3%
HKR,,USBIO_UserInterfaceGuid,,"{FB1B1D79-88B8-4718-ADDB-C809A5AADC68}"
; parameters used on Windows 98, Windows ME
[_Parameters3_98]
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath3%",PowerStateOnOpen,0x00010001, 0
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath3%",PowerStateOnClose,0x00010001, 0
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath3%",EnableRemoteWakeup,0x00010001, 1
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath3%",MinPowerStateUsed,0x00010001, 3
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath3%",MinPowerStateUnused,0x00010001, 3
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath3%",AbortPipesOnPowerDown,0x00010001, 1
; parameters used on Windows 2000
[_Parameters3_NT]
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath3%",PowerStateOnOpen,0x00010001, 0
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath3%",PowerStateOnClose,0x00010001, 0
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath3%",EnableRemoteWakeup,0x00010001, 1
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath3%",MinPowerStateUsed,0x00010001, 3
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath3%",MinPowerStateUnused,0x00010001, 3
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath3%",AbortPipesOnPowerDown,0x00010001, 1
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath3%",SuppressPnPRemoveDlg,0x00010001, 1
;******************************************************************************
; Registry sections XDS510 USB
;------------------------------------------------------------------------------
[_AddReg_SW4]
; create registry key used to store configuration parameters
HKLM,"%S_ConfigPath%",,,
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath4%",,,
[_AddReg_HW4]
; Create a link to the configuration key. This is absolute required!
HKR,,USBIO_ConfigurationPath,,\Registry\Machine\%S_ConfigPath%\%S_DeviceConfigPath4%
HKR,,USBIO_UserInterfaceGuid,,"{62B0261C-3C9A-4311-BBC1-20F67ED97932}"
; parameters used on Windows 98, Windows ME
[_Parameters4_98]
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath4%",PowerStateOnOpen,0x00010001, 0
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath4%",PowerStateOnClose,0x00010001, 0
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath4%",EnableRemoteWakeup,0x00010001, 1
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath4%",MinPowerStateUsed,0x00010001, 3
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath4%",MinPowerStateUnused,0x00010001, 3
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath4%",AbortPipesOnPowerDown,0x00010001, 1
; parameters used on Windows 2000
[_Parameters4_NT]
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath4%",PowerStateOnOpen,0x00010001, 0
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath4%",PowerStateOnClose,0x00010001, 0
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath4%",EnableRemoteWakeup,0x00010001, 1
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath4%",MinPowerStateUsed,0x00010001, 3
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath4%",MinPowerStateUnused,0x00010001, 3
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath4%",AbortPipesOnPowerDown,0x00010001, 1
HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath4%",SuppressPnPRemoveDlg,0x00010001, 1
;******************************************************************************
; Copy Files section
;------------------------------------------------------------------------------
[_CopyFiles_sys]
sdusbemu.sys
;******************************************************************************
; Options
;------------------------------------------------------------------------------
[ControlFlags]
; Advanced options can be specified here.
; For details, refer to the Windows 2000 DDK.
;******************************************************************************
; Destination Directories
;------------------------------------------------------------------------------
[DestinationDirs]
DefaultDestDir = 11 ; SYSTEM directory
_CopyFiles_sys = 10,System32\Drivers
;******************************************************************************
; Disk Layout
;------------------------------------------------------------------------------
[SourceDisksNames]
1=%S_DiskName%,,
[SourceDisksFiles]
%S_DriverName%.sys=1
;******************************************************************************
; Text Strings
;------------------------------------------------------------------------------
[Strings]
S_Provider="Spectrum Digital"
S_Mfg="Spectrum Digital"
S_DeviceClassDisplayName="SD USB Based Debug Tools"
S_DiskName="SDUSBEMU Driver Disk"
S_DriverName="sdusbemu"
S_ServiceDisplayName="SD USB Emulator (sdusbemu.sys)"
S_ConfigPath="SYSTEM\CurrentControlSet\Services\sdusbemu"
; Device 1 - SPI540
S_DeviceConfigPath1="ParmsSPI540"
S_DeviceDesc1="Spectrum Digital SPI540"
; Device 2 - TMS320C5416 DSK
S_DeviceConfigPath2="Parms5416DDB"
S_DeviceDesc2="Spectrum Digital TMS320C5416 DSK"
; Device 3 - TMS320C6416 DDB
S_DeviceConfigPath3="Parms6416DDB"
S_DeviceDesc3="Spectrum Digital TMS320C6416 DDB"
; Device 4 - XDS510 USB
S_DeviceConfigPath4="ParmsXDS510USB"
S_DeviceDesc4="Spectrum Digital XDS510 USB"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -