In the example of LPCUSBlib_MassStorageHost in LPCOpen 2.2, it seems to me that there is a minor defect at setting RTC (time will be used in FAT32).
int rtc_initialize (void)
{
...
Chip_RTC_SetFullAlarmTime(LPC_RTC, &rtcTime);
...
}
It should be
int rtc_initialize (void)
{
...
Chip_RTC_SetFullTime(LPC_RTC, &rtcTime);
...
}
解決済! 解決策の投稿を見る。
Hi Jeremy,
yes, you're right.
the rtc function will be used in filesystem. if you create or modify a file, the file's new time stamp will use the rtc values.
thank you!
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Could you please let us know the device you are using??
Regards
I'm using OM13076 board (LPC18S37JET100).
Hi Jeremy,
yes, you're right.
the rtc function will be used in filesystem. if you create or modify a file, the file's new time stamp will use the rtc values.
thank you!
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
We are checking this internally. Thank you for your feedback.
Have a nice day!
Regards
Soledad