| Electronic Components Datasheet Search |
|
AN4491 Datasheet(PDF) 16 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4491 Datasheet(HTML) 16 Page - STMicroelectronics |
|
16 / 18 page ![]() 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. |
|
|
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 |
| 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 |