Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3156 Datasheet(PDF) 8 Page - STMicroelectronics

Part # AN3156
Description  USB DFU protocol used in the STM32 bootloader
PDF  26 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3156 Datasheet(HTML) 8 Page - STMicroelectronics

Back Button AN3156 Datasheet HTML 4Page - STMicroelectronics AN3156 Datasheet HTML 5Page - STMicroelectronics AN3156 Datasheet HTML 6Page - STMicroelectronics AN3156 Datasheet HTML 7Page - STMicroelectronics AN3156 Datasheet HTML 8Page - STMicroelectronics AN3156 Datasheet HTML 9Page - STMicroelectronics AN3156 Datasheet HTML 10Page - STMicroelectronics AN3156 Datasheet HTML 11Page - STMicroelectronics AN3156 Datasheet HTML 12Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 26 page
background image
USB DFU bootloader requests
AN3156
8/26
DocID017068 Rev 4
2
USB DFU bootloader requests
USB DFU bootloader supports the DFU protocol and requests compliant with the “Universal
Serial Bus Device Upgrade Specification for Device Firmware Upgrade” Version 1.1, Aug 5,
2004. For more details concerning these requests, refer to the specification.
Table 2 and Table 3 enumerate the DFU Class-Specific requests and their parameters.
Table 2. DFU class requests
Note:
The Detach request is not meaningful in the case of the bootloader. The bootloader is
started by a system reset depending on the boot mode configuration settings, which means
that no other application is running at this time.
Request
Request code
Request description
DFU_DETACH
0x00
Requests the device to leave DFU mode and enter the
application.
DFU_DNLOAD
0x01
Requests data transfer from Host to the device in order to
load them into device internal Flash. Includes also erase
commands.
DFU_UPLOAD
0x02
Requests data transfer from device to Host in order to
load content of device internal Flash into a Host file.
DFU_GETSTATUS
0x03
Requests device to send status report to the Host
(including status resulting from the last request execution
and the state the device will enter immediately after this
request).
DFU_CLRSTATUS
0x04
Requests device to clear error status and move to next
step.
DFU_GETSTATE
0x05
Requests the device to send only the state it will enter
immediately after this request.
DFU_ABORT
0x06
Requests device to exit the current state/operation and
enter idle state immediately.
Table 3. Summary of DFU class-specific requests
bmRequest
bRequest
wValue
wIndex
wLength
Data
00100001b
DFU_DETACH
wTimeout
Interface Zero
None
00100001b
DFU_DNLOAD
wBlockNum
Interface Length
Firmware
10100001b
DFU_UPLOAD
Zero
Interface Length
Firmware
00100001b
DFU_GETSTATUS Zero
Interface 6
Status
00100001b
DFU_CLRSTATUS
Zero
Interface Zero
None
00100001b
DFU_GETSTATE
Zero
Interface 1
State
00100001b
DFU_ABORT
Zero
Interface Zero
None



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


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