Restarting the System
http://www.motorola.com/computer/literature
2-13
2
For details on resetting the MVME172P4 board through software, refer to
the MVME1X2P4 Embedded Controller Programmer’s Reference Guide.
Both “cold” and “warm” reset modes are available. By default, 172Bug is
in “cold” mode. During cold resets, a total system initialization takes place,
as if the MVME172P4 had just been powered up. All static variables
(including disk device and controller parameters) are restored to their
default states. The breakpoint table and offset registers are cleared. The
target registers are invalidated. Input and output character queues are
cleared. Onboard devices (timer, serial ports, etc.) are reset, and the two
serial ports are reconfigured to their default state.
During warm resets, the 172Bug variables and tables are preserved, as well
as the target state registers and breakpoints.
Note that when the MVME172P4 comes up in a cold reset, 172Bug runs
in Board mode. Using the Environment (ENV) or MENU commands can
make 172Bug run in System mode. Refer to Chapter 3 for specifics.
You will need to reset your system if the processor ever halts, or if the
172Bug environment is ever lost (vector table is destroyed, stack
corrupted, etc.).
Abort
Aborts are invoked by pressing and releasing the
ABORT
switch on the
MVME172P4 front panel. When you invoke an abort while executing a
user program (running target code), a snapshot of the processor state is
stored in the target registers. This characteristic makes aborts most
appropriate for terminating user programs that are being debugged.
If a program gets caught in a loop, for instance, aborts should be used to
regain control. The target PC, register contents, etc., help to pinpoint the
malfunction.
Pressing and releasing the
ABORT
switch generates a local board condition
which may interrupt the processor if enabled. The target registers,
reflecting the machine state at the time the
ABORT
switch was pressed, are
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com