- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
With WICED_ENABLE_MCU_RTC, I would expect after setting RTC time and reboot
then I can still get correct rtc time.
However, I found platform_rtc_init will always setting the rtc time to default_rtc_time during boot.
As a result, everytime reboot the device, the rtc time is wrong.
Note, all support platforms has such behavior - always setting the rtc time to default_rtc_time during boot.
Can someone explain this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is true that after reboot, platform_rtc_set_time() will write default RTC time in platform_rtc_init(). Check if you can periodically update the DCT with RTC time and after reset, read the last RTC update saved in DCT.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In my use case, the NTP sync may fail.
So I expect I can read correct RTC value after reboot even if NTP sync failure.
You cannot expect people to update RTC value via DCT because I cannot always
get correct date-time to update RTC.
(And if I can always get correct date-time, I even don't need RTC at all.)
I think current implementation is SDK bug.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
grsr wrote:
It is true that after reboot, platform_rtc_set_time() will write default RTC time in platform_rtc_init(). Check if you can periodically update the DCT with RTC time and after reset, read the last RTC update saved in DCT.
I re-think your reply and I think it's *wrong*.
No matter how frequently you periodically save the RTC time in DCT, after reboot, the saved-time is incorrect anyway. The time past away.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I agree with your comment... saving time periodically in the DCT is not a good idea.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
arh wrote:
I agree with your comment... saving time periodically in the DCT is not a good idea.
It's not about agree or not. It just won't work, it's clearly a bug.
And the point is I have waited too long (almost 10 months since I reported it) and still not sure when will the fix available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ill see if I can figure out what the state of the JIRA is.
Alan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
arh wrote:
Ill see if I can figure out what the state of the JIRA is.
Any update? Can I expect this issue to be fixed in next release?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi cypress team,
Can I expect RTC to be working in next release?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
axel.lin_1746341 wrote:
Hi cypress team,
Can I expect RTC to be working in next release?
grsr
Any update? (This was reported 6 months ago).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am following up with the engineers (again) for an update. A ticket had been raised on this issue in December. So no comments right now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
grsr wrote:
I am following up with the engineers (again) for an update. A ticket had been raised on this issue in December. So no comments right now.
grsr
It has been quite long time since I reported this issue.
Will upcoming release fix the RTC issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
GauravS_31 wrote:
I am following up with the engineers (again) for an update. A ticket had been raised on this issue in December. So no comments right now.
wiced-6.6 does not include the fix.
It has been quite long time since this issue was reported, can you update the status?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@GauravS_31 wrote:
I am following up with the engineers (again) for an update. A ticket had been raised on this issue in December. So no comments right now.
Still no update?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Reviving this post to see if there has been any updates. I am encountering the same issue with RTCC and wish to not only preserve the time while in hibernate but increment time too.
As of now, when I wake from hibernate, the RTCC registers is reset. NTP is not an option during this mode and i need to timestamp events for a log.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
nickmckendree_1688136 wrote:
Reviving this post to see if there has been any updates.
I don't get any update.