Moteur de recherche de fiches techniques de composants électroniques
  French  ▼
ALLDATASHEET.FR

X  

AN3262 Fiches technique(PDF) 22 Page - STMicroelectronics

No de pièce AN3262
Description  Using the over-the-air bootloader with STM32W108 devices
PDF  27 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricant  STMICROELECTRONICS [STMicroelectronics]
Site Internet  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3262 Fiches technique(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


Fiches technique Télécharger

Go To PDF Page


Lien URL



ALLDATASHEET vous a-t-il été utile ?  [ DONATE ] 

À propos de Alldatasheet   |   Publicité   |   Contactez-nous   |   Politique de confidentialité   |   Lien vers la fiche technique    |   Echange de liens   |   Fabricants
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