rockbox/utils/tcctool
Torne Wuff 569285794b Bulk convert all DOS line endings to UNIX.
For the git migration we want a nice clean repository with UNIX line
endings. git does not use svn:eol-style, we just need the file contents to be
sane.

Sorry everybody. I know this messes up blame.

Scumbag *NIX developer says migrating to git will make line ending issues go
away; commits giant change to svn which changes line endings anyway. :)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30924 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 22:44:25 +00:00
..
tcctool-driver-win32
Makefile Take version number from SVN, or via VERSION variable in Makefile - i.e. use "make VERSION=v1.0" to build with that version number. 2010-05-02 09:54:14 +00:00
README
tcctool-windows.txt Bulk convert all DOS line endings to UNIX. 2011-11-06 22:44:25 +00:00
tcctool.c tcctool: add support for Cowon J3 - FS#11747 2010-11-10 18:55:59 +00:00

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