công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AN3156 bảng dữ liệu(PDF) 18 Page - STMicroelectronics

tên linh kiện AN3156
Giải thích chi tiết về linh kiện  USB DFU protocol used in the STM32 bootloader
PDF  26 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3156 bảng dữ liệu(HTML) 18 Page - STMicroelectronics

Back Button AN3156 Datasheet HTML 14Page - STMicroelectronics AN3156 Datasheet HTML 15Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 26 page
background image
DFU_DNLOAD request commands
AN3156
18/26
DocID017068 Rev 4
Figure 7. Write Memory: Device side
5.2
Set Address Pointer command
The Set Address Pointer command is selected when wValue = 0 and the first byte of the
buffer sent by the host is 0x21. The buffer length should be 5 (the four remaining bytes are
the address bytes, LSB first (32-bit address format)).
The host sends a DFU_DNLOAD request with the above mentioned parameters to set the
address pointer value used for computing the start address for Read and Write memory
operations.
The STM32 receives bytes as follows:
After sending the Set Address Pointer command, the host has to send the
DFU_GETSTATUS request.
The Set AddressPointer 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 address is wrong or unsupported, the device status is then (Status
= dfuERROR, State = errTARGET).
Byte 1:
0x21
- Set Address Pointer command
Byte 2:
A[7:0]
- LSB of the address pointer
Byte 3:
A[15:8]
- Second byte of the address pointer
Byte 4:
A[22:16] - Third byte of the address pointer
Byte 4:
A[31:23] - MSB of the address pointer



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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