Electronic Components Datasheet Search
  English  ▼

X  

AN4491 Datasheet(PDF) 16 Page - STMicroelectronics

Part # AN4491
Description  BlueNRG updater
PDF  18 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4491 Datasheet(HTML) 16 Page - STMicroelectronics

Back Button AN4491 Datasheet HTML 10Page - STMicroelectronics AN4491 Datasheet HTML 11Page - STMicroelectronics AN4491 Datasheet HTML 12Page - STMicroelectronics AN4491 Datasheet HTML 13Page - STMicroelectronics AN4491 Datasheet HTML 14Page - STMicroelectronics AN4491 Datasheet HTML 15Page - STMicroelectronics AN4491 Datasheet HTML 16Page - STMicroelectronics AN4491 Datasheet HTML 17Page - STMicroelectronics AN4491 Datasheet HTML 18Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 16 / 18 page
background image
Update algorithm
AN4491
16/18
DocID026337 Rev 1
7
Update algorithm
The updater client should adhere to the following procedure when updating the BlueNRG
firmware.
1.
Use the Updater_Start command to put the device into updater mode.
2.
Wait for the EVT_BLUE_INITIALIZED to be sure that the device has booted in the
updater mode. Check the reason code in the event. If the firmware is corrupted, for
example, the client should provide the information to the user.
3.
Read updater version (optional).
4.
Read updater buffer size. This is needed to ensure the data block to be written is not
bigger than the buffer.
5.
Clear BLUE flag.
6.
Erase 30 Flash sectors in FLASH1.
7.
Write new firmware data with Updater_WriteDataBlock command.
8.
Run Updater_CalculateCRC command, which will generate the CRC calculation based
on the 62 KB FLASH1.
9.
Report the CRC code to the user.
10. If the CRC is OK, reset the BLUE flag.
11. Run Updater_Reboot to reboot the system. It is also possible to switch off power or do
a HW reset.
Update the IFR data section is similar. Only the client needs to give the proper address for
the IFR Flash.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18


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