Example: barber

Getting started with DfuSe USB device ... - STMicroelectronics

July 2009 Doc ID 13379 Rev 41/22UM0412 user manualGetting started with DfuSe USB device firmware upgradeSTMicroelectronics extensionIntroductionThis document describes the demonstration user interface that was developed to illustrate use of the STMicroelectronics device firmware upgrade library. A description of this library, including its application programming interface, is contained in the DfuSe application programming interface document and installed with the DfuSe ContentsUM04122/22 Doc ID 13379 Rev 4 Contents1 Getting started .. requirements .. contents .. demonstration installation.

User manual Getting started with DfuSe USB device firmware upgrade STMicroelectronics extension ... vendor identifier, Firmware version and the Alternate setting number (Target ID) of the target to be used, this information makes the upgrade targeted and more secure. To add this information, a new file format should be

Tags:

  Devices, User, Extension, Vendor, Upgrade, Firmware, Stmicroelectronics, Usb device firmware upgrade stmicroelectronics extension

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of Getting started with DfuSe USB device ... - STMicroelectronics

1 July 2009 Doc ID 13379 Rev 41/22UM0412 user manualGetting started with DfuSe USB device firmware upgradeSTMicroelectronics extensionIntroductionThis document describes the demonstration user interface that was developed to illustrate use of the STMicroelectronics device firmware upgrade library. A description of this library, including its application programming interface, is contained in the DfuSe application programming interface document and installed with the DfuSe ContentsUM04122/22 Doc ID 13379 Rev 4 Contents1 Getting started .. requirements .. contents .. demonstration installation.

2 Installation .. installation .. 62 DFU file .. 123 user interface description .. demonstration .. file manager .. Want to do dialog box .. generation dialog box .. extraction dialog box .. 174 Step-by-step procedures .. demonstration procedures .. to upload a DFU file .. to download a DFU file .. file manager procedures .. to generate DFU files from S19/Hex/Bin files .. to extract S19/Hex/Bin files from DFU files .. 205 Revision history .. 21UM0412 List of tablesDoc ID 13379 Rev 43/22 List of tablesTable demo dialog box description.

3 14 Table generation dialog box description .. 16 Table bin injection dialog box description .. 17 Table extraction dialog box description .. 18 Table revision history .. 21 List of figuresUM04124/22 Doc ID 13379 Rev 4 List of figuresFigure properties dialog box .. 5 Figure the installation location .. 7 Figure selection option .. 8 Figure selection .. 9 Figure from disk .. 10 Figure message .. 10 Figure message .. 11 Figure finish .. 11 Figure demo dialog box .. 13 Figure option byte dialog box .. 15 Figure 11. Want to do dialog box.. 15 Figure 12.

4 Generation dialog box .. 16 Figure 13. Multi bin injection dialog box .. 17 Figure 14. Extract dialog box .. 17UM0412 Getting startedDoc ID 13379 Rev 45/22 1 Getting System requirementsIn order to use the DfuSe demonstration with the Windows operating system, a recent version of Windows, such as Windows 98SE, Millennium, 2000, XP or VISTA, must be installed on the version of the Windows OS installed on your PC may be determined by right-clicking on the My Computer icon in the desktop, then clicking on the Properties item in the displayed PopUpMenu.

5 The OS type is displayed in the System properties dialog box under the System label in the General tabsheet (see Figure 1).Figure properties dialog box Getting startedUM04126/22 Doc ID 13379 Rev Package contentsThe following items are supplied in this package:Software contents1. STTube driver consisting of the two following files: : Driver to be loaded for demo board. : Configuration file for : Installation file which installs the DfuSe applications and source code on your contents This tool is designed to work with all STMicroelectronics devices which supports the device firmware upgrade via an USB interface.

6 For more details, please contact your ST representative or visit the ST web site ( ). DfuSe demonstration Software installationRun file: the InstallShield Wizard will guide you to install DfuSe applications and source code on your computer. When the software is successfully installed, click the Finish button. You can then explore the driver driver files are located in the Driver folder in your install path (C:\Program files\ STMicroelectronics \ DfuSe ).The source code for the Demo application and DfuSe library is located in the C:\Program Files\ STMicroelectronics \ DfuSe \Sources is located in the C:\Program Files\ STMicroelectronics \ DfuSe \Sources\D oc Hardware installation Connect the device to a spare USB port on your PC.

7 The Found New Hardware Wizard then starts. Select the Install from a list or specific location as shown below and then click Next .UM0412 Getting startedDoc ID 13379 Rev 47/22 Figure the installation location Select Don t search. I will choose the driver to install as shown below and then click Next . Getting startedUM04128/22 Doc ID 13379 Rev 4 Figure selection option If a driver is already installed, the model list will show the compatible hardware models, else click Have to locate the driver startedDoc ID 13379 Rev 49/22 Figure selection In the Install From Disk dialog box, click to specify the driver files location, the driver directory is located in your install path (C:\Program files\ STMicroelectronics \ DfuSe \Driver), then click OK.

8 The PC autoselects the correct INF file, in this case Once Windows has found the required driver .INF file, the compatible hardware model will be displayed in the model list. Click Next to proceed. Getting startedUM041210/22 Doc ID 13379 Rev 4 Figure from disk When Windows is performing the driver installation, a warning dialog will be displayed indicating that the driver has not passed Windows logo testing, click continue Anyway to messageUM0412 Getting startedDoc ID 13379 Rev 411/22 Figure message Windows should then display a message indicating that the installation was successful.

9 Click Finish to complete the finish DFU fileUM041212/22 Doc ID 13379 Rev 42 DFU fileUsers that have purchased DFU devices require the ability to upgrade the firmware of these devices . Traditionally, firmware is stored in Hex, S19 or Binary files, but these formats do not contain the necessary information to perform the upgrade operation, they contain only the actual data of the program to be downloaded. However, the DFU operation requires more information, such as the product identifier, vendor identifier, firmware version and the Alternate setting number (Target ID) of the target to be used, this information makes the upgrade targeted and more secure.

10 To add this information, a new file format should be used, to be called DFU file format. For more details refer to the DfuSe File Format Specification document (UM0391).UM0412 user interface descriptionDoc ID 13379 Rev 413/22 3 user interface descriptionThis section describes the different user interfaces available in the DfuSe package, and explains how to use them to perform DFU operations such as Upload, Download and firmware file DfuSe demonstration firmware upgrades need to be able to be performed without any special training, even by novice users. Hence, the user interface was designed to be as robust and simple to use as possible (see Figure 9).


Related search queries