summaryrefslogtreecommitdiffstats
path: root/utils/tcctool/README
blob: 2031f6fdb968daec28885a855a78a3fe4e1ada08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/***************************************************************************
 *             __________               __   ___.
 *   Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
 *   Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
 *   Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
 *   Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
 *                     \/            \/     \/    \/            \/
 * $Id$
 *
 ****************************************************************************/

tcctool
-------

tcctool is a utility for uploading code to Telechips TCC77x based
devices in USB boot mode.

It has been tested on the iaudio 7 and Logik DAX DAB/MP3 Player, but
should work on other devices if the appropriate magic value is
identified from existing "firmware recovery" programs - see the
"devices" array in tcctool.c

It can be used for safely testing firmware images before performing a
firmware upgade.

A first test when using tcctool on a new device can be to upload the
original firmware.  If you do this, make sure you upload the same
version that is installed on your player - otherwise you may find
yourself with corrupted config files and music database.


Building for Windows
--------------------

1) Download libusb-win32-device-bin-0.1.12.1.tar.gz from:

http://sourceforge.net/project/showfiles.php?group_id=78138

2) Extract libusb-win32-device-bin-0.1.12.1.tar.gz in the tcctool
source directory.

3) Type "make tcctool.exe" to compile.

4) Copy the following four files from libusb-win32-device-bin-0.1.12.1/bin
to tcctool-driver-win32/

libusb0.dll
libusb0.sys
libusb0_x64.dll
libusb0_x64.sys

5) Create the tcctool-win32.zip file from the directory above tcctool as follows:

zip tcctool-win32.zip tcctool/tcctool.exe tcctool/tcctool-windows.txt tcctool/tcctool-driver/win32/*

6) See tcctool/tcctool-windows.txt for Windows usage instructions.