rockbox/utils/tcctool
Amaury Pouly 27433076e9 tcctool: fix Makefile
The version.sh tool tries to locate the repository root if no argument is
given but it doesn't really work. Instead explicitely give it the path to
the root.

Change-Id: Ie3a35cb3d41bbd8819823358763f714ad045527e
2013-09-18 13:14:20 +02:00
..
tcctool-driver-win32
Makefile
README
tcctool-windows.txt
tcctool.c

/***************************************************************************
 *             __________               __   ___.
 *   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.