8 m41st85wmx6tr, U-boot deployment – Artesyn COMX-P2020 BSP User Guide (July 2014) User Manual
Page 59

U-boot Deployment
COMX-P2020 BSP User Guide (6806800L84B)
59
00c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
=>
5.4.8
M41ST85WMX6TR
The M41ST85W can be used as RTC and Watchdog. For RTC, we can use the standard U-boot
command "date" to set and show the date and time. For the watchdog, we can use the
command: "wdg" to enable, disable and reset the watchdog.
=> wdg
Usage
wdg enable second - Enable Watchdog at second
wdg disable - Disable Watchdog
wdg reset - Reset Watchdog
1. Chip Probe:
The M41ST85W address is D0h(8-bit), and it can be accessed at I2C#2.
=> i2c dev 1
Setting bus to 1
=> i2c probe
Valid chip addresses: 1B 33 48 53 68
Excluded chip addresses:
2. Set and show date and time:
The standard U-boot command "date" can be used to set and show the date for
M41ST85W. For example, we can set the time to 2010-05-25 11:11:50 by the following
command:
=> date 052511112010.50
Date: 2010-05-25 (Tuesday) Time: 11:11:50
=> date
Date: 2010-05-25 (Tuesday) Time: 11:11:51
=>
3. Enable Watchdog
We can Enable the watchdog by the command: "wdg enable"; For example:
=> wdg enable 20
Watchdog Enable at 32 second!