summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/tcctool/README27
-rw-r--r--utils/tcctool/tcctool-driver-win32/tcc.cat3
-rw-r--r--utils/tcctool/tcctool-driver-win32/tcc.inf139
-rw-r--r--utils/tcctool/tcctool-driver-win32/tcc_x64.cat3
-rwxr-xr-xutils/tcctool/tcctool-windows.txt31
5 files changed, 203 insertions, 0 deletions
diff --git a/utils/tcctool/README b/utils/tcctool/README
index c2fa8a0fb9..2031f6fdb9 100644
--- a/utils/tcctool/README
+++ b/utils/tcctool/README
@@ -27,3 +27,30 @@ A first test when using tcctool on a new device can be to upload the
27original firmware. If you do this, make sure you upload the same 27original firmware. If you do this, make sure you upload the same
28version that is installed on your player - otherwise you may find 28version that is installed on your player - otherwise you may find
29yourself with corrupted config files and music database. 29yourself with corrupted config files and music database.
30
31
32Building for Windows
33--------------------
34
351) Download libusb-win32-device-bin-0.1.12.1.tar.gz from:
36
37http://sourceforge.net/project/showfiles.php?group_id=78138
38
392) Extract libusb-win32-device-bin-0.1.12.1.tar.gz in the tcctool
40source directory.
41
423) Type "make tcctool.exe" to compile.
43
444) Copy the following four files from libusb-win32-device-bin-0.1.12.1/bin
45to tcctool-driver-win32/
46
47libusb0.dll
48libusb0.sys
49libusb0_x64.dll
50libusb0_x64.sys
51
525) Create the tcctool-win32.zip file from the directory above tcctool as follows:
53
54zip tcctool-win32.zip tcctool/tcctool.exe tcctool/tcctool-windows.txt tcctool/tcctool-driver/win32/*
55
566) See tcctool/tcctool-windows.txt for Windows usage instructions.
diff --git a/utils/tcctool/tcctool-driver-win32/tcc.cat b/utils/tcctool/tcctool-driver-win32/tcc.cat
new file mode 100644
index 0000000000..2ef39c526e
--- /dev/null
+++ b/utils/tcctool/tcctool-driver-win32/tcc.cat
@@ -0,0 +1,3 @@
1This file will contain the digital signature of the files to be installed
2on the system.
3This file will be provided by Microsoft upon certification of your drivers.
diff --git a/utils/tcctool/tcctool-driver-win32/tcc.inf b/utils/tcctool/tcctool-driver-win32/tcc.inf
new file mode 100644
index 0000000000..63bc8a64d4
--- /dev/null
+++ b/utils/tcctool/tcctool-driver-win32/tcc.inf
@@ -0,0 +1,139 @@
1[Version]
2Signature = "$Chicago$"
3provider = %manufacturer%
4DriverVer = 03/20/2007,0.1.12.1
5CatalogFile = tcc.cat
6CatalogFile.NT = tcc.cat
7CatalogFile.NTAMD64 = tcc_x64.cat
8
9Class = LibUsbDevices
10ClassGUID = {EB781AAF-9C70-4523-A5DF-642A87ECA567}
11
12[ClassInstall]
13AddReg=libusb_class_install_add_reg
14
15[ClassInstall32]
16AddReg=libusb_class_install_add_reg
17
18[libusb_class_install_add_reg]
19HKR,,,,"LibUSB-Win32 Devices"
20HKR,,Icon,,"-20"
21
22[Manufacturer]
23%manufacturer%=Devices,NT,NTAMD64
24
25;--------------------------------------------------------------------------
26; Files
27;--------------------------------------------------------------------------
28
29[SourceDisksNames]
301 = "Libusb-Win32 Driver Installation Disk",,
31
32[SourceDisksFiles]
33libusb0.sys = 1,,
34libusb0.dll = 1,,
35libusb0_x64.sys = 1,,
36libusb0_x64.dll = 1,,
37
38[DestinationDirs]
39libusb_files_sys = 10,system32\drivers
40libusb_files_sys_x64 = 10,system32\drivers
41libusb_files_dll = 10,system32
42libusb_files_dll_wow64 = 10,syswow64
43libusb_files_dll_x64 = 10,system32
44
45[libusb_files_sys]
46libusb0.sys
47
48[libusb_files_sys_x64]
49libusb0.sys,libusb0_x64.sys
50
51[libusb_files_dll]
52libusb0.dll
53
54[libusb_files_dll_wow64]
55libusb0.dll
56
57[libusb_files_dll_x64]
58libusb0.dll,libusb0_x64.dll
59
60;--------------------------------------------------------------------------
61; Device driver
62;--------------------------------------------------------------------------
63
64[LIBUSB_DEV]
65CopyFiles = libusb_files_sys, libusb_files_dll
66AddReg = libusb_add_reg
67
68[LIBUSB_DEV.NT]
69CopyFiles = libusb_files_sys, libusb_files_dll
70
71[LIBUSB_DEV.NTAMD64]
72CopyFiles = libusb_files_sys_x64, libusb_files_dll_wow64, libusb_files_dll_x64
73
74[LIBUSB_DEV.HW]
75DelReg = libusb_del_reg_hw
76AddReg = libusb_add_reg_hw
77
78[LIBUSB_DEV.NT.HW]
79DelReg = libusb_del_reg_hw
80AddReg = libusb_add_reg_hw
81
82[LIBUSB_DEV.NTAMD64.HW]
83DelReg = libusb_del_reg_hw
84AddReg = libusb_add_reg_hw
85
86[LIBUSB_DEV.NT.Services]
87AddService = libusb0, 0x00000002, libusb_add_service
88
89[LIBUSB_DEV.NTAMD64.Services]
90AddService = libusb0, 0x00000002, libusb_add_service
91
92[libusb_add_reg]
93HKR,,DevLoader,,*ntkern
94HKR,,NTMPDriver,,libusb0.sys
95
96; Older versions of this .inf file installed filter drivers. They are not
97; needed any more and must be removed
98[libusb_del_reg_hw]
99HKR,,LowerFilters
100HKR,,UpperFilters
101
102; Device properties
103[libusb_add_reg_hw]
104HKR,,SurpriseRemovalOK, 0x00010001, 1
105
106;--------------------------------------------------------------------------
107; Services
108;--------------------------------------------------------------------------
109
110[libusb_add_service]
111DisplayName = "LibUsb-Win32 - Kernel Driver 03/20/2007, 0.1.12.1"
112ServiceType = 1
113StartType = 3
114ErrorControl = 0
115ServiceBinary = %12%\libusb0.sys
116
117;--------------------------------------------------------------------------
118; Devices
119;--------------------------------------------------------------------------
120
121[Devices]
122"TCC77x usb-boot mode"=LIBUSB_DEV, USB\VID_140E&PID_B021
123"TCC7801 usb-boot mode"=LIBUSB_DEV, USB\VID_140E&PID_B011
124
125[Devices.NT]
126"TCC77x usb-boot mode"=LIBUSB_DEV, USB\VID_140E&PID_B021
127"TCC7801 usb-boot mode"=LIBUSB_DEV, USB\VID_140E&PID_B011
128
129[Devices.NTAMD64]
130"TCC77x usb-boot mode"=LIBUSB_DEV, USB\VID_140E&PID_B021
131"TCC7801 usb-boot mode"=LIBUSB_DEV, USB\VID_140E&PID_B011
132
133
134;--------------------------------------------------------------------------
135; Strings
136;--------------------------------------------------------------------------
137
138[Strings]
139manufacturer = "Telechips"
diff --git a/utils/tcctool/tcctool-driver-win32/tcc_x64.cat b/utils/tcctool/tcctool-driver-win32/tcc_x64.cat
new file mode 100644
index 0000000000..2ef39c526e
--- /dev/null
+++ b/utils/tcctool/tcctool-driver-win32/tcc_x64.cat
@@ -0,0 +1,3 @@
1This file will contain the digital signature of the files to be installed
2on the system.
3This file will be provided by Microsoft upon certification of your drivers.
diff --git a/utils/tcctool/tcctool-windows.txt b/utils/tcctool/tcctool-windows.txt
new file mode 100755
index 0000000000..d116bfeefe
--- /dev/null
+++ b/utils/tcctool/tcctool-windows.txt
@@ -0,0 +1,31 @@
1tcctool for Windows
2-------------------
3
4Installation
5------------
6
7When you first attach your device in USB boot mode to your computer,
8Windows should display the Found New Hardware Wizard.
9
10If this doesn't appear, and if you have previously used a firmware
11recovery tool with your device, you will need to uninstall the USB
12driver used by that application.
13
14Go into Control Panel -> System -> Hardware -> Device Manager, then
15click on Universal Serial Bus Controllers, look for something like
16"Telechips TCC77x VTC USB Driver", right-click on it and select
17Uninstall.
18
19After doing this, disconnect and reconnect your device and the Found
20New Hardware Wizard should appear.
21
22Select "No, not this time" to the question about connecting to Windows
23Update, and select "Install from a list or specific location
24(Advanced)" on the next screen.
25
26On the next screen, select "Search for the best driver in these
27locations", unselect "Search removable media", select "Include this
28location in the search:" and browse to the tcctool-driver-win32
29folder.
30
31You should now be able to run tcctool.exe