RTC

Copy the executable file rtc_test to board, it can be find in the ” /Examples/rtc”. Enter the following command, it will set the RTC time as 2014/8/14 11:03:40, and then read it.

    # ./rtc_test -s 11 03 40 2014 08 14
                date/time is updated to:  14-8-2014, 11:03:40.
    # ./rtc_test
              Current RTC date/time is 14-8-2014, 11:03:50.