Associate III
September 17, 2019
Question
Integrating OTA into an existing project
- September 17, 2019
- 3 replies
- 1582 views
Hi,
I am in the process of integrating OTA functionality into my project using the examples in STM32Cube_FW_WB_V1.2.0. With reference to AN5247, I have added the Reboot Characteristic and changed my Flash start address to 0x08007000.
I have also noticed that in the BLE_HeartRate project, that there is the "MagicKeywordValue", "MagicKeywordAddress" and "BleApplicationContext" placed in various different sections in flash ("TAG_OTA_END", "TAG_OTA_START" & "BLE_APP_CONTEXT"). I have a few questions as these do not seem to mentioned in the App Note.
- What memory address should these sections be placed in a how is that done in the linker file? GCC Linker File attached.
- How and where is the "BleApplicationContext" utilised in the BLE_OTA project?
- As the "MagicKeywordValue" & "MagicKeywordAddress" is used for Firmware Validity, should the value and address be changed for security?
Thanks,
Daniel
