数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN3262 数据表(PDF) 22 Page - STMicroelectronics

部件名 AN3262
功能描述  Using the over-the-air bootloader with STM32W108 devices
PDF  27 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN3262 数据表(HTML) 22 Page - STMicroelectronics

Back Button AN3262 Datasheet HTML 18Page - STMicroelectronics AN3262 Datasheet HTML 19Page - STMicroelectronics AN3262 Datasheet HTML 20Page - STMicroelectronics AN3262 Datasheet HTML 21Page - STMicroelectronics AN3262 Datasheet HTML 22Page - STMicroelectronics AN3262 Datasheet HTML 23Page - STMicroelectronics AN3262 Datasheet HTML 24Page - STMicroelectronics AN3262 Datasheet HTML 25Page - STMicroelectronics AN3262 Datasheet HTML 26Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 27 page
background image
Bootloader command set
AN3262
22/27
Doc ID 17845 Rev 2
The host sends the following bytes to the STM32W device:
Byte 1:
0x31
Byte 2:
0xCE
Wait for ACK
Bytes 3 to 6:
Start address (Byte 3 is the MSB and Byte 6 is the LSB)
Byte 7:
Checksum (XOR value of Bytes 3 to 6)
Wait for ACK
Byte 8:
Number of bytes to be received (0 < N
≤ 95)
N +1 data bytes (maximum of 96 bytes)
Byte 9:
Checksum (XOR value of N, N+1 data bytes)
Figure 24.
WRITE MEMORY packet example
3.7
ERASE MEMORY command
The ERASE MEMORY command enables the host to erase Flash memory pages. When the
bootloader receives the ERASE MEMORY command, it transmits the ACK byte to the host.
After sending the ACK byte, the bootloader receives one byte (the number of pages to be
erased), the Flash memory page codes and a checksum byte. If the checksum is correct,
the bootloader erases the memory and sends an ACK byte to the host; otherwise, it sends a
NACK byte to the host and the command is aborted.
ERASE MEMORY command specifications:
The bootloader receives one byte containing N, the number of pages to be erased – 1.
(For 0
≤ N ≤115, N + 1 pages are erased.)
The bootloader receives (N + 1) bytes, each byte containing a page number.
Note:
No error is returned when performing erase operations on write-protected sectors.



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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