Loco vs SubClock (RTC Source)

HI All,

 

I am using..

 

S7G2

e2studio

BSP 1.7.0

while working with RTC,  clock source...

1. LOCO, RTC behaves normally while debugging but when the device is turned off the RTC time does not increase.

1. SubClock, RTC behaves shows a default time (1970-01-01) while debugging but,

when the debugger is turned off the RTC time is correct.

 

Can anyone explain this.

Regards,

Surojit