Skip to main content
ledi001
Associate III
October 26, 2024
Solved

Question to BLE_ApplicationInstallManager with BLE_p2pServer_ota Example (NUCLEO-WBA55CG)

  • October 26, 2024
  • 1 reply
  • 717 views

Hi,

If I have understood correctly, the OTA bootloader is already integrated in the examples BLE_p2pServer_ota and BLE_HeartRate_ota for the WBA55CG. This means that the BLE_ApplicationInstallManager no longer needs to be installed on the target beforehand. Then why is the start address of the flash 0x0800 6000 and not 0x0800 0000 in the linker script file? If the OTA bootloader is also installed, the start address should not be 0x0800 0000?

Here the Memory Definitions in the Linker-Script file:

BLE_p2pServer_ota

/* Memories definition */
MEMORY
{
 RAM (rw) : ORIGIN = 0x20000020, LENGTH = (128K - 0x20)

 NVM (r) : ORIGIN = 0x080FC000, LENGTH = 16K
 DATA (r) : ORIGIN = 0x080FA000, LENGTH = 8K
 FLASH (rx) : ORIGIN = 0x08006000, LENGTH = 488K
}

 

BLE_ApplicationInstallManager

/* Memories definition */
MEMORY
{
 RAM (rw) : ORIGIN = 0x20000010, LENGTH = (0x10000 - 0x10)

 FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 0x6000
}

In this case, so if the OTA bootloader is included here for BLE_p2pServer_ota, shouldn't the area for the flash also start at 0x0800 0000? 

Best answer by STTwo-32

Hello @ledi001 

not exactly, the ota application is included on the heart rate and server ota application. But the application install manager should be there since it manages the firmware update over the air of the BLE application. That is why we have to follow the exact recommandations of the readme file.

Best Regards.

STTwo-32 

1 reply

STTwo-32
STTwo-32Best answer
Technical Moderator
October 26, 2024

Hello @ledi001 

not exactly, the ota application is included on the heart rate and server ota application. But the application install manager should be there since it manages the firmware update over the air of the BLE application. That is why we have to follow the exact recommandations of the readme file.

Best Regards.

STTwo-32