beautypg.com

3 real time clock (rtc) and watchdog timer (wdt) – Artesyn COMX-P40x0 ENP2 Installation and Use (January 2015) User Manual

Page 114

background image

BSP

COMX-P40x0 ENP2 Installation and Use (6806800R95C)

114

brd me 00

brd ms 4096

brd md 'ComExpress module on P4080(1.5GHz)'

brd ma 'Emerson Network Power'

brd save

7.15.3 Real Time Clock (RTC) and Watchdog Timer (WDT)

The COMX-P40x0 ENP2 module uses RTC and Watchdog features on M41ST85W. The I2C
RTC/WDT M41ST85W (U12) is adopted on the COMX-P40x0 ENP2 and located on I2C<1>.

Boot up message in the U-Boot will be as follows: "RCT: M41ST85W@68" and "WDT:
M41ST85W@68(disabled)".

U-Boot provides "date" commands to operate the RTC features. These include get/set/reset
date and time.

The following are usage samples for "date" on the COMX-P40x0 ENP2.

date
Date: 2010-12-01 (Wednesday) Time: 17:57:37

date reset
Reset RTC
Date: 2010-18-01 (Sunday) Time: 0:00:00

date 120117592010.00
Date: 2010-12-01 (Wednesday) Time: 17:59:00

date [MMDDhhmm[[CC]YY][.ss]]

date reset

without arguments:

Prints date and time

with numeric argument:

Sets the system date and time

with ’reset’ argument:

Resets the RTC