Oct 04, 2022
01:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 04, 2022
01:01 AM
Hello, all ...
If I set the RTC and do a warm boot, the RTC is correctly preserved. On cold boot, however, it's set to Jan 1, 2000. I'd like to have it set to a different date on cold boot. How do I specify the value it should be set to on cold boot only? The values in the PSoC Creator RTC generated code (project/GeneratedCode/RTC.c) don't seem to be applied. What am I missing?
Regards,
John
Solved! Go to Solution.
1 Solution
Oct 04, 2022
03:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 04, 2022
03:47 AM
John,
You could set it to the __TIME__ and __DATE__ of the last file modification.
Len
"Engineering is an Art. The Art of Compromise."
"Engineering is an Art. The Art of Compromise."
1 Reply
Oct 04, 2022
03:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 04, 2022
03:47 AM
John,
You could set it to the __TIME__ and __DATE__ of the last file modification.
Len
"Engineering is an Art. The Art of Compromise."
"Engineering is an Art. The Art of Compromise."