Simplifying System IntegrationTM 73S12xxF USB-CCID Linux DFU Host Application Users Guide April 27, 2009 Rev. 1.
73S12xxF USB-CCID Linux DFU Host Application Users Guide UG_12xxF_038 © 2009 Teridian Semiconductor Corporation. All rights reserved. Teridian Semiconductor Corporation is a registered trademark of Teridian Semiconductor Corporation. Simplifying System Integration is a trademark of Teridian Semiconductor Corporation. Microsoft is a registered trademark of Microsoft Corporation. Windows XP is a registered trademark of Microsoft Corporation. Visual Studio is a registered trademark of Microsoft Corporation.
UG_12xxF_038 73S12xxF USB-CCID Linux DFU Host Application Users Guide Table of Contents 1. Introduction ......................................................................................................................................... 4 2. Building the dfu-util Program ....................................................................................................... 4 3. Running the dfu-util Program ..........................................................................................
73S12xxF USB-CCID Linux DFU Host Application Users Guide 1. UG_12xxF_038 Introduction The Linux DFU host application program, dfu-util, is an open source user space program that provides the host-side ability to upgrade firmware in a compatible device over a standard USB connection. To communicate with a device, this program uses the user space USB API as supplied by the library module libusb in the Linux operating system. A specialized driver is not needed.
UG_12xxF_038 73S12xxF USB-CCID Linux DFU Host Application Users Guide name to install the package. In the case of other versions of Linux, such as Slackware, the downloaded package may be a compressed file with a .tgz extension. To install it, run command tar -xvf on the file. 4. After the previous step completed, the original dfu-util package has been installed in the directory /home/user/dfu-util. (Your actual path name could be different.) Copy the file dfu-util-src-tsc.
73S12xxF USB-CCID Linux DFU Host Application Users Guide UG_12xxF_038 [root@lx95t src]# ./dfu-util -l dfu-util - (C) 2007-2008 by OpenMoko Inc. This program is Free Software and has ABSOLUTELY NO WARRANTY Found Runtime: [0x1862:0x0001] devnum=2, cfg=0, intf=1, alt=0, name="Teridian Semiconductors", str_idx=1 [root@lx95t src]# Among the information displayed in the output above, take note of the vendor:product ID pair, and alt (alternate interface), whose value is 0x1862:0x0001, and 0, respectively.
UG_12xxF_038 4. 73S12xxF USB-CCID Linux DFU Host Application Users Guide Known Issues During the testing at Teridian, a problem was encountered. The scenario is described below. A string descriptor that a version of TSC CCID-DFU firmware supplies to identify the manufacturer of the device happens to be 16, 32, 48, or 64 characters long. That is, the length of the string descriptor is a multiple of 16.
73S12xxF USB-CCID Linux DFU Host Application Users Guide 7. Revision History Revision 1.0 8 UG_12xxF_038 Date 4/27/2009 Description First publication. Rev. 1.