Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

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

Back Button AN3156 Datasheet HTML 16Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 20 / 26 page
background image
DFU_DNLOAD request commands
AN3156
20/26
DocID017068 Rev 4
The Erase 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.
A second DFU_GETSTATUS request is needed to check if the command has been correctly
executed. If the received page address is wrong or unsupported, the device status is then
(Status = dfuERROR, State = errTARGET). If the Flash Read Protection is active, then the
device returns the status (Status = dfuERROR, State = errVENDOR) and the erase
operation is ignored by the device.
The allowed Erase page addresses are internal Flash memory addresses.
Note:
No error is returned when performing Erase operations on write protected sectors.
Figure 9. Erase command: Device side
5.4
Read Unprotect command
The Read Unprotect command is selected when wValue = 0 and the first byte of the buffer
sent by the host is 0x92. The buffer length should be only 1 byte (only the command byte).
The host sends a DFU_DNLOAD request with the above parameters to remove the read
protection of the internal Flash memory.
The device receives the byte as follows:
After sending a Read Unprotect command, the host has to send a DFU_GETSTATUS
request.
Byte 1:
0x92
- Read Unprotect command



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