I am using SDK 3.0.3 With the FreeRTOS, FATFS and the RTC. I have the FATFS get the timestamp from the RTC module. The problem is the timestamp doesn't get updated instead it uses g_timeStampStartTime. Is there something special I need to do to have the timestamp in the FATFS to get updated.
I did not do anything with the RTC module am I supposed to do somethin with it? I assumed the FATFS module would have handled that since it starts the RTC module and sets the date and time.
That code only initializes the timestamp when you mount the drive. after that the timestamp never gets updated. The function TimeStamp_UpdateTimeDate just return g_timeStampStartTime. There is a function called TimeStamp_IRQHandler that does update g_timeStampStartTime by calling the TimeStamp_GetTimeDate function but it is never called.
Ok and when you check the RTC module later, is it running and is the RTCF interrupt flag set?
Regards,
Lukas
Hi Matt,
I can't see anything special. Could you check if this code is executed as expected?
Regards,
Lukas