Description:
We're using GRTC on the nRF54L15 to implement RTC calendar functionality in our project. During development, we observed the following behavior:
-
When MCUboot is used, calling
sys_reboot(SYS_REBOOT_COLD)orsys_reboot(SYS_REBOOT_WARM)from the application causes GRTC to reset. -
When MCUboot is not used, GRTC remains unchanged across reboots.
This reset breaks our calendar logic, which depends on GRTC continuity. We're using NCS version v3.1.0 with sysbuild enabled.
Questions:
-
What part of MCUboot or its initialization flow causes
grtc.SYSCOUNTto reset? -
Is there a recommended way to preserve GRTC across reboots when using MCUboot?
Any insights or suggestions would be greatly appreciated!