This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Can the Bootloader Code extract Application version number from the Application?

I am using an nrf51422 board. I want to update via OTA using ANT+ Dongle. The device information shown in the OTA Updater is parsed from the Bootloader Code. Is there any way that the Bootloader gets it's device information from the Application? Also, can the device information from the Bootloader code be sent as an ANT Payload?

Parents
  • Hi Roshan,

    If you have a look at the documentation, you can find how the application version is passed from the application to the bootloader (by writing to flash). The ota_tester project is a good source to have a look.

    I believe the information about application and bootloader both are send when the central request ANTFS_FILE_INDEX_OTA_UPDATE_INFO , handled in antfs_event_download_data_handle().

    Maybe it's just the OTA updater tool doesn't display it.

Reply
  • Hi Roshan,

    If you have a look at the documentation, you can find how the application version is passed from the application to the bootloader (by writing to flash). The ota_tester project is a good source to have a look.

    I believe the information about application and bootloader both are send when the central request ANTFS_FILE_INDEX_OTA_UPDATE_INFO , handled in antfs_event_download_data_handle().

    Maybe it's just the OTA updater tool doesn't display it.

Children
No Data
Related