Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN2606 Datasheet(PDF) 14 Page - STMicroelectronics

Part # AN2606
Description  STM32 microcontroller system memory boot mode
PDF  155 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2606 Datasheet(HTML) 14 Page - STMicroelectronics

Back Button AN2606 Datasheet HTML 10Page - STMicroelectronics AN2606 Datasheet HTML 11Page - STMicroelectronics AN2606 Datasheet HTML 12Page - STMicroelectronics AN2606 Datasheet HTML 13Page - STMicroelectronics AN2606 Datasheet HTML 14Page - STMicroelectronics AN2606 Datasheet HTML 15Page - STMicroelectronics AN2606 Datasheet HTML 16Page - STMicroelectronics AN2606 Datasheet HTML 17Page - STMicroelectronics AN2606 Datasheet HTML 18Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 155 page
background image
General bootloader description
AN2606
14/155
DocID13801 Rev 21
3
General bootloader description
3.1
Bootloader activation
The bootloader is activated by applying one of these patterns:
Table 2. Bootloader activation patterns
Note:
The bootloader activation procedure is not the same for all STM32 products. In each STM32
product bootloader section we specify which pattern is used to execute bootloader.
In addition to patterns described above, user might execute Bootloader by performing a
jump to system memory from user code (refer to table 64 for system memory address).
Before jumping to Bootloader user must:
•
Disable all peripheral clocks
•
Disable used PLL
•
Disable interrupts
•
Clear pending interrupts
System memory boot mode can be exited by getting out from bootloader activation
condition and generating hardware reset or using Go command to execute user code.
Note:
For some products with dual bank mechanism, the jump to Bootloader might result in
jumping again to user code (and thus Bootloader communication protocol is not executed).
Please refer to product's "Dual Bank Boot Implementation" flowchart for more details.
i.e. In order to jump and execute Bootloader communication protocol, you might configure
SYSCFG register by software to map System Memory on address 0x00000000 prior to
jumping, when this feature is available.
Patterns
Condition
Pattern1
Boot0(Pin) = 1 and Boot1(Pin) = 0
Pattern2
Boot0(Pin) = 1 and nBoot1(bit) = 1
Pattern3
Boot0 (Pin)= 1, Boot1(Pin) = 0 and BFB2 (bit) = 1
Boot0(Pin) = 0, BFB2 (bit) = 0 and both banks don’t contain valid code
Boot0(Pin) = 1, Boot1(Pin) = 0, BFB2 (bit) = 0 and both banks don’t contain
valid code
Pattern4
Boot0 (Pin)= 1, Boot1(Pin) = 0 and BFB2 (bit) = 1
Boot0(Pin) = 0, BFB2 (bit) = 0 and both banks don’t contain valid code
Boot0(Pin) = 1, Boot1(Pin) = 0 and BFB2 (bit) = 0
Pattern5
Boot0 (Pin)= 1, Boot1(Pin) = 0 and BFB2 (bit) = 0
Boot0(Pin) = 0, BFB2 (bit) = 1 and both banks don’t contain valid code
Boot0(Pin) = 1, Boot1(Pin) = 0 and BFB2 (bit) = 1
Pattern6
Boot0(Pin) = 1, nBoot1(bit) = 1 and nBoot0_SW(bit) = 1
nBoot0(bit) = 0, nBoot1(bit) = 1 and nBoot0_SW(bit) = 0
Boot0(Pin) = 0, nBoot0_SW(bit) = 1 and main flash empty



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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


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