Skip to main content
YWor.1
Associate III
February 13, 2023
Question

Start and end tags in application binary to verify FOTA operation was succeeded

  • February 13, 2023
  • 0 replies
  • 714 views

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.

This topic has been closed for replies.