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
  • E: ***** BUS FAULT *****
    E:   Precise data bus error
    E:   BFAR Address: 0x20000000
    E: r0/a1:  0xdca345ea  r1/a2:  0x20000000  r2/a3:  0x00000004
    E: r3/a4:  0x00008800 r12/ip:  0x00000001 r14/lr:  0x000317d7
    E:  xpsr:  0x29000200
    E: Faulting instruction address (r15/pc): 0x00041126
    E: >>> ZEPHYR FATAL ERROR 25: Unknown error on CPU 0
    E: Current thread: 0x20003888 (main)
    E: Halting system

    I got the following error when I ran my code. It seems to fail from within the pcd_cmd_write function in pcd.c

Children
Related