Querying the software version running on the net-core from the app-core's application (not bootloader)

Hi

I'know there already exists some tickets regarding getting the version number of the software running on the net-core but they are old and do not answer my question.

- First of all, is it possible to query the version from the running application on the app-core, not from mcuboot
- If yes, has it to be done by calling pcd_network_core_app_version()?
- If doing so, I get a bus error, probably because the ram region has been locked. can this be reversed?

- if the above does not work, is there another way to do so? The reason I want to do this is the same as most others asking this question. They do, for whatever reason, not want to do a simultaneous dfu and what to check the firmware of the icp_radio at runtime.

So, is there a way to achieve that? And how?

I'm using NCS-SDK v3.3.0

Parents
  • Hello,

    I have only seen the pcd_network_core_app_version() function used in mcuboot and the network core bootloader (both enable the PCD library). It may be possible to enable the same library in the app and IPC radio FW, but it is not something we have tested. The simplest approach is to read out the version information from the Bluetooth controller through the existing HCI interface (see hci_vs_sdc_zephyr_read_version_info()). However, this assumes every update of the ipc radio will included an updated version of the softdevice controller.

    Best regards,

    Vidar

Reply
  • Hello,

    I have only seen the pcd_network_core_app_version() function used in mcuboot and the network core bootloader (both enable the PCD library). It may be possible to enable the same library in the app and IPC radio FW, but it is not something we have tested. The simplest approach is to read out the version information from the Bluetooth controller through the existing HCI interface (see hci_vs_sdc_zephyr_read_version_info()). However, this assumes every update of the ipc radio will included an updated version of the softdevice controller.

    Best regards,

    Vidar

Children
No Data
Related