Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

AN3156 Datasheet(PDF) 21 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) 21 Page - STMicroelectronics

Back Button AN3156 Datasheet HTML 17Page - STMicroelectronics AN3156 Datasheet HTML 18Page - STMicroelectronics AN3156 Datasheet HTML 19Page - STMicroelectronics AN3156 Datasheet HTML 20Page - STMicroelectronics AN3156 Datasheet HTML 21Page - STMicroelectronics AN3156 Datasheet HTML 22Page - STMicroelectronics AN3156 Datasheet HTML 23Page - STMicroelectronics AN3156 Datasheet HTML 24Page - STMicroelectronics AN3156 Datasheet HTML 25Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 26 page
background image
DocID017068 Rev 4
21/26
AN3156
DFU_DNLOAD request commands
25
The Read Unprotect command is effectively executed only when a DFU_GETSTATUS
request is issued by the host. If the status returned by the device is not dfuDNBUSY, then an
error has occurred. After this operation, the device removes the Read Protection and,
consequently, both the internal Flash and the embedded RAM are fully erased.
Hence, just after executing this command, the device disconnects itself and executes a
system reset. In this case, the device is not able to respond to a second Get Status request.
And the host has to wait until the device is enumerated again.
A second DFU_GETSTATUS request may also be issued (if the device is still connected) to
check if the command has been correctly executed. If the device fails to execute the
command it returns an error status (depending on the error type).
Figure 10. Read Unprotect command: Device side
5.5
Leave DFU mode
It is possible to exit DFU mode (and bootloader) and jump to a loaded application (in the
internal Flash or in the embedded RAM) using the DFU download request.
The Host sends a DFU_DNLOAD request with 0 data length (no data stage after the
request) in order to inform the device that it will have to exit DFU mode. The device
acknowledges this request if the current state is dfuDNLOAD-IDLE or dfuIDLE.



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