Hello Nordic team,
We are using the GRTC on the nRF54L15, and we are observing the following behavior:
-
When MCUboot is enabled, the GRTC (likely backed by SYSCOUNTER) is reset after waking up from
sys_poweroff(). -
When MCUboot is not used, the GRTC behaves as expected and is not reset after wake-up.
We have already found a related DevZone ticket that appears to describe the same root cause:
GRTC resets after
sys_reboot()when using MCUboot (NCS v3.1.0)
The workaround proposed there involves changes to MCUboot.
However, in our case, the devices are already deployed in the field and do not support OTA updates for MCUboot, so modifying the bootloader is not an option.
Is there any alternative way to prevent the GRTC reset (or restore its state) without modifying MCUboot?
For example, a configuration option, application-level workaround, or recommended handling in Zephyr/NCS for this scenario.
Thank you in advance for your support.