Read CPUNET Image Firmware Version from CPUAPP at Run Time

Hi,

My application is running NCS v2.5.3 on a nRF5340.

My project has FOTA via BLE, is running mcuboot, and is a multi-image build. I am trying to verify, from within the normal code operation, that the netcore image of my dfu package is being updated and installed and want to be able to monitor what version of firmware is running on my device. I have not been able to find a way to read the netcore firmware image version number from within my cpuapp code during operation and was wondering if there was an API call and documentation I could use.

Thank you in advance for the time and help.

Sam

Parents Reply
  • I had seen that post. I currently do not have a way to print from the NetCore application other than enabling RTT (which is only useful while debugging anyway) but when RTT is enabled, it seems to cause the ble to fail to initialize. I assume this has to do with the NetCore handling the soft device.

    We do not want to implement downgrade protection incase we want to revert to a previous version of the application but I do see its value. Is there a way to utilize the versioning used in downgrade protection to be readable via ble, maybe via the DFU BLE Service?

Children
Related