July 2009 Doc ID 13379 Rev 4 1/22
UM0412
User manual
Getting started with DfuSe USB device firmware upgrade
STMicroelectronics extension
Introduction
This 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 software.
www.st.com
Contents UM0412
2/22 Doc ID 13379 Rev 4
Contents
1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.1 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2 Package contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3 DfuSe demonstration installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3.1 Software installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3.2 Hardware installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 DFU file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3 User interface description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.1 DfuSe demonstration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.2 DFU file manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.2.1 “Want to do” dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.2.2 File generation dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.2.3 File extraction dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4 Step-by-step procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.1 DfuSe demonstration procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.1.1 How to upload a DFU file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.1.2 How to download a DFU file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.2 DFU file manager procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.2.1 How to generate DFU files from S19/Hex/Bin files . . . . . . . . . . . . . . . . 20
4.2.2 How to extract S19/Hex/Bin files from DFU files . . . . . . . . . . . . . . . . . . 20
5 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
UM0412 List of tables
Doc ID 13379 Rev 4 3/22
List of tables
Table 1. DfuSe demo dialog box description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Table 2. File generation dialog box description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Table 3. Multi bin injection dialog box description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Table 4. File extraction dialog box description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Table 5. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
List of figures UM0412
4/22 Doc ID 13379 Rev 4
List of figures
Figure 1. System properties dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Figure 2. Selecting the installation location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Figure 3. Driver selection option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 4. Driver selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Figure 5. Installation from disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 6. Progress message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 7. Warning message. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 8. Installation finish . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 9. DfuSe demo dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 10. Edit option byte dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 11. “Want to do” dialog box. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 12. “Generation” dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Figure 13. “Multi bin injection” dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Figure 14. “Extract” dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
UM0412 Getting started
Doc ID 13379 Rev 4 5/22
1 Getting started
1.1 System requirements
In 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 PC.
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. The OS type is displayed in the “System properties” dialog box
under the “System” label in the “General” tabsheet (see Figure 1).
Figure 1. System properties dialog box
- 1
- 2
- 3
前往页