Skip to Main Content

Embedded Technologies

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

FRDM-K64F set the realtime clock from code?

2892292Mar 2 2015 — edited Mar 3 2015

Hi, all!

I have read the docs about rtc.time in the jwc_properties.ini file. This works ok when installing, but when the device resets or power is cycled, the clock will be incorrect. Since my app is communicating with a server, it would be simple to get the current datetime from the server. But I have not found any way to set the current clock other than the jwc_properties.ini file. Is there a way I can do this in my app? Or can my app write to the jwc_properties.ini file and then restart itself?

Thanks!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 31 2015
Added on Mar 2 2015
3 comments
1,539 views