User manual

Table Of Contents
DIAGNOSTIC FIRMWARE GUIDE
M68CPU32BUG/D REV 1 6-2
To execute a particular test, for example CPU, enter CPU X (X = the desired sub-command).
This command causes the monitor to find the CPU subdirectory, and then execute the specified
command from that subdirectory.
EXAMPLES
Single-Level Commands HE Help
DE Display Error Counters
Two-Level Commands CPU CPU Tests for the BCC MCU
A Register Test
6.2.3 Help (HE)
On-line documentation is provided in the form of a Help command (syntax: HE [command
name]). This command displays a menu of the top level directory if no parameters are entered, or
a menu of each subdirectory if the name of that subdirectory is entered. For example, to bring up
a menu of all the memory tests, enter HE MT. When a menu is too long to fit on the screen, it
pauses until the operator presses the carriage return (<CR>) before displaying the next screen.
6.2.4 Self Test (ST)
The monitor provides an automated test mechanism called self test. Entering ST + command
causes the monitor to run only the tests included in that command. Entering ST - command runs
all the tests included in an internal self-test directory except the command listed. ST without any
parameters runs the entire directory, which contains most of the diagnostics.
Each test for each particular command is listed in the paragraph pertaining to the command.
6.2.5 Switch Directories (SD)
To exit the diagnostic directory (and disable the diagnostic tests), enter SD. This terminates the
diagnostic commands and initializes the CPU32Bug commands. When in the CPU32Bug
directory, the prompt is CPU32Bug>. To return to the diagnostic directory, enter the SD
command. When in the diagnostic directory, the prompt is CPU32Diag>. This feature allows the
user to access CPU32Bug without the diagnostics being visible.
6.2.6 Loop-On-Error Mode (LE)
Use the Loop-on-error mode (LE) to endlessly repeat a test at the point where an error is
detected. This is useful when using a logic analyzer to trouble-shoot test failures. Enter LE and
the test name to loop on errors encountered during the test.
DIAGNOSTIC FIRMWARE GUIDE
M68CPU32BUG/D REV 1 6-3
6.2.7 Stop-On-Error Mode (SE)
Use the stop-on-error mode (SE) to halt a test at the point where an error is detected. Enter SE
then the test mnemonic to stop on errors encountered during the test.
6.2.8 Loop-Continue Mode (LC)
Use loop-continue mode (LC) to endlessly repeat a test or series of tests. This command repeats
testing of everything on the command line. To terminate the loop, press the BREAK key on the
diagnostic video display terminal. Certain tests disable the BREAK key interrupt, so pressing the
ABORT or RESET switches of the M68300PFB platform board may become necessary.
EXAMPLE
CPU32Diag>LC ST<CR> Repeats self test (ST) command to continuously test the
system.
6.2.9 Non-Verbose Mode (NV)
The diagnostics display a substantial number of error messages when an error is detected. Non-
verbose mode (NV) suppresses all messages except PASSED or FAILED. At the prompt enter
NV, the test name, and <CR>. NV ST MT causes the monitor to run the MT self-test, but show
only the names of the sub-tests and the results (pass/fail).
6.2.10 Display Error Counters (DE)
Each test in the diagnostic monitor has a dedicated error counter. As errors are encountered in a
particular test, its error counter is incremented. If one were to run a self-test or a series of tests,
the test results could be determined by examining the error counters. Entering DE, the test name,
and a <CR> displays the results of a particular test. Only nonzero values are displayed.
6.2.11 Clear (Zero) Error Counters (ZE)
The error counters, at start-up, initialize to a value of zero, but it may be necessary to reset them
to zero after errors have accumulated. The ZE command resets all error counters to zero. The
error counters can be individually reset by entering the specific test name following the
command. Example: ZE CPU A clears the error counter associated with CPU A.
6.2.12 Display Pass Count (DP)
A count of the number of passes in loop-continue mode is kept by the monitor. This count is
displayed with other information at the conclusion of each pass. To display this information
without using LC, enter DP.
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...