Hi guys.
I have a problem setting the Lemur RTC date. After deploying code containing method RealTimeClock.SetDateTime(any_date) my device freezes. After that it’s not possible to deploy code anymore, no answer on ping.
Output after deploying a code:
[em]Looking for a device on transport 'USB’
Starting device deployment…
Iteration 0
Opening port \?\usb#vid_1b9f&pid_0102#7&159e09fd&0&1#{d32d1d64-963d-463e-874a-8ec8c8082cbf}
Attaching debugger engine…[/em]
To make Lemur accessible again I have to reload firmware. Maybe there is a better way…
Same behavior occurs if calling method RealTimeClock.SetAlarm.
Method RealTimeClock.GetDateTime() causes no problem, but the time doesn’t change. It’s constant 01/01/1980 00:00:00
while (true)
{
Thread.Sleep(2000);
Debug.Print(RealTimeClock.GetDateTime().ToString());
}
Am I doing anything wrong? Is it possible that RTC on STM32 is somehow damaged?
NETMF v4.3
Lemur firmware 4.3.8.1
Thanks.