2023-02-13 01:31 AM
Hi.
I tried to use TAG_OTA_END and TAG_OTA_START from BLE_HeartRate_ota ST project the same it is used in this project to verify the FOTA operation was finished successfully.
I added both, PLACE_IN_SECTION in my ble file and also I added this tags in the scatter file.
From ble file:
PLACE_IN_SECTION("TAG_OTA_END") const uint32_t MagicKeywordValue = 0x94448A29 ;
PLACE_IN_SECTION("TAG_OTA_START") const uint32_t MagicKeywordAddress = (uint32_t)&MagicKeywordValue;
From scatter file:
*.o (RESET, +First)
*.o (TAG_OTA_START)
*(InRoot$$Sections)
.ANY (+RO)
*.o (TAG_OTA_END)
My problem is that I get warning L6314W: No section matches pattern, and the tags doesn't exist in map file. I am using ARM compiler v6.16.2 (FuSa).
Does anyone tried this kind of operation, adding tags to memory mapping?
Thanks.