Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN3154 Datasheet(PDF) 19 Page - STMicroelectronics

Part # AN3154
Description  CAN protocol used in the STM32 bootloader
PDF  34 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3154 Datasheet(HTML) 19 Page - STMicroelectronics

Back Button AN3154 Datasheet HTML 15Page - STMicroelectronics AN3154 Datasheet HTML 16Page - STMicroelectronics AN3154 Datasheet HTML 17Page - STMicroelectronics AN3154 Datasheet HTML 18Page - STMicroelectronics AN3154 Datasheet HTML 19Page - STMicroelectronics AN3154 Datasheet HTML 20Page - STMicroelectronics AN3154 Datasheet HTML 21Page - STMicroelectronics AN3154 Datasheet HTML 22Page - STMicroelectronics AN3154 Datasheet HTML 23Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 19 / 34 page
background image
DocID017063 Rev 5
19/34
AN3154
Bootloader command set
33
After sending an ACK message to the application, the bootloader firmware performs the
following:
•
it initializes the registers of the peripherals used by the bootloader to their default reset
values
•
it initializes the user application’s main stack pointer
•
it jumps to the memory location programmed in the received ‘address + 4’ (which
corresponds to the address of the application’s reset handler).
For example if the received address is 0x0800 0000, the bootloader will jump to the
memory location programmed at address 0x0800 0004.
In general, the host should send the base address where the application to jump to is
programmed
Note:
1
The Jump to the application works only if the user application sets the vector table correctly
to point to the application address.
2
The valid addresses for the Go command are in RAM or Flash memory (refer to Section 3.1:
Get command for more details about the valid memory addresses for the device you are
using). All other addresses are considered not valid and are NACKed by the device.
3
When an application is loaded into RAM and then a jump is made to it, the program must be
configured to run with an offset to avoid overlapping with the first RAM memory used by the
bootloader firmware (refer to Section 3.1: Get command for more details about the RAM
offset for the device you are using).
Figure 14. Go command: host side
1. See product datasheet for valid addresses.
The host sends the bytes as follows
Go command message: Std ID = 0x21, DLC = 0x04, data[0] = 0xXX: MSB address,...data[3]
= 0xYY LSB address.



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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