Monitor:
Basic Operation
Pm8560 User’s Manual
10006609-03
11-6
Boot Redirect and Monitor Recovery (Watchdog)
The PLD initiates a countdown to reset the Pm8560 and boot from an alternate location
within .5 second of power-up. The monitor disables the PLD watchdog (see “Boot Device
Failover Mechanism” on page 8-9) and enables its own software watchdog that will activate
at approximately 10 second intervals. This watchdog feature requires that a monitor be
placed in flash at both 0xE1F80000 and 0xE0F80000 to function properly. See “moninit” on
page 11-20 and “mon2init” on page 11-20.
To implement the watchdog feature, set up the following variables:
setenv watchdog_period <seconds>
setenv bootcmd monrecovery\;watchdog\;
your boot command
\;
savenv
The watchdog command must be re-run in order for changes to
watchdog_period
to take
effect. Resetting the board will not update the watchdog timer unless watchdog command
is in the
bootcmd
environment.
The watchdog feature checks for a boot redirection failure and repairs the monitor if
needed. Set the watchdog to activate every <seconds> and boot your code.
If you need to disable this watchdog feature, set the variable
watchdog_disable
to on.
The monrecovery command (see page 11-21) checks if a boot redirection has occurred. If
so, monrecovery copies the secondary monitor image to the primary location.
Updating the Monitor via TFTP
To update the monitor, execute the following commands and insert the appropriate
data
in
the italicized fields:
If necessary, edit your network settings:
Pm8560 (1.4) => setenv ipaddr
192.168.1.100
Pm8560 (1.4) => setenv gatewayip
192.168.1.1
Pm8560 (1.4) => setenv netmask
255.255.255.0
Pm8560 (1.4) => setenv serverip
10.64.16.168
Optionally, save your settings:
Pm8560 (1.4) => saveenv
TFTP the new monitor (binary) image to memory location 0x100000:
Pm8560 (1.4) => tftpboot 100000
path_to_file_on_tftp_server
Update the monitor in bank 0
Pm8560 (1.4) => moninit
serial_number
100000
Update the monitor in bank 1:
Summary of Contents for Pm8560
Page 8: ...Contents continued Pm8560 User s Manual 10006609 03 vi ...
Page 10: ...Pm8560 User s Manual 10006609 03 viii blank page ...
Page 12: ...Pm8560 User s Manual 10006609 03 x blank page ...
Page 14: ...Pm8560 User s Manual 10006609 03 ii blank page ...
Page 36: ...Setup Troubleshooting Pm8560 User s Manual 10006609 03 2 12 ...
Page 54: ...Serial I O Baud Rate Selection Pm8560 User s Manual 10006609 03 5 4 ...
Page 62: ...TDM Interface Rear Panel I O Connector P14 Pm8560 User s Manual 10006609 03 6 8 ...
Page 72: ...PCI Bus Interface PMC Connector Pin Assignments Pm8560 User s Manual 10006609 03 7 10 ...
Page 112: ...Development Mezzanine Card Troubleshooting Pm8560 User s Manual 10006609 03 10 12 ...
Page 138: ...Monitor Download Formats Pm8560 User s Manual 10006609 03 11 26 ...
Page 144: ...Index continued Pm8560 User s Manual 10006609 03 i 4 ...