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

X  

AN3154 Fiches technique(PDF) 8 Page - STMicroelectronics

No de pièce AN3154
Description  CAN protocol used in the STM32 bootloader
PDF  34 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricant  STMICROELECTRONICS [STMicroelectronics]
Site Internet  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3154 Fiches technique(HTML) 8 Page - STMicroelectronics

Back Button AN3154 Datasheet HTML 4Page - STMicroelectronics AN3154 Datasheet HTML 5Page - STMicroelectronics AN3154 Datasheet HTML 6Page - STMicroelectronics AN3154 Datasheet HTML 7Page - STMicroelectronics AN3154 Datasheet HTML 8Page - STMicroelectronics AN3154 Datasheet HTML 9Page - STMicroelectronics AN3154 Datasheet HTML 10Page - STMicroelectronics AN3154 Datasheet HTML 11Page - STMicroelectronics AN3154 Datasheet HTML 12Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 34 page
background image
Bootloader command set
AN3154
8/34
DocID017063 Rev 5
3
Bootloader command set
The supported commands are listed in Table 2. Each command is further described in this
section.
Communication safety
Each packet is either accepted (ACK answer) or discarded (NACK answer):
•
ACK message = 0x79
•
NACK message = 0x1F
3.1
Get command
The Get command allows the host to get the version of the bootloader and the supported
commands. When the bootloader receives the get command, it transmits the bootloader
version and the supported command codes to the host.
Table 2. CAN bootloader commands
Command
Command code
Command description
Get(1)
1. Read protection – When the RDP (read protection) option is active, only this limited subset of commands is
available. All other commands are NACKed and have no effect on the device. Once the RDP has been
removed, the other commands become active.
0x00
Gets the version and the allowed commands
supported by the current version of the bootloader
Get Version &
Read Protection Status(1)
0x01
Gets the bootloader version and the Read Protection
status of the Flash memory
Get ID(1)
0x02
Gets the chip ID
Speed
0x03
The speed command allows the baud rate for CAN
run-time to be changed.
Read Memory(2)
2. Please refer to STM32 product datasheet and AN2606 “STM32 microcontroller system memory boot
mode” to know which memory spaces are valid for these commands.
0x11
Reads up to 256 bytes of memory starting from an
address specified by the application
Go(2)
0x21
Jumps to user application code located in the internal
Flash memory or in SRAM
Write Memory(2)
0x31
Writes up to 256 bytes to the RAM or Flash memory
starting from an address specified by the application
Erase(2)
0x43
Erases from one to all the Flash memory sectors
Write Protect
0x63
Enables the write protection for some sectors
Write Unprotect
0x73
Disables the write protection for all Flash memory
sectors
Readout Protect(1)
0x82
Enables the read protection
Readout Unprotect(1)
0x92
Disables the read protection



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 28 29 30 31 32 33 34


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