Electronic Components Datasheet Search
  English  ▼

X  

AN1577 Datasheet(PDF) 4 Page - STMicroelectronics

Part # AN1577
Description  This application note presents the implementation
PDF  30 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1577 Datasheet(HTML) 4 Page - STMicroelectronics

  AN1577 Datasheet HTML 1Page - STMicroelectronics AN1577 Datasheet HTML 2Page - STMicroelectronics AN1577 Datasheet HTML 3Page - STMicroelectronics AN1577 Datasheet HTML 4Page - STMicroelectronics AN1577 Datasheet HTML 5Page - STMicroelectronics AN1577 Datasheet HTML 6Page - STMicroelectronics AN1577 Datasheet HTML 7Page - STMicroelectronics AN1577 Datasheet HTML 8Page - STMicroelectronics AN1577 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 4 / 30 page
background image
4/30
DEVICE FIRMWARE UPGRADE (DFU) IMPLEMENTATION IN ST7 USB DEVICES
2 DFU CLASS
2.1 INTRODUCTION
The DFU class uses the USB as a communication channel between the ST7 and the program-
ming tool, generally a PC host. The DFU class specification states that, all the commands,
status and data exchanges have to be performed through Control Endpoint 0. The command
set, as well as the basic protocol are also defined, but the higher level protocol (Data format,
error message, ..) remain vendor specific. This means that the DFU class does not define the
format of the data transferred
(.s19, .hex, pure binary, etc...).
2.2 PHASES
There are four distinct phases required to accomplish a firmware upgrade:
1. Enumeration: The device informs the host of its capabilities. A DFU class-interface de-
scriptor and associated functional descriptor embedded within the device’s normal run-time
descriptors serve this purpose and provide a target for class-specific requests over the control
pipe.
2. Reconfiguration: The host and the device agree to initiate a firmware upgrade. The host is-
sues a USB reset to the device, and the device then exports a second set of descriptors in
preparation for the Transfer phase. This deactivates the run-time device drivers associated
with the device and allows the DFU driver to reprogram the device’s firmware unhindered by
any other communications traffic targeting the device.
3. Transfer: The host transfers the firmware image to the device. The parameters specified in
the functional descriptor are used to ensure correct block sizes and timing for programming
the nonvolatile memories. Status requests are employed to maintain synchronization between
the host and the device.
4. Manifestation: Once the device reports to the host that it has completed the reprogram-
ming operations, the host issues a USB reset to the device. The device re-enumerates and ex-
ecutes the upgraded firmware.
To ensure that only the DFU driver is loaded, it is considered necessary to change the
id-
Product field of the device when it enumerates the DFU descriptor set. This ensures that the
DFU driver will be loaded in cases where the operating system simply matches the vendor ID
and product ID to a specific driver.
LS project Example: the Product ID of the Evaluation Kit with the DFU class is the FF03h and
0003h for the standard Evaluation Kit without the DFU.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com