USB JTAG  

Go Back   USB JTAG > General > Script Forum

Reply
 
Thread Tools Display Modes
  #1  
Old 12-22-2014, 10:50 PM
ricktendo ricktendo is offline
Senior Member
 
Join Date: Nov 2014
Posts: 102
Default Optimized usbjtag.inf for Windows 6.x

The following is an optimized INF for use with Windows 6.x (Vista and above.) There is no need for the CoInstallers unless you are working on Windows 2000/XP (even so it may be a good idea to update the older driver from 01007 to 01009 CoInstallers)

Anyway here is the optimized INF (no other files needed)

usbjtag.inf
Code:
[Version]
Signature = "$Windows NT$"
Class = USB
ClassGuid={36fc9e60-c465-11cf-8056-444553540000}
Provider = %ProviderName%
;CatalogFile=MyCatFile.cat

; ========== Manufacturer/Models sections ===========

[Manufacturer]
%ProviderName% = MyDevice_WinUSB,NTx86.6.0,NTamd64.6.0

[MyDevice_WinUSB.NTx86.6.0]
%USB\MyDevice.DeviceDescNT% =USB_Install, USB\Vid_04B4&Pid_8613
%USB\MyDevice.DeviceDesc% =USB_Install, USB\Vid_0547&Pid_2131

[MyDevice_WinUSB.NTamd64.6.0]
%USB\MyDevice.DeviceDescNT% =USB_Install, USB\Vid_04B4&Pid_8613
%USB\MyDevice.DeviceDesc% =USB_Install, USB\Vid_0547&Pid_2131

; =================== Installation ===================

[USB_Install]
Include=winusb.inf
Needs=WINUSB.NT

[USB_Install.Services]
Include=winusb.inf
Needs=WINUSB.NT.Services

[USB_Install.HW]
AddReg=Dev_AddReg

[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{b35924d6-3e16-4a9e-9782-5524a4b79bac}"

; =================== Strings ===================

[Strings]
ProviderName="USBJTAG"
USB\MyDevice.DeviceDesc="USBJTAG"
USB\MyDevice.DeviceDescNT="USBJTAGNT"
BTW I have a self signed version of this INF that gets around the problem on Windows 8+ with unsigned drivers, I could provide it and I could also show you how you can make your own (just let me know if anybody is interested)
Reply With Quote
  #2  
Old 12-23-2014, 10:12 AM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,878
Default

I have solved sign issue by using CyUSB. This works for Windows 8 and Windows 10. Can you take a look of it? I still like WinUSB better if I am using Windows 7 and under.
Reply With Quote
  #3  
Old 12-23-2014, 11:18 PM
ricktendo ricktendo is offline
Senior Member
 
Join Date: Nov 2014
Posts: 102
Default

WinUSB is already a part of Windows (since Vista) and the only thing these two CoInstallers are used for is to add them to operating systems that dont have WinUSB (like XP, 2000)

WdfCoInstaller01007.dll
WinUSBCoInstaller.dll

Open them up in a resource editor or 7zip and you will see all they are is a way to deliver a hotfix into XP, these are installing WinUSB ported from Vista RTM for XP (does nothing on Vista/7/8*)

01007 = WinUSB from Vista porting to XP
01009 = WinUSB from Windows 7 RTM porting to Vista and XP
01011 = WinUSB from Windows 8.0 RTM porting to 7 and Vista (XP support dropped)

The only reason to keep the CoInstallers is for XP support, and updating them to 01009 best... Other than that all you need is this INF, any of the listed CoInstallers is useless in Windows 7 since the WinUSB version has already been updated to the 8.1 WinUSB via Windows Update

Last edited by ricktendo; 12-23-2014 at 11:22 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 04:52 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.