Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4486 Datasheet(PDF) 8 Page - STMicroelectronics

Part # AN4486
Description  This application note describes the BlueNRG and BlueNRG-MS over-the-air
PDF  29 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4486 Datasheet(HTML) 8 Page - STMicroelectronics

Back Button AN4486 Datasheet HTML 4Page - STMicroelectronics AN4486 Datasheet HTML 5Page - STMicroelectronics AN4486 Datasheet HTML 6Page - STMicroelectronics AN4486 Datasheet HTML 7Page - STMicroelectronics AN4486 Datasheet HTML 8Page - STMicroelectronics AN4486 Datasheet HTML 9Page - STMicroelectronics AN4486 Datasheet HTML 10Page - STMicroelectronics AN4486 Datasheet HTML 11Page - STMicroelectronics AN4486 Datasheet HTML 12Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 29 page
background image
OTA bootloader service description
AN4486
8/29
DocID026293 Rev 2
Figure 2: BLE OTA service bootloader
2.2.1
Reset Manager
The Flash base for STM32L1 starts at 0x8000000, meaning that at device reset, the
microcontroller will start executing application images sitting on that boundary. All the
BlueNRG and BlueNRG-MS kits platforms are preprogrammed with a DFU application
allowing the download of binary images into the internal Flash of the STM32L. Once the
OTA bootloader writes a new image starting from a base address that is above the Flash
base + DFU size (0x3000), we need a way to allow transfer of control towards the new
application every time we reset. For that purpose, every device on which we plan to include
the OTA bootloader service will, at first, need to be loaded with a Reset Manager starting
from the Flash base address + DFU size. At device reset, the Reset Manager will take care
of jumping to the location of the last image that was successfully loaded by the OTA
bootloader, as indicated in the higher 8 bytes within the EEPROM memory range of the
device (starting at address 0x08080FF8). To summarize, Figure 3: "BLE OTA service
bootloader Flash layout" shows a typical Flash memory layout for a device with OTA
bootloader service on-board, with an STM32L as the host microcontroller. At device initial
setup, we will utilize the BlueNRG GUI in order to upload in Flash the application into the
STM32L at address 0x8003800 (Reset Manager upper end), then we will do the same in
order to upload the Reset Manager itself at address 0x8003000. Actions must be taken to
erase the relevant EEPROM locations for proper Reset Manager initial setup as well. On
the BlueNRG and BlueNRG-MS kits platform, this can be achieved by keeping BUTTON_2
pressed while pushing the reset (LED_D1 will light up for five seconds). This will cause
EEPROM location erase, which means an “all 0” read by the Reset Manager after next
pushing of the reset button. As a consequence, by default the Reset Manager assumes
that it must jump to 0x8003800, which is exactly the reference base address for the
application to run at first setup.



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


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