Electronic Components Datasheet Search
  English  ▼

X  

AN2606 Datasheet(PDF) 21 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) 21 Page - STMicroelectronics

Back Button AN2606 Datasheet HTML 17Page - STMicroelectronics AN2606 Datasheet HTML 18Page - STMicroelectronics AN2606 Datasheet HTML 19Page - STMicroelectronics AN2606 Datasheet HTML 20Page - STMicroelectronics AN2606 Datasheet HTML 21Page - STMicroelectronics AN2606 Datasheet HTML 22Page - STMicroelectronics AN2606 Datasheet HTML 23Page - STMicroelectronics AN2606 Datasheet HTML 24Page - STMicroelectronics AN2606 Datasheet HTML 25Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 155 page
background image
DocID13801 Rev 21
21/155
AN2606
General bootloader description
154
Figure 5. CAN Connection
Note:
When a bootloader firmware supports DFU, it is mandatory that no USB Host is connected
to the USB peripheral during the selection phase of the other interfaces. After selection
phase, the user can plug a USB cable without impacting the selected bootloader execution
except commands which generate a system reset.
It is recommended to keep the RX pins of unused Bootloader interfaces (USART_RX,
SPI_MOSI, CAN_RX and USB D+/D- lines if present) at a known (low or high) level at the
startup of the Bootloader (detection phase). Leaving these pins floating during the detection
phase might lead to activating unused interface.
3.4
Bootloader Memory Management
All write operations using bootloader commands must only be Word-aligned (the address
should be a multiple of 4). The number of data to be written must also be a multiple of 4
bytes (non-aligned half page write addresses are accepted).
Some products embed a bootloader that has some specific features:
Some products don’t support Mass erase operation. To perform a mass erase
operation using bootloader, two options are available:
Erase all sectors one by one using the Erase command
Set protection level to Level 1. Then, set it to Level 0 (using the Read protect
command and then the Read Unprotect command). This operation results in a
mass erase of the internal Flash memory.
Bootloader firmware of STM32 L1 and L0 series supports Data Memory in addition to
standard memories (internal Flash, internal SRAM, option bytes and System memory).
The start address and the size of this area depend on the product, please refer to
product reference manual for more information. Data memory can be read and written
but cannot be erased using the Erase Command. When writing in a Data memory
location, the bootloader firmware manages the erase operation of this location before
any write. A write to Data memory must be Word-aligned (address to be written should
be a multiple of 4) and the number of data must also be a multiple of 4. To erase a Data
memory location, you can write zeros at this location.
Bootloader firmware of STM32 F2, F4 and L4 series supports OTP memory in addition
to standard memories (internal Flash, internal SRAM, option bytes and System
memory). The start address and the size of this area depend on the product, please
refer to product reference manual for more information. OTP memory can be read and
written but cannot be erased using Erase command. When writing in an OTP memory



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