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

X  

AN3262 数据表(PDF) 4 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) 4 Page - STMicroelectronics

  AN3262 Datasheet HTML 1Page - STMicroelectronics AN3262 Datasheet HTML 2Page - STMicroelectronics AN3262 Datasheet HTML 3Page - STMicroelectronics AN3262 Datasheet HTML 4Page - STMicroelectronics AN3262 Datasheet HTML 5Page - STMicroelectronics AN3262 Datasheet HTML 6Page - STMicroelectronics AN3262 Datasheet HTML 7Page - STMicroelectronics AN3262 Datasheet HTML 8Page - STMicroelectronics AN3262 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 4 / 27 page
background image
Bootloader command set
AN3262
4/27
Doc ID 17845 Rev 2
3
Bootloader command set
Table 1 lists commands supported by the OTA bootloader. A detailed command-by-
command protocol description follows.
Communication safety
All communications from the Host to the device are verified by:
Checksum: received blocks of data bytes are XORed. A byte containing the computed
XOR of all previous bytes is added to the end of each communication (checksum byte).
By XORing all received bytes, data + checksum, the result at the end of the packet
must be 0x00.
For each command, the host sends a byte and its complement (XOR = 0x00).
Each packet is either accepted (ACK) or discarded (NACK):
ACK = 0x79
NACK = 0x1F
Table 1.
OTA bootloader commands
Command
Command code
Command description
GET (1)
1.
This command is supported by unicast and broadcast packets, while all the other are unicast only.
0x00
Gets version number and list of commands allowed.
GET VERSION (1)
0x01
Gets bootloader version and Read Protection status of
the Flash memory.
GET ID (1)
0x02
Gets chip ID of device.
ERASE
0x43
Erases memory pages of selected device.
WRITE MEMORY
0x31
Writes up to 96 bytes in memory of selected device.
WRITE INCREMENTAL
MEMORY (2)
2.
The WRITE INCREMENTAL MEMORY command is the only one not included in the original USART bootloader
command set.
0x36
Writes up to 96 bytes in memory of selected device
incrementing next write address on device
automatically.
READ MEMORY
0x11
Reads up to 96 bytes of memory starting from a user-
specified address.
GO
0x21
Starts the code at a given location for a given device.



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