177bug Diagnostics User's Manual: V177DIAA/UM1
177bug Diagnostics User's Manual: V177DIAA/UM1
User's Manual
V177DIAA/UM1
Notice
While reasonable efforts have been made to assure the accuracy of this document,
Motorola, Inc. assumes no liability resulting from any omissions in this document,
or from the use of the information obtained therein. Motorola reserves the right to
revise this document and to make changes from time to time in the content hereof
without obligation of Motorola to notify any person of such revision or changes.
No part of this material may be reproduced or copied in any tangible medium, or
stored in a retrieval system, or transmitted in any form, or by any means, radio,
electronic, mechanical, photocopying, recording or facsimile, or otherwise,
without the prior written permission of Motorola, Inc.
It is possible that this publication may contain reference to, or information about
Motorola products (machines and programs), programming, or services that are
not announced in your country. Such references or information must not be
construed to mean that Motorola intends to announce such Motorola products,
programming, or services in your country.
Motorola, Inc.
Computer Group
2900 South Diablo Way
Tempe, Arizona 85282
Preface
The 177Bug Diagnostics User’s Manual provides information on using the
MVME177Bug diagnostics.
This edition (/UM1) applies to 177Bug versions 1.2 and up only, and is usable with
all versions of the MVME177 series of microcomputers.
Use of the debugger, the debugger command set, use of the one-line assembler/
disassembler, and system calls for the Debugging Package are all contained in the
Debugging Package for Motorola 68K CISC CPUs User's Manual (68KBUG1/Dx and
68KBUG2/Dx).
This manual is intended for anyone who designs OEM systems, supplies
additional capability to an existing compatible system, or uses the 177Bug for
experimental purposes. A basic knowledge of computers and digital logic is
assumed.
In addition, commands that act on words or longwords over a range of addresses
may truncate the selected range so as to end on a properly aligned boundary.
To use this manual, you should be familiar with the publications listed in the
Related Documentation section in Appendix A of this manual.
Conventions
The following conventions are used in this document:
bold
is used for user input that you type just as it appears. Bold is also used for
commands, options and arguments to commands, and names of programs,
directories, and files.
italic
is used for names of variables to which you assign values. Italic is also used
for comments in screen displays and examples.
courier
is used for system output (e.g., screen displays, reports), examples, and
system prompts.
<Return>
represents the Enter or Return key.
CTRL
represents the Control key. Execute control characters by pressing the
CTRL key and the letter simultaneously, e.g., CTRL-d.
Manual Terminology
Throughout this manual, a convention has been maintained whereby data and
address parameters are preceded by a character which specifies the numeric
format as follows:
$ hexadecimal character
% binary number
& decimal number
The computer programs stored in the Read Only Memory of this device contain
material copyrighted by Motorola Inc., first published 1990, and may be used only
under a license such as the License for Computer Programs (Article 14) contained
in Motorola's Terms and Conditions of Sale, Rev. 1/79.
The software described herein and the documentation appearing herein are
furnished under a license agreement and may be used and/or disclosed only in
accordance with the terms of the agreement.
Safety Summary
Safety Depends On You
The following general safety precautions must be observed during all phases of operation, service, and
repair of this equipment. Failure to comply with these precautions or with specific warnings elsewhere in
this manual violates safety standards of design, manufacture, and intended use of the equipment.
Motorola, Inc. assumes no liability for the customer's failure to comply with these requirements.
The safety precautions listed below represent warnings of certain dangers of which Motorola is aware. You,
as the user of the product, should follow these warnings and all other safety precautions necessary for the
safe operation of the equipment in your operating environment.
Motorola and the Motorola symbol are registered trademarks of Motorola, Inc.
ZeropowerTM is a trademark of Thompson Components.
All other products mentioned in this document are trademarks or registered
trademarks of their respective holders.
DISCLAIMER OF WARRANTY
Unless otherwise provided by written agreement with Motorola, Inc., the software
and the documentation are provided on an “as is” basis and without warranty.
This disclaimer of warranty is in lieu of all warranties whether express, implied, or
statutory, including implied warranties of merchantability or fitness for any
particular purpose.
© Copyright Motorola, Inc. 1995
All Rights Reserved
Printed in the United States of America
August 1995
Contents
ix
LF - Line Feed Suppression.......................................................................... 2-9
LN - Loop Non-Verbose ............................................................................... 2-9
NV - Non-Verbose ......................................................................................... 2-9
SE - Stop-On-Error......................................................................................... 2-9
x
PRNTE - Printer BUSY Interrupts ............................................................. 3-41
REGA - Device Access ................................................................................ 3-43
REGB - Register Access............................................................................... 3-44
TMR1A - Timer 1 Counter.......................................................................... 3-45
TMR1B - Timer 1 Free-Run......................................................................... 3-46
TMR1C - Timer 1 Clear On Compare ....................................................... 3-47
TMR1D - Timer 1 Overflow Counter........................................................ 3-48
TMR1E - Timer 1 Interrupts ....................................................................... 3-49
TMR2A - Timer 2 Counter.......................................................................... 3-51
TMR2B - Timer 2 Free-Run......................................................................... 3-52
TMR2C - Timer 2 Clear On Compare ....................................................... 3-53
TMR2D - Timer 2 Overflow Counter........................................................ 3-54
TMR2E - Timer 2 Interrupts ....................................................................... 3-55
VBR - Vector Base Register ......................................................................... 3-57
MCECC - ECC Memory Board......................................................................... 3-58
Configuration Parameters .......................................................................... 3-58
CBIT - Check-Bit DRAM............................................................................. 3-60
EXCPTN - Exceptions.................................................................................. 3-62
MBE - Multi-Bit-Error ................................................................................. 3-63
SBE - Single-Bit-Error .................................................................................. 3-64
SCRUB - Scrubbing...................................................................................... 3-65
MEMC1, MEMC2 - MEMC040 Memory Controller ..................................... 3-67
Configuration Parameters .......................................................................... 3-67
ALTC_2 - Alternate Control and Status Registers .................................. 3-68
BUSCLK - Bus Clock Register.................................................................... 3-69
CHIPID - Chip ID Register......................................................................... 3-70
CHIPREV - Chip Revision Register .......................................................... 3-71
RAMCNTRL - RAM Control Register ...................................................... 3-72
ST2401 - Serial Port ............................................................................................ 3-75
Configuration Parameters .......................................................................... 3-75
BAUD - Baud Rates, Async, Internal Loopback...................................... 3-77
DMA - DMA I/O, Async, Internal Loopback ......................................... 3-79
POLL - Polled I/O, Async, Internal Loopback........................................ 3-81
INTR - Interrupt I/O, Async, Internal Loopback ................................... 3-83
ST2401 Test Group Error Messages........................................................... 3-84
CMMU - Cache and Memory Management Unit.......................................... 3-86
Configuration Parameters .......................................................................... 3-87
CCHCODE - Cache Code Copy/Execution ............................................ 3-88
xi
CCHCPYB - Cache Copyback ................................................................... 3-90
CCHSC - Cache Supervisor Code ............................................................. 3-93
CCHSCC - Cache Supervisor Code Cache Inhibit ................................. 3-96
CCHSD - Cache Supervisor Data.............................................................. 3-99
CCHSDC - Cache Supervisor Data Cache Inhibit ................................ 3-101
CCHSDWT - Cache Supervisor Data Write Through .......................... 3-103
CCHTTM - Translation Table Memory .................................................. 3-106
CCHUC - Cache User Code ..................................................................... 3-108
CCHUCCI - Cache User Code Cache Inhibit .........................................3-111
CCHUD - Cache User Data.......................................................................3-114
CCHUDCI - Cache User Data Cache Inhibit ..........................................3-117
CCHUDWT - Cache User Data Write Through .................................... 3-120
MMUMU - MMU Modified/Used Data/Code .................................... 3-123
MMUSC - MMU Supervisor Code.......................................................... 3-125
MMUSD - MMU Supervisor Data .......................................................... 3-128
MMUSP - MMU Supervisor Protect Data/Code.................................. 3-131
MMUSPF - MMU Segment/Page Fault Data/Code............................ 3-134
MMUUC - MMU User Code.................................................................... 3-137
MMUUD - MMU User Data .................................................................... 3-140
MMUWP - MMU Write Protect............................................................... 3-143
TTRSC - TTR Supervisor Code................................................................ 3-146
TTRSD - TTR Supervisor Data ................................................................ 3-148
TTRUC - TTR User Code.......................................................................... 3-150
TTRUD - TTR User Data .......................................................................... 3-152
TTRWP - TTR Write Protect - TTR .......................................................... 3-154
VME2 - VME Interface ASICs ........................................................................ 3-156
Configuration Parameters ........................................................................ 3-157
REGA - Register Access............................................................................ 3-158
REGB - Register Walking Bit.................................................................... 3-159
SWIA - Software Interrupts (Polled Mode) ........................................... 3-161
SWIB - Software Interrupts (Processor Interrupt Mode) ..................... 3-163
SWIC - Software Interrupts Priority ....................................................... 3-165
TACU - Timer Accuracy Test ................................................................... 3-167
TMRA, TMRB - Tick Timer Increment ................................................... 3-169
TMRC - Prescaler Clock Adjust............................................................... 3-170
TMRD, TMRE - Tick Timer No Clear On Compare ............................. 3-171
TMRF, TMRG - Tick Timer Clear On Compare..................................... 3-173
TMRH, TMRI - Overflow Counter.......................................................... 3-175
xii
TMRJ - Watchdog Timer Counter............................................................ 3-176
TMRK - Watchdog Timer Board Fail....................................................... 3-177
LANC - LAN Coprocessor.............................................................................. 3-178
Configuration Parameters ........................................................................ 3-179
CST - Chip Self Test ................................................................................... 3-180
DIAG - Diagnose Internal Hardware...................................................... 3-181
DUMP - Dump Configuration/Registers .............................................. 3-183
ELBC - External Loopback Cable ............................................................ 3-184
ELBT - External Loopback Transceiver .................................................. 3-187
FUSE - 12Vdc Fuse..................................................................................... 3-190
ILB - Internal Loopback ............................................................................ 3-191
IRQ - Interrupt Request ............................................................................ 3-194
MON - Monitor (Incoming Frames) Mode ............................................ 3-195
TDF -Time Domain Reflectometry .......................................................... 3-196
LANC Test Group Error Messages.......................................................... 3-198
NCR - NCR 53C710 SCSI I/O Processor....................................................... 3-203
Configuration Parameters ........................................................................ 3-203
ACC1 - Device Access ............................................................................... 3-204
ACC2 - Register Access............................................................................. 3-206
DFIFO - DMA FIFO................................................................................... 3-208
IRQ - Interrupts.......................................................................................... 3-209
LPBK - Loopback ....................................................................................... 3-212
SCRIPTS - SCRIPTS Processor ................................................................. 3-213
SFIFO - SCSI FIFO ..................................................................................... 3-216
FLASH - FLASH Memory Tests ..................................................................... 3-217
Configuration Parameters ........................................................................ 3-218
ERASE - Erase FLASH Memory .............................................................. 3-219
FILL - Fill FLASH Memory ...................................................................... 3-220
PATS - FLASH Patterns............................................................................. 3-221
FLASH Test Group Error Messages ........................................................ 3-222
xiii
APPENDIX A Related Documentation
Related Documentation ..................................................................................... A-1
Table 2-1. Diagnostic Commands ...................................................................... 2-2
Table 2-2. Diagnostic Command Prefixes......................................................... 2-8
Table 3-1. Diagnostic Test Groups ..................................................................... 3-1
Table 3-2. RAM and SRAM Tests ....................................................................... 3-3
Table 3-3. RTC Tests ........................................................................................... 3-18
Table 3-4. PCC2 Tests ......................................................................................... 3-24
Table 3-5. MCECC Tests .................................................................................... 3-58
Table 3-6. MEMC1/MEMC2 Tests................................................................... 3-67
Table 3-7. ST2401 Tests ...................................................................................... 3-75
Table 3-1. ST2401 Error Messages.................................................................... 3-84
Table 3-8. CMMU Tests ..................................................................................... 3-86
Table 3-9. VME2 Tests...................................................................................... 3-157
Table 3-10. LANC Tests ................................................................................... 3-179
Table 3-11. LANC Error Messages ................................................................. 3-199
Table 3-12. NCR Tests ...................................................................................... 3-204
Table 3-13. FLASH Tests.................................................................................. 3-218
FIGURES
Figure 1-1. 177Bug Start-up Flow ...................................................................... 1-4
TABLES
Table 2-1. Diagnostic Commands ...................................................................... 2-2
Table 2-2. Diagnostic Command Prefixes......................................................... 2-8
Table 3-1. Diagnostic Test Groups ..................................................................... 3-1
Table 3-2. RAM and SRAM Tests ....................................................................... 3-3
Table 3-3. RTC Tests ........................................................................................... 3-18
Table 3-4. PCC2 Tests ......................................................................................... 3-24
Table 3-5. MCECC Tests .................................................................................... 3-58
Table 3-6. MEMC1/MEMC2 Tests................................................................... 3-67
Table 3-7. ST2401 Tests ...................................................................................... 3-75
Table 3-1. ST2401 Error Messages.................................................................... 3-84
Table 3-8. CMMU Tests ..................................................................................... 3-86
xiv
Table 3-9. VME2 Tests ...................................................................................... 3-156
Table 3-10. LANC Tests.................................................................................... 3-178
Table 3-11. LANC Error Messages ................................................................. 3-198
Table 3-12. NCR Tests ...................................................................................... 3-203
Table 3-13. FLASH Tests .................................................................................. 3-217
Table 3-14. FLASH Error Messages................................................................ 3-222
xv
1General Information
1
Description of 177Bug
The 177Bug is a member of the M68000 firmware family which is
implemented on the MVME177 Single Board Computer. The
177Bug consists of three parts:
❏ A command-driven, user-interactive software debugger.
177Bug performs its various operations in response to user
commands entered at the keyboard. It is described in the
Debugging Package for Motorola 68K CISC CPUs User's Manual,
and is hereafter referred to as the debugger.
❏ A command-driven diagnostic package for the MVME177
board, described in chapters 2 and 3, and which are hereafter
referred to as the diagnostics.
❏ MPU, firmware, and hardware initialization routines, which
is described in the Debugging Package for Motorola 68K CISC
CPUs User's Manual.
1-1
General Information
1
177Bug Implementation
177Bug is installed in two 44-pin PLCC/CLCC PROM devices. The
PROMSs are 256K x 16 each, providing 512KB of storage. Both
PROMs are necessary because of the 32-bit longword-oriented
MC68060 memory bus architecture.
User Interface
The firmware user interface allows users to run commands and
tests from the command prompt. The interface reports results to the
diagnostic video display terminal. This interface is command line
driven and provides input/output facilities, command parsing,
error reporting, and interrupt handling. The user interface is similar
to those in existing diagnostic packages.
Language
The C programming language is used for most 177Bug modules.
The CPU-specific low-level hardware interface code is written in
assembly language.
Start-Up
When 177Bug is brought up at either power up or RESET, the
following is displayed on the diagnostic video display terminal
(port 1/console terminal):
Copyright Motorola Inc. 1988 - 1994, All Rights Reserved
MVME177 Debugger/Diagnostics Release Version x.x - mm/dd/yy
COLD Start
Local Memory Found =02000000 (&33554432)
MPU Clock Speed =50Mhz
1-2
Start-Up
1
The firmware runs the diagnostic self tests, and displays the test
result messages on the bottom line of the screen. Once the tests are
complete, the Field Service Menu appears. Select option 3 Go To
System Debugger from the menu to go to the 177-Diag> prompt.
Enter SD if you want to switch to the debugger prompt (177-Bug>).
There is a five-second delay prior to the diagnostic self tests. You
may bypass the diagnostics and exit to the Field Service Menu by
pressing the ABORT switch during this halt.
Refer to the Debugging Package for Motorola 68K CISC CPUs User's
Manual for more information on using the debugger and the Field
Service Menu.
The start-up and boot-load sequence is shown in Figure 1-1.
1-3
General Information
1
POWER-UP OR RESET 2
YES
CONFIDENCE TEST
INTERRUPT STUCK. CLEAR DEBUGGER WORK PAGE
SRAM SET POWER-UP INDICATOR
CLEAR WARM START FLAG
SET SYSFAIL NEGATE FLAG
SETUP TEMPORARY
STACK IN SRAM
INITIALIZE DEBUGGER VARIABLES
(STACK, VECTOR TABLES, ETC.)
SET SYSFAIL NEGATE FLAG
IS THIS A YES
RESET/ABORT? INITIALIZE BOARD IDENTIFIER BLOCK
NO
INITIALIZE CHARACTER I/O PORTS
CLEAR CHARACTER I/O BUFFERS
YES
NO WARM START?
CONFIGURE HARDWARE NO
PER NVRAM PARAMETERS
YES
WARM START?
IF WORK PAGE CANNOT
BE FOUND USE SRAM
FOR DEBUGGER WORK PAGE NO
1-4
Start-Up
1
3 4
YES
NVRAM LOAD
OKAY AND MPU CLOCK NO
DISPLAY WARM START MESSAGE SPEED DOES NOT MATCH NVRAM
PARAMETERS?
YES
DISPLAY COLD START MESSAGE
CALCULATE
EPROM CHECKSUM AND YES
COMPARE WITH VALUE CONTAINED
IN ROM. DO VALUES
COMPARE? NVRAM LOAD
OKAY AND SYSTEM PROBE NO
NO FOR SUPPORTED DISK/TAPE
CONTROLLERS?
LOCAL
MEMORY SIZE NOT NO
EQUAL NVRAM PARAMETERS
AND NVRAM LOAD
POWER-UP
OKAY? NO
AND AC-FAIL SHUDOWN
YES FLAG TRUE?
YES
NVRAM LOAD OKAY? ENABLE ABORT BUTTON AND AC
FAILURE INTERRUPTS
NO
1-5
General Information
1
BUG NO
YES
NO
DIAGNOSTIC SELF TESTS
NEGATE SYSFAIL SUCCESSFUL
YES
BOOT ENABLED NO
(ROM BOOT, AUTO BOOT,
NETWORK AUTO BOOT) BOOT ENABLED NO
(ROM BOOT, AUTO BOOT,
NETWORK AUTO BOOT)
YES
YES
ATTEMPT BOOT
ATTEMPT BOOT
BOOT LOAD NO
SUCCESSFUL?
BOOT LOAD NO
SUCCESSFUL?
YES
NO
FIELD SERVICE
MENU ENABLED? NO
FIELD SERVICE
MENU ENABLED?
1-6
ROMboot
1
ROMboot
177Bug occupies the PROM sockets (U1 and U2). This leaves 4MB
of FLASH memory available, of which 2MB at a time may be
switched into the visible memory map. See the SFLASH debugger
command in the Debugging Package for Motorola 68K CISC CPUs
User's Manual.
The MVME177 provides many possible memory mapping
configurations for storing a ROMboot program. See the MVME177
Single Board Computer User's Manual or the MVME177 Single Board
Computer Programmer's Reference Guide for more information, or
contact your Motorola sales office for assistance.
Memory Requirements
The program portion of 177Bug is approximately 512KB of code
consisting of download, debugger, and diagnostic packages. It is
contained entirely in EPROM/FLASH. The firmware memory on
the MVME177 is mapped starting at location $FF800000. 177Bug
requires a minimum of 64KB of contiguous read/write memory to
operate.
The ENV command controls where this block of memory is located.
Regardless of where the onboard RAM is located, the first 64KB is
used for 177Bug stack and static variable space and the rest is
reserved as user space. Whenever the MVME177 is reset, the target
PC is initialized to the address corresponding to the beginning of
the user space, and the target stack pointers are initialized to
addresses within the user space, with the target Interrupt Stack
Pointer (ISP) set to the top of the user space.
At power up or reset, all 8KB of memory at addresses $FFE0C000
through $FFE0DFFF is completely changed by the 177Bug initial
stack.
1-7
2Using the Diagnostics
2
Introduction
This chapter contains information about entering the 177Bug
diagnostic commands and tests. The diagnostic commands and test
prefixes are also described in this chapter. The diagnostic tests are
described in Chapter 3.
Running Commands
When using 177Bug, you operate the debugger or the diagnostics.
If you are in the debugger, the prompt 177-Bug> is displayed and
you have all of the debugger commands at your disposal. If you are
in the diagnostics, the prompt 177-Diag> is displayed and you have
all of the diagnostic commands, diagnostic tests, and debugger
commands at your disposal. You may switch between the
diagnostics and the debugger by using the SD command.
Set the parameters that control the operation of all tests in a test
group, such as memory range, with the CF command.
You may view a list of the debugger or diagnostics commands and
test groups by using the HE command (when at the diagnostics
prompt, HE does not list the debugger commands even thought
those commands are available).
Command Entry
To execute a command, enter the command at the 177-Diag>
prompt and press the Return key. 177Bug executes the command
and the prompt reappears.
You may enter multiple commands on one line. If a command
expects parameters and another command is to follow it, separate
the two with a semicolon (;).
2-1
Using the Diagnostics
For instance, to invoke the command RTC CLK after the command
2 RAM ADR, you may enter RAM ADR ; RTC CLK on the
command line.
Test prefixes are available to modify the execution of a test. Insert a
semicolon between the prefix and the test that it modifies. For
instance LF ; RAM (spaces are not required before or after the
semicolon).
Diagnostic Commands
The diagnostic package supports the root-level commands and
general commands, which are listed in the table below and
described on the following pages.
2-2
Diagnostic Commands
2-3
Using the Diagnostics
HE - Help
The HE command displays the available diagnostic commands, test
groups, and test prefixes. The character string (DIR) appears after a
test group name. If there are more entries than fit on the screen, the
message Press “RETURN” to continue appears.
HE does not list the debugger commands even thought those
commands are available from the 177-Diag> prompt.
To view the tests in a test group, enter the test group name after the
HE command. For example, to list all the RAM tests, enter HE
RAM.
2-4
Diagnostic Commands
2-5
Using the Diagnostics
SD - Switch Directories
Use the SD command to toggle between the diagnostic and
debugger directories. When you are running the diagnostics, the
177-Diag> prompt appears. All of the debugger and diagnostics
commands are available. When you are running the debugger, the
prompt is 177-Bug>, and only the debugger commands are
available.
2-6
Diagnostic Commands
ST - Self Test 2
The ST command runs the system self tests that the bug runs at
system start-up. The command HE ST lists the test groups that are
run with the self tests.
This command is useful for debugging board failures that may
require running the test suite while using the debugger. Upon
completion of running the test suite, the debugger prompt is
displayed.
2-7
Using the Diagnostics
2 Test Prefixes
The tests execution can be modified with the prefixes, which are
listed in Table 2-2 and are described on the following pages.
LA - Loop Always
The LA prefix causes a failed test or series of failed tests to be re-
executed endlessly. To break the loop, press the BREAK key.
Certain tests disable the BREAK key interrupt, so it may be
necessary to press the ABORT or RESET switches on the MVME177
front panel.
LC - Loop-Continue
The LC prefix causes a test or series of tests to be re-executed
endlessly. To break the loop, press the BREAK key. Certain tests
disable the BREAK key interrupt, so it may be necessary to press the
ABORT or RESET switches on the MVME177 front panel.
2-8
Test Prefixes
LE - Loop-On-Error 2
The LE prefix causes a test to be re-executed if the previous
execution returns a failure status. To break a loop, press the BREAK
key. Certain tests disable the BREAK key interrupt, so it may be
necessary to press the ABORT or RESET switches on the MVME177
front panel.
The LE prefix is useful to endlessly repeat (loop) a test when an
oscilloscope or logic analyzer is in use.
LN - Loop Non-Verbose
The LN prefix causes the test to be re-executed endlessly, and
suppresses display of the test title and pass/fail status. This is
useful for more rapid execution of the failing test.
NV - Non-Verbose
The NV prefix suppresses the display of test status and error data.
Only the test name and result (PASSED or FAILED) are listed.
SE - Stop-On-Error
The SE prefix stops a test or series of tests when an error is detected.
2-9
3Diagnostic Tests
3
Introduction
This chapter contains detailed descriptions of the 177Bug
diagnostic tests. The test sets are shown in Table 3-1.
3-1
Diagnostic Tests
To run all tests in a test group, enter the test group name without
any test names (the FLASH tests must be run individually).
You may enter any number or sequence of tests after the test group
3 name as long as the bug's input buffer size limit is not exceeded.
Upon execution of a test, a status message appears indicating the
test name and the current status. For example, the following
message appears for the PCC2 PRINTE test:
PCC2 PRNTE: Printer `BUSY' Interrupts...... Running --->
If all parts of the test pass, PASSED appears at the end of the message
line. If any part of the test fails, FAILED appears at the end of the
message line, followed by one or more error messages.
3-2
RAM - Local RAM, SRAM - Static RAM
Configuration Parameters
You may set the following parameters with the CF command (the
default values are shown):
3-3
Diagnostic Tests
3-4
RAM - Local RAM, SRAM - Static RAM
Command Input
177-Diag>RAM ADR
or
177-Diag>SRAM ADR
Messages
If the test fails, the following message appears:
Data Miscompare Error:
Address =________, Expected =________, Actual =________
3-5
Diagnostic Tests
Command Input
177-Diag>RAM ALTS
or
177-Diag>SRAM ALTS
Messages
If the test fails, the following message appears:
Data Miscompare Error:
Address =________, Expected =________, Actual =________
3-6
RAM - Local RAM, SRAM - Static RAM
3-7
Diagnostic Tests
Command Input
177-Diag>RAM BTOG
or
3
177-Diag>SRAM BTOG
Messages
If the test fails, the following message appears:
Data Miscompare Error:
Address =________, Expected =________, Actual =________
3-8
RAM - Local RAM, SRAM - Static RAM
Command Input
177-Diag>RAM CODE
or
177-Diag>SRAM CODE
Messages
If the test passes, the PASSED message appears. If the PASSED message
does not appear within a minute of executing the test, the test has
failed (the FAILED message does not appear).
3-9
Diagnostic Tests
Command Input
177-Diag>RAM PATS
or
177-Diag>SRAM PATS
Messages
If the test fails, the following message appears:
Data Miscompare Error:
Address =________, Expected =________, Actual =_________
3-10
RAM - Local RAM, SRAM - Static RAM
Command Input
177-Diag>RAM PED
or
177-Diag>SRAM PED
Messages
If a data verification error occurs, the following message appears:
RAM/PED Test Failure Data:
3-11
Diagnostic Tests
If no exception occurred when data with bad parity was read, the
following message appears:
RAM/PED Test Failure Data:
3
Parity Error Detection Exception Did Not Occur
If the exception address was different from that of the test location,
the following message appears:
RAM/PED Test Failure Data:
3-12
RAM - Local RAM, SRAM - Static RAM
PERM - Permutations
This test verifies that the memory in the test range can
accommodate 8-, 16-, and 32-bit writes and reads in any
combination. The test range is the memory range specified by the
3
RAM test group configuration parameters for starting and ending
address. If the test range is less than 16 bytes, the test immediately
returns pass status. The effective test range end address is reduced
to the next lower 16-byte boundary if necessary.
This test performs three data size test phases in the following order:
8, 16, and 32 bits. Each test phase writes a 16-byte data pattern
(using its data size) to the first 16 bytes of every 256-byte block of
memory in the test range. The 256-byte blocks of memory are
aligned to the starting address configuration parameter for the
RAM test group. The test phase then reads and verifies the 16-byte
block using 8-, 16-, and 32-bit access modes.
Command Input
177-Diag>RAM PERM
or
177-Diag>SRAM PERM
Messages
If the test fails, the following message appears:
Data Miscompare Error:
Address =________, Expected =________, Actual =________
3-13
Diagnostic Tests
Command Input
177-Diag>RAM QUIK
or
177-Diag>SRAM QUIK
Messages
If the test fails, the following message appears:
Data Miscompare Error:
Expected =________, Actual =________
3-14
RAM - Local RAM, SRAM - Static RAM
Note SRAM REF will not execute because SRAM does not
refresh.
Command Input
177-Diag>RAM REF
Messages
If the real time clock is not functioning properly, one of the
following messages appear:
RAM/REF Test Failure Data:
3-15
Diagnostic Tests
or
RAM/REF Test Failure Data:
If a data verification error occurs before the refresh wait cycle, the
following message appears:
RAM/REF Test Failure Data:
3-16
RAM - Local RAM, SRAM - Static RAM
Command Input
177-Diag>RAM RNDM
or
177-Diag>SRAM RNDM
Messages
If the test fails, the following message appears.
Data Miscompare Error:
Address =________, Expected =________, Actual =________
3-17
Diagnostic Tests
Configuration Parameter
You may set the Restore BBRAM contents on test exit parameter,
used in the ADR test, with the CF command (the default is Y).
3-18
RTC - MK48T08 Real Time Clock
Command Input
177-Diag>RTC ADR
Messages
If debugger system memory cannot be allocated for use as a save
area for the NVRAM contents, the following message appears:
RAM allocate
memc.next=________ memc.size=________
3-19
Diagnostic Tests
If a pattern “b” write affects any NVRAM location other than the
resultant address, the following message appears:
Data Verify Error: Address =________, Expected =__, Actual
3 =__
Memory addressing error - wrote __ to ________
3-20
RTC - MK48T08 Real Time Clock
The RTC time registers are configured for constant updating by the
clock internal counters. The seconds register is read initially and
monitored (read) to verify that the seconds value changes. A
predetermined number of reads are made of the seconds register.
The RTC time registers are configured for reading. A
predetermined number of MPU “do nothing” loops are executed.
Command Input
177-Diag>RTC CLK
Messages
If the check for low battery fails, the following message appears:
RTC low battery
3-21
Diagnostic Tests
If the seconds register changes before the full count of MPU loops
is executed, the following message appears:
RTC did not freeze for reading
3
If the real time clock registers fail the data pattern test:
Data Miscompare Error:
Address =________, Expected =________, Actual =________
3-22
RTC - MK48T08 Real Time Clock
Command Input
177-Diag>RTC RAM
Messages
If the test fails, the following message appears:
Data Miscompare Error:
Address =________, Expected =________, Actual =________
3-23
Diagnostic Tests
3-24
PCC2 - Peripheral Channel Controller
Command Input
177-Diag>PCC2 ADJ
Messages
If the test fails, the following error message appears:
Prescaler Clock Adjust Register not initialized
Register ________, should not be zero
3-25
Diagnostic Tests
Command Input
177-Diag>PCC2 FAST
Messages
If the test fails, the following message appears:
PCC2/FAST Test Failure Data:
3-26
PCC2 - Peripheral Channel Controller
Command Input
177-Diag>PCC2 GPIO
Messages
If the test fails, one of the following messages appears:
Interrupt Control Register did not clear
Address =________, Expected =__, Actual =__
3-27
Diagnostic Tests
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
3-28
PCC2 - Peripheral Channel Controller
Command Input
177-Diag>PCC2 LANC
Messages
If the test fails, one of the following messages appears:
Interrupt Control Register did not clear
3-29
Diagnostic Tests
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
3-30
PCC2 - Peripheral Channel Controller
Command Input
177-Diag>PCC2 MIEN
Messages
If the test fails, one of the following messages appears:
Interrupt did not occur
Status: Expected =__, Actual =__
Vector: Expected =__, Actual =__
State : IRQ Level =_, VBR =__
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
3-31
Diagnostic Tests
Command Input
177-Diag>PCC2 PCLK
Messages
If the test fails, one of the following messages appears:
Illegal prescaler calibration:
Expected EF, EC, E7, or DF, Actual = __
3-32
PCC2 - Peripheral Channel Controller
Command Input
177-Diag>PCC2 PRNTA
Messages
If the test fails, one of the following messages appears:
Interrupt Control Register did not clear
Address =________, Expected =__, Actual =__
3-33
Diagnostic Tests
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
3-34
PCC2 - Peripheral Channel Controller
Command Input
177-Diag>PCC2 PRNTB
Messages
If the test fails, one of the following messages appears:
Interrupt Control Register did not clear
Address =________, Expected =__, Actual =__
3-35
Diagnostic Tests
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
3-36
PCC2 - Peripheral Channel Controller
Command Input
177-Diag>PCC2 PRNTC
Messages
If the test fails, one of the following messages appears:
Interrupt Control Register did not clear
Address =________, Expected =__, Actual =__
3-37
Diagnostic Tests
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
3-38
PCC2 - Peripheral Channel Controller
Command Input
177-Diag>PCC2 PRNTD
Messages
If the test fails, one of the following messages appears:
Interrupt Control Register did not clear
Address =________, Expected =__, Actual =__
3-39
Diagnostic Tests
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
3-40
PCC2 - Peripheral Channel Controller
Command Input
177-Diag>PCC2 PRNTE
Messages
If the test fails, one of the following messages appears:
Interrupt Control Register did not clear
Address =________, Expected =__, Actual =__
3-41
Diagnostic Tests
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
3-42
PCC2 - Peripheral Channel Controller
Command Input
177-Diag>PCC2 REGA
Messages
If the test fails, one of the following messages appears:
Bus Error Information:
Address ________
Data ________
Access Size __
Access Type _
Address Space Code _
Vector Number ___
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
3-43
Diagnostic Tests
Command Input
177-Diag>PCC2 REGB
Messages
If the test fails, one of the following messages appears:
Register did not clear
Address =________, Expected =________, Actual =________
3-44
PCC2 - Peripheral Channel Controller
Command Input
177-Diag>PCC2 TMR1A
Messages
If the test fails, one of the following messages appears:
Register did not clear
Address =________, Expected =________, Actual =________
3-45
Diagnostic Tests
Command Input
177-Diag>PCC2 TMR1B
Messages
If the test fails, one of the following messages appears:
Register did not clear
Address =________, Expected =________, Actual =________
3-46
PCC2 - Peripheral Channel Controller
Command Input
177-Diag>PCC2 TMR1C
Messages
If the test fails, the following message appears:
Count did not zero on Compare
Address =______, Expected =______, Actual =______
3-47
Diagnostic Tests
Command Input
177-Diag>PCC2 TMR1D
Messages
If the test fails, one of the following messages appears:
Overflow Counter did not clear
Address =________, Expected =__, Actual =__
3-48
PCC2 - Peripheral Channel Controller
Command Input
177-Diag>PCC2 TMR1E
Messages
If the test fails, one of the following messages appears:
Interrupt Control Register did not clear
Address =________, Expected =__, Actual =__
3-49
Diagnostic Tests
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
3-50
PCC2 - Peripheral Channel Controller
Command Input
177-Diag>PCC2 TMR2A
Messages
If the test fails, one of the following messages appears:
Register did not clear
Address =________, Expected =________, Actual =________
3-51
Diagnostic Tests
Command Input
177-Diag>PCC2 TMR2B
Messages
If the test fails, one of the following messages appears:
Register did not clear
Address =________, Expected =________, Actual =________
3-52
PCC2 - Peripheral Channel Controller
Command Input
177-Diag>PCC2 TMR2C
Messages
If the test fails, the following message appears:
Count did not zero on Compare
Address =________, Expected =________, Actual =________
3-53
Diagnostic Tests
Command Input
177-Diag>PCC2 TMR2D
Messages
If the test fails, one of the following messages appears:
Overflow Counter did not clear
Address =________, Expected =__, Actual =__
3-54
PCC2 - Peripheral Channel Controller
Command Input
177-Diag>PCC2 TMR2E
Messages
If the test fails, one of the following messages appears:
Interrupt Control Register did not clear
Address =________, Expected =__, Actual =__
3-55
Diagnostic Tests
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
3-56
PCC2 - Peripheral Channel Controller
Command Input
177-Diag>PCC2 VBR
Messages
If the test fails, one of the following messages appears:
Write/read error to VBR
Address =________, Expected =__, Actual =__
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
3-57
3Diagnostic Tests
Diagnostic Tests
Enter MCECC without a test name to run all tests (except for
EXCPTN) in the group. They will be executed in the order shown
in the order shown in Table 3-5.
Configuration Parameters
You may change the following parameters with the CF command
(the default values are shown):
Inhibit restore of ECC registers upon test failure (y/n) =n ?
3-58
MCECC - ECC Memory Board
These are the starting and ending addresses for each memory
board. These addresses are relative to the particular board only.
Each board address begins at zero, despite where it might be
configured in the computer's memory map. If a system is
configured with two 32MB ECC memory boards, for purposes
of the configuration parameters, each board starts at address 0,
and ends at 02000000.
3-59
Diagnostic Tests
Command Input
177-Diag>MCECC CBIT
Messages
The status message contains the current address followed by xnp,
where the x is w for write or r for read, n is the memory board
number being tested, and p is the pass of the test is being executed,
either a, b, or c.
ECC CBIT: ECC Check-Bit DRAM...... Running ---> ____ xnp
3-60
MCECC - ECC Memory Board
3-61
Diagnostic Tests
EXCPTN - Exceptions
This test verifies the ECC board’s ability to generate interrupts or
bus errors on detecting a memory error. This test plants errors in
3 memory, enables either the interrupt or bus-error, and reads the
“faulty” memory location. The proper exception and status is
tested, and if received, the test passes.
Command Input
177-Diag>MCECC EXCPTN
Messages
If there is a scrubber failure during check bit initialization, the
following message appears:
Timed out waiting for scrubber to start, bd #_ (status __)
Timed out waiting for scrubber to stop, bd #_ (status __)
3-62
MCECC - ECC Memory Board
MBE - Multi-Bit-Error
This test verifies the ECC board's ability to detect multi-bit-errors.
It fills a memory area with random data containing a “multi-bit-
error” in each word. All of the tested memory area is then verified
3
with error correction enabled so that the data errors will be detected
during the read operation.
Command Input
177-Diag>MCECC MBE
Messages
If the scrubber fails during check bit initialization, the following
message appears:
Timed out waiting for scrubber to start, bd #_ (status __)
Timed out waiting for scrubber to stop, bd #_ (status __)
3-63
Diagnostic Tests
SBE - Single-Bit-Error
This test verifies the ECC board's ability to correct single-bit-errors.
It fills a memory area with random data containing a “single-bit-
3 error” in each word. All of the tested memory area is then verified
with error correction enabled, so that the data will be “corrected”
during the read operation.
Command Input
177-Diag>MCECC SBE
Messages
The status message contains the current address being accessed
followed by xn, where the x is w for write or r for read, and # is the
memory board number being tested.
ECC SBE: ECC Single-Bit-Error....... Running ---> _____ x#
3-64
MCECC - ECC Memory Board
SCRUB - Scrubbing
This test verifies refresh “scrubbing” of errors from DRAM. It
checks the ECC memory board's capability to correct single-bit-
errors during normal DRAM refresh cycles. During its operation,
3
the diagnostic displays the current memory board number that it is
working on. When the fast-refresh mode is selected, “wait” is
displayed, indicating that the test is waiting long enough for fast-
refresh to get to every memory location on the board at least once.
The test runs per the following:
1. ECC memory is initiated (the init message appears).
2. The error-logger is tested (the errlog message appears).
3. Errors are planted in memory, and the first scrub pass runs
(the scrub 1 message appears).
4. The memory is tested with the error-logger.
5. Another pass of the scrubber is run (the scrub 2 message
appears). This scrub pass is checked for zero errors.
Command Input
177-Diag>MCECC SCRUB
Messages
If the scrubber fails during checkbit initialization, the following
message appears:
Timed out waiting for scrubber to start, bd #_ (status __)
Timed out waiting for scrubber to stop, bd #_ (status __)
3-65
Diagnostic Tests
3-66
MEMC1, MEMC2 - MEMC040 Memory Controller
Configuration Parameters
You may change the he EMC040 base address parameter with the CF
command. The default for the MEMC1 test is FFF43000, and the
default for the MEMC2 test is FFF43100.
3-67
Diagnostic Tests
Command Input
177-Diag>MEMC1 ALTC_S
or
177-Diag>MEMC2 ALTC_S
Messages
If the test fails, following message appears:
Address =________, Expected =________, Actual =________
3-68
MEMC1, MEMC2 - MEMC040 Memory Controller
Command Input
177-Diag>MEMC1 BUSCLK
or
177-Diag>MEMC2 BUSCLK
Messages
If the test fails, the following message appears:
Data miscompare
Address =________, Expected =________, Actual =________
3-69
Diagnostic Tests
Command Input
177-Diag>MEMC1 CHIPID
or
177-Diag>MEMC2 CHIPID
Messages
If the test fails, the following message appears:
Chip ID register incorrect
Address =________, Expected =80, Actual =________
3-70
MEMC1, MEMC2 - MEMC040 Memory Controller
Command Input
177-Diag>MEMC1 CHIPREV
or
177-Diag>MEMC2 CHIPREV
Messages
If the test fails, the following message appears:
Chip revision register incorrect
Address =________, Expected =01, Actual =________
3-71
Diagnostic Tests
Command Input
177-Diag>MEMC1 RAMCNTRL
or
177-Diag>MEMC2 RAMCNTRL
Messages
If a bus error occurs when PAREN and PARINT are off, the
following message appears:
bus error occurred while PAREN disabled
3-72
MEMC1, MEMC2 - MEMC040 Memory Controller
If an interrupt occurs when PAREN and PARINT are off and write
wrong parity is done, the following message appears:
IRQ occurred while PARINT disabled
If a bus error does not occur when PAREN is on and PARINT is off
and write wrong parity is done, the following message appears:
Parity error did not cause Bus Error while PAREN set at
address ________
If a bus error occurs when PAREN is off and PARINT are on, during
PARINT testing, the following message appears:
bus error occurred while PAREN disabled at address ________
3-73
Diagnostic Tests
3-74
ST2401 - Serial Port
Configuration Parameters
You may select the ports tested and base interrupt vector with the
CF command (the default values are shown):
Port Mask =0000000F?
Chip A base =FFF45000?
Chip B base =00000000?
Base Intr. Vector =00000040?
The Port Mask parameter is a hex value that represents a bit mask.
Set bits 0 through 3 (big endian) to select ports 0 through 3
respectively. For example, $02 (0010) selects port 1, $0B (1011)
selects ports 0, 1 and 3, and $0F (1111) selects all four ports. $0 (no
ports) is not a valid selection.
3-75
Diagnostic Tests
These tests support dual CD2401 devices, even though only one
such device is featured on the MVME177. The base address of this
device is configured using Chip A base. Changing this address is
3 likely to produce unsatisfactory results -- it is best left unchanged.
The Chip B base parameter is reserved for a second device and
should remain $00000000.
The Base Intr. Vector parameter selects the base value for the
interrupt vectors used during these tests. As many as 16 of these
vectors are assigned in ascending order starting with the base
vector. The default value $40 assigns vectors $40 through $4F. Other
groups of vectors may be chosen by entering different values for the
base vector.
3-76
ST2401 - Serial Port
3-77
Diagnostic Tests
Command Input
177-Diag>ST2401 BAUD
Messages
Refer to ST2401 Test Group Error Messages on page 3-84 for a list of the
error messages.
3-78
ST2401 - Serial Port
3-79
Diagnostic Tests
Command Input
177-Diag>ST2401 DMA
Messages
Refer to ST2401 Test Group Error Messages on page 3-84 for a list of the
error messages.
3-80
ST2401 - Serial Port
3-81
Diagnostic Tests
Command Input
177-Diag>ST2401 POLL
3 Messages
Refer to ST2401 Test Group Error Messages on page 3-84 for a list of the
error messages.
3-82
ST2401 - Serial Port
Command Input
177-Diag>ST2401 INTR
Messages
Refer to ST2401 Test Group Error Messages on page 3-84 for a list of the
error messages.
3-83
Diagnostic Tests
Message Description
Interrupt, IACK'd Vector $XX Unexpected interrupt
Exception, Vector $XX Unexpected exception
Rx: IACK'd Vector $XX Unexpected vector read from PCCchip2 SCC
Receiver pseudo-IACK register
Tx: IACK'd Vector $XX Unexpected vector read from PCCchip2 SCC
Transmitter pseudo-IACK register
Modem IRQ unexpected Unexpected interrupt from modem signal
change
Timed-out, expecting RX IRQ Expected receive data interrupt, time expired
first
BREAK detect status Receiver indicates BREAK detected
Framing Error status Receiver indicates a framing error occurred
Overrun Error status Receiver indicates a data overrun occurred
Parity Error status Receiver indicates a parity error occurred
RX data corrupted, address a, Received data differs from that transmitted;
expected e, read r1 address shown is for the received character
Chars follow EOT Extra characters follow test message
Timed-out before TX FIFO empty Time-out expired waiting for transmit FIFO to
empty
baud, 100 chars took t usec, Time to receive 100 characters fails 0.5%
expected x-y criterion (expected range shown)
3-84
ST2401 - Serial Port
Message Description
CF error - no such device User selected port other than those supported
by hardware; port mask should be in range $01- 3
$0F
can't idle device before test Time ran out waiting for CD2401 to indicate
idle condition prior to configuring for test
can't idle device after test Time ran out waiting for CD2401 to indicate
idle condition after completion of testing
can't write Chan. Cmd Reg - busy One second elapsed without Channel
Command Register to indicating readiness to
accept next command (register contents
remained nonzero)
3-85
3Diagnostic Tests
Diagnostic Tests
3-86
CMMU - Cache and Memory Management Unit
Configuration Parameters
You may set the following parameters with the CF command (the
default values are shown):
Starting/Ending Address Enable [Y/N] =N ?
Starting Address =00000000 ?
Ending Address =003FFFFC ?
3-87
Diagnostic Tests
Command Input
177-Diag> CMMU CCHCODE
3-88
CMMU - Cache and Memory Management Unit
Messages
On receipt of an unexpected access exception, the following
message appears:
3
Bus Error Information:
Address ________
Data ________
Access Size __
Access Type _
Address Space Code _
Vector Number ___
Exception Stack Frame ________
3-89
Diagnostic Tests
3-90
CMMU - Cache and Memory Management Unit
Command Input 3
177-Diag> CMMU CCHCPYB
Messages
If the memory range is less than $32000 bytes, the following
message appears:
Insufficient Amount of Memory to Perform Test.
3-91
Diagnostic Tests
3-92
CMMU - Cache and Memory Management Unit
3-93
Diagnostic Tests
Command Input
177-Diag> CMMU CCHSC
Messages
If the memory range is less than $32000 bytes, the following
message appears:
Insufficient Amount of Memory to Perform Test.
3-94
CMMU - Cache and Memory Management Unit
3-95
Diagnostic Tests
3-96
CMMU - Cache and Memory Management Unit
Messages
If the memory range is less than $32000 bytes, the following
message appears:
Insufficient Amount of Memory to Perform Test.
3-97
Diagnostic Tests
3-98
CMMU - Cache and Memory Management Unit
3-99
Diagnostic Tests
Command Input
177-Diag> CMMU CCHSD
3 Messages
If the memory range is less than $32000 bytes, the following
message appears:
Insufficient Amount of Memory to Perform Test.
3-100
CMMU - Cache and Memory Management Unit
3-101
Diagnostic Tests
Command Input
177-Diag> CMMU CCHSDCI
3 Messages
If the memory range specified is less than $32000 bytes, the
following message appears:
Insufficient Amount of Memory to Perform Test.
3-102
CMMU - Cache and Memory Management Unit
3-103
Diagnostic Tests
Command Input
177-Diag> CMMU CCHSDWT
Messages
If the memory range is less than $32000 bytes, the following
message appears:
Insufficient Amount of Memory to Perform Test.
3-104
CMMU - Cache and Memory Management Unit
3-105
Diagnostic Tests
Command Input
177-Diag> CMMU CCHTTM
Messages
If the memory range is less than $32000 bytes, the following
message appears:
Insufficient Amount of Memory to Perform Test.
3-106
CMMU - Cache and Memory Management Unit
3-107
Diagnostic Tests
3-108
CMMU - Cache and Memory Management Unit
Command Input
177-Diag> CMMU CCHUC
Messages
If the memory range is less than $32000 bytes, the following
message appears:
Insufficient Amount of Memory to Perform Test.
3-109
Diagnostic Tests
If any exception other than the trap always true exception is taken,
the following message appears:
Translation failed causing exception.
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
Exception Stack Frame ________
3-110
CMMU - Cache and Memory Management Unit
3-111
Diagnostic Tests
Command Input
177-Diag> CMMU CCHUCCI
Messages
If the memory range is less than $32000 bytes, the following
message appears:
Insufficient Amount of Memory to Perform Test.
3-112
CMMU - Cache and Memory Management Unit
If any exception other than the trap always true exception is taken,
the following message appears:
Translation failed causing exception.
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
Exception Stack Frame ________
3-113
Diagnostic Tests
3-114
CMMU - Cache and Memory Management Unit
Command Input
177-Diag> CMMU CCHUD
Messages
If the memory range is less than $32000 bytes, the following
message appears:
Insufficient Amount of Memory to Perform Test.
3-115
Diagnostic Tests
If any exception other than the trap always true exception is taken,
the following message appears:
Translation failed causing exception.
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
Exception Stack Frame ________
3-116
CMMU - Cache and Memory Management Unit
3-117
Diagnostic Tests
Command Input
177-Diag> CMMU CCHUDCI
Messages
If the memory range is less than $32000 bytes, the following
message appears:
Insufficient Amount of Memory to Perform Test.
3-118
CMMU - Cache and Memory Management Unit
If any exception other than the trap always true exception is taken,
the following message appears:
Translation failed causing exception.
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
Exception Stack Frame ________
3-119
Diagnostic Tests
3-120
CMMU - Cache and Memory Management Unit
Command Input
177-Diag> CMMU CCHUDWT
Messages
If the memory range is less than $32000 bytes, the following
message appears:
Insufficient Amount of Memory to Perform Test.
3-121
Diagnostic Tests
If any exception other than the trap always true exception is taken,
the following message appears:
Translation failed causing exception.
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
Exception Stack Frame ________
3-122
CMMU - Cache and Memory Management Unit
Command Input
177-Diag> CMMU MMUMU
3-123
Diagnostic Tests
Messages
If the memory range is less than $32000 bytes, the following
message appears:
3
Insufficient Amount of Memory to Perform Test.
If the modified and used bits in the page descriptor are incorrect,
the following message appears:
State: Used Bit (read/execute) or Modified/Used Bit (write)
Data Miscompare Error:
3-124
CMMU - Cache and Memory Management Unit
3-125
Diagnostic Tests
Command Input
177-Diag> CMMU MMUSC
Messages
If the test fails, one of the following messages appears.
If the memory range is less than $32000 byte, the following message
appears:
Insufficient Amount of Memory to Perform Test.
3-126
CMMU - Cache and Memory Management Unit
Unsolicited Exception: 3
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
Exception Stack Frame ________
3-127
Diagnostic Tests
3-128
CMMU - Cache and Memory Management Unit
Command Input
177-Diag> CMMU MMUSD
Messages
If the memory range is less than $32000 bytes, the following
message appears:
Insufficient Amount of Memory to Perform Test.
If the data pattern directly placed in a page frame did not match the
data read with the MMU enabled, the following message appears:
Translation failed causing a data miscompare.
Physical Address = ________, Logical Address = ________
Expected = ________, Actual = ________
3-129
Diagnostic Tests
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
Exception Stack Frame ________
3-130
CMMU - Cache and Memory Management Unit
3-131
Diagnostic Tests
3 Command Input
177-Diag> CMMU MMUSP
Messages
If the memory range is less than $32000 bytes, the following
message appears:
Insufficient Amount of Memory to Perform Test.
3-132
CMMU - Cache and Memory Management Unit
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
Exception Stack Frame ________
3-133
Diagnostic Tests
Command Input
177-Diag> CMMU MMUSPF
3-134
CMMU - Cache and Memory Management Unit
Messages
If the memory range is less than $32000 bytes, the following
message appears:
3
Insufficient Amount of Memory to Perform Test.
3-135
Diagnostic Tests
3-136
CMMU - Cache and Memory Management Unit
3-137
Diagnostic Tests
Command Input
177-Diag> CMMU MMUUC
Messages
If the memory range is less than $32000 bytes, the following
message appears:
Insufficient Amount of Memory to Perform Test.
3-138
CMMU - Cache and Memory Management Unit
If any exception other than the trap always true exception is taken,
the following message appears:
Translation failed causing exception.
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
Exception Stack Frame ________
3-139
Diagnostic Tests
3-140
CMMU - Cache and Memory Management Unit
Command Input
177-Diag> CMMU MMUUD
Messages
If the memory range is less than $32000 bytes, the following
message appears:
Insufficient Amount of Memory to Perform Test.
3-141
Diagnostic Tests
If any exception other than the trap always true exception is taken,
the following message appears:
Translation failed causing exception.
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
Exception Stack Frame ________
If the data pattern directly placed in a page frame did not match the
data read with the MMU enabled, the following message appears:
Translation failed causing a data miscompare.
Physical Address = ________, Logical Address = ________
Expected = ________, Actual = ________
3-142
CMMU - Cache and Memory Management Unit
3-143
Diagnostic Tests
3 Command Input
177-Diag> CMMU MMUWP
Messages
If the memory range is less than $32000 bytes, the following
message appears:
Insufficient Amount of Memory to Perform Test.
3-144
CMMU - Cache and Memory Management Unit
3-145
Diagnostic Tests
Command Input
177-Diag> CMMU TTRSC
Messages
If the memory range is less than $32000 bytes, the following
message appears:
Insufficient Amount of Memory to Perform Test.
3-146
CMMU - Cache and Memory Management Unit
3-147
Diagnostic Tests
Command Input
177-Diag> CMMU TTRSD
Messages
If the memory range is less than $32000 bytes, the following
message appears:
Insufficient Amount of Memory to Perform Test.
3-148
CMMU - Cache and Memory Management Unit
If the data pattern directly placed in memory did not match the data
read with the TTR enabled, the following message appears:
Data Miscompare Error:
3-149
Diagnostic Tests
Command Input
177-Diag> CMMU TTRUC
3-150
CMMU - Cache and Memory Management Unit
Messages
If the memory range is less than $32000 bytes, the following
message appears:
3
Insufficient Amount of Memory to Perform Test.
3-151
Diagnostic Tests
Command Input
177-Diag> CMMU TTRUD
3-152
CMMU - Cache and Memory Management Unit
Messages
If the memory range is less than $32000 bytes, the following
message appears:
3
Insufficient Amount of Memory to Perform Test.
If the data pattern directly placed in memory did not match the data
read with the TTR enabled, the following message appears:
Data Miscompare Error:
3-153
Diagnostic Tests
Command Input
177-Diag> CMMU TTRWP
3-154
CMMU - Cache and Memory Management Unit
Messages
If test pattern is written to memory but no data fault exception
occurs, the following message appears:
3
Access Fault Exception did not occur
State: DTT_ set for Write Protect.
3-155
3Diagnostic Tests
Diagnostic Tests
3-156
VME2 - VME Interface ASICs
Configuration Parameters
You may set the following parameters with the CF command (the
default values are given):
3
Prescaler Clock Adjust Timeout =00FF0000 ?
tmr_cmp(): counter reg mask =FFFFFFF0 ?
User defined Aux ROM base address Enable [Y/N] =N ?
User defined Aux ROM base address =00080000 ?
Master Decoder default select =00000001 ?
Master Write Post Interrupt level =00000001 ?
Master Decoder Trans. test: AUX slave select =00000001 ?
3-157
Diagnostic Tests
Command Input
177-Diag>VME2 REGA
Messages
If the test fails, the following message appears:
VME2/REGA Test Failure Data:
Unsolicited Exception:
Exception Time PC/IP _____
Vector _
Access Fault Information:
Address ________
Data ________
Access Size _
Access Type _
Address Space Code __
reg_a:
Data Width __ bits
3-158
VME2 - VME Interface ASICs
Command Input
177-Diag>VME2 REGB
Messages
If a bit in the LCSR cannot be initialized, the following message
appears:
bfverf: Bit Field Initialization Error.
Address ________
Read Data ________
Failing Bit Number __ (&__)
Expected Bit Value _
Actual Bit Value _
Exempt Bits Mask ________
3-159
Diagnostic Tests
3-160
VME2 - VME Interface ASICs
Command Input
177-Diag>VME2 SWIA
Messages
If any interrupt status bits are set, the following message appears:
Interrupt Status Register is not initially cleared
Status: Expected =00000000, Actual =________
3-161
Diagnostic Tests
If the interrupt status bit does not clear, the following message
appears:
Interrupt Status Bit did not clear
3 Status: Expected =________, Actual =________
State: IRQ Level =__, SWI__, VBR =__
3-162
VME2 - VME Interface ASICs
Command Input
177-Diag>VME2 SWIB
Messages
If the Interrupt Status Register is not initially cleared, the following
message appears:
Interrupt Status Register is not initially cleared
Status: Expected =________, Actual =________
3-163
Diagnostic Tests
3-164
VME2 - VME Interface ASICs
Messages
The interrupt enable register is cleared and status bits are read to
verify that none are true, the following message appears:
Interrupt Status Register is not initially cleared
Status: Expected =________, Actual =________
3-165
Diagnostic Tests
3-166
VME2 - VME Interface ASICs
Command Input
177-Diag>VME2 TACU
Messages
If the RTC is stopped, the following message appears:
RTC is stopped, invoke SET command.
3-167
Diagnostic Tests
If the prescaler calibration register does not contain one of four legal
MPU clock calibration values, the following message appears:
Illegal prescaler calibration:
3 Expected EF, EC, E7, or DF, Actual =__
If the RTC seconds register does not increment during the test, the
following message appears:
RTC seconds register didn't increment
3-168
VME2 - VME Interface ASICs
Command Input
177-Diag>VME2 TMRA
or
177-Diag>VME2 TMRB
Messages
If the test fails, one of the following messages appears:
Tick Timer _ Counter did not clear.
3-169
Diagnostic Tests
Command Input
177-Diag>VME2 TMRC
Messages
If Prescaler Clock Adjust register was 0, the following message
appears:
Prescaler Clock Adjust reg was not initialized
If the Prescaler Clock Adjust did not vary the tick period, the
following message appears:
Prescaler Clock Adjust did not vary tick period.
Loop1=________, Loop2=________.
3-170
VME2 - VME Interface ASICs
Command Input
177-Diag>VME2 TMRD
or
177-Diag>VME2 TMRE
3-171
Diagnostic Tests
Messages
If the test fails, one of the following messages appears:
3-172
VME2 - VME Interface ASICs
Command Input
177-Diag>VME2 TMRF
or
177-Diag>VME2 TMRG
3-173
Diagnostic Tests
Messages
If the test fails, one of the following messages appears:
3-174
VME2 - VME Interface ASICs
Command Input
177-Diag>VME2 TMRH
or
177-Diag>VME2 TMRI
Messages
If the test fails, one of the following messages appears:
Timer ____: Overflow Counter did not clear.
Timer Control Register = ________
3-175
Diagnostic Tests
Command Input
177-Diag>VME2 TMRJ
Messages
If the test fails, one of the following messages appears:
Watchdog failed to timeout: mloops=________
out of tolerance
time out code ________
actual loops ________
expected loops ________
lower limit ________
upper limit ________
3-176
VME2 - VME Interface ASICs
Command Input
177-Diag>VME2 TMRK
Messages
If the test fails, one of the following messages appears:
Watchdog failed to timeout: wdbfe=________, mloops=________
3-177
Diagnostic Tests
3-178
LANC - LAN Coprocessor
The 82596 manages all IEEE 802.3 Medium Access Control and
channel interface functions, such as framing, preamble generation
and stripping, source address insertion, destination address
checking, short frame detection, and automatic length-field 3
handling. The 82596 supports serial data rates up to 20MB per
second.
Configuration Parameters
You may set the following parameters with the CF command (the
default values are shown):
Control Memory Base Address Override [Y/N] =N ?
Control Memory Base Address =00000000 ?
Self Test Results Block Address =00000000 ?
System Configuration Pointer =00000000 ?
Intermediate System Configuration Pointer =00000000 ?
System Control Block Address =00000000 ?
Configuration Command Block Address =00000000 ?
Individual Address Command Block Address =00000000 ?
Diagnose/NOP Command Block Address =00000000 ?
Dump Configuration/Registers Address =00000000 ?
TDR Command Block Address =00000000 ?
Number Transmit/Receive Loopback Packets =00000020 ?
Ethernet Address (Source) =000000000000 ?
Ethernet Address (Destination) =000000000000 ?
3-179
Diagnostic Tests
Command Input
177-Diag>LANC CST
Messages
If the expected results do not match (equal) the actual results of the
82596 self-test command results, the following message appears:
LANC Chip Self-Test Error: Expected =_______, Actual =_______
3-180
LANC - LAN Coprocessor
3-181
Diagnostic Tests
SLOT-TIME = $3
LIN-PRIO = $6
EXP-PRIO = $3
BOF-MET = $0
Command Input
177-Diag>LANC DIAG
Messages
If the DIAG test fails, the following message appears:
DIAGNOSE Command Completion Status Error:
OK-Bit =0, F(ail)-Bit =1
3-182
LANC - LAN Coprocessor
Command Input
177-Diag>LANC DUMP
Messages
If the DUMP test fails, the following message appears:
Dump Status Error: Expected =A006, Actual =8006
3-183
Diagnostic Tests
Command Input
177-Diag>LANC ELBC
Messages
If the 82596 completes with a transmit data error, the following
message appears:
TRANSMIT Command Completion Status Error:
OK-Bit =0, ABORT-Bit =0, STATUS-Bits =0010
3-184
LANC - LAN Coprocessor
The STATUS-Bits (the hex value represents a bit sting, big endian)
indicate the type of error:
If the data packet has been received in error, the following message
appears:
RECEIVE Status Error:
COMPLETE-Bit =1, OK-Bit=0, STATUS-Bits =0000
3-185
Diagnostic Tests
The STATUS-Bits (the hex value represents a bit sting, big endian)
indicate the type of error:
If the receive data count and the transmit data count are not equal,
the following message appears:
RECEIVE Data Transfer Count Error:
Expected =05EA, Actual =003C
3-186
LANC - LAN Coprocessor
Command Input
177-Diag>LANC ELBT
Messages
If the 82596 completes with a transmit data error, the following
message appears:
TRANSMIT Command Completion Status Error:
OK-Bit =0, ABORT-Bit =0, STATUS-Bits =0010
3-187
Diagnostic Tests
The STATUS-Bits (the hex value represents a bit sting, big endian)
indicate the type of error:
If the data packet has been received in error, the following message
appears:
RECEIVE Status Error:
COMPLETE-Bit =1, OK-Bit=0, STATUS-Bits =0000
3-188
LANC - LAN Coprocessor
The STATUS-Bits (the hex value represents a bit sting, big endian)
indicate the type of error:
If the receive data count and the transmit data count are not equal,
the following message appears:
RECEIVE Data Transfer Count Error:
Expected =05EA, Actual =003C
3-189
Diagnostic Tests
Command Input
177-Diag>LANC FUSE
Messages
If the fuse indicator (via the VMEChip2) is false (fuse not present or
blown), the following message appears:
FUSE (+12VDC) Status Bit Error: Expected =0, Actual =1
3-190
LANC - LAN Coprocessor
Command Input
177-Diag>LANC ILB
Messages
If the 82596 completes with a transmit data error, the following
message appears:
TRANSMIT Command Completion Status Error:
OK-Bit =0, ABORT-Bit =0, STATUS-Bits =0010
3-191
Diagnostic Tests
The STATUS-Bits (the hex value represents a bit sting, big endian)
indicate the type of error:
If the data packet has been received in error, the following message
appears:
RECEIVE Status Error:
COMPLETE-Bit =1, OK-Bit=0, STATUS-Bits =0000
3-192
LANC - LAN Coprocessor
The STATUS-Bits (the hex value represents a bit sting, big endian)
indicate the type of error:
If the receive data count and the transmit data count are not equal,
the following message appears:
RECEIVE Data Transfer Count Error:
Expected =05EA, Actual =003C
3-193
Diagnostic Tests
Command Input
177-Diag>LANC IRQ
Messages
If the register contents do not verify against the expected pretest
results, the following message appears:
LANC Interrupt Control/Status Register Error:
Expected =50, Actual =70
If the register contents do not verify against the expected post test
results (i.e., interrupt status bit not set), the following message
appears:
LANC Interrupt Control/Status Register Error:
Expected =70, Actual =50
If the interrupt status bit (INT) in the interrupt control register does
not clear, the following message appears:
LANC Interrupt Control/Status Register Error:
Expected =50, Actual =70
3-194
LANC - LAN Coprocessor
Command Input
177-Diag>LANC MON
Messages
The following status message appears while the test is executing:
CRCE=0000000 AE=0000000 SF=0000000 RC=0000000 TGB=0000000 TG=0000000
where:
3-195
Diagnostic Tests
3-196
LANC - LAN Coprocessor
Command Input
177-Diag>LANC TDR
Messages
If the TDR command executes with an error status, the following
message appears:
TDR Command Completion Status Error:
OK-Bit =0
If the result of the LINK-OK bit is false (problem with link), the
following message appears:
TDR Command Results Error:
Transceiver Problem =TRUE or FALSE
Termination Problem =TRUE or FALSE
Transmission Line Shorted =TRUE or FALSE
Transmit Clock Cycles =0 to 7FF
3-197
Diagnostic Tests
Message Cause
Test Initialization Error: The amount memory found during the
Not Enough Memory, Need =00010000, diagnostics subsystem initialization is
Actual =000087F0 less than the amount of memory needed
by the LANC test group.
Test Initialization Error: The control memory address specified
Control Memory Address by the LANC test group configuration
Not 16 Byte Aligned =0000E008 parameters is not 16-byte aligned.
LANC Initialization Error: The busy byte in the ISCP did not
SCB Read Failure become clear after one tenth of a second
(Channel Attention Signal) from the issue of the channel attention.
The Intermediate System Configuration
Pointer (ISCP) indicates the location of
the System Control Block (SCB). The
CPU loads the SCB address into the
ISCP and asserts Channel Attention
(CA). This Channel Attention signal
causes the 82596 to begin its
initialization procedure to get the SCB
address from the ISCP. The SCB is the
central point through which the CPU
and the 82596 exchange control and
status information.
LANC Initialization Error: The 82596 command queue is not
LANC Command Unit Command Acceptance accepting the interrupt acknowledge
Time-Out command.
During the initialization process of the
82596, the LANC test group
initialization function issues an
interrupt acknowledge command to the
82596 to acknowledge the completion of
the 82596 initialization.
3-198
LANC - LAN Coprocessor
Message Cause
LANC Initialization Error: The command timed out. 3
LANC Command Unit Interrupt During the initialization process of the
Acknowledge Command 82596, the LANC test group
Completion Time-Out initialization function issues an
interrupt acknowledge command to the
82596 to acknowledge the completion of
the 82596 initialization. Once the
command is accepted by the 82596, the
initialization function waits for the
82596 to post status of the completion of
the command.
LANC Error Status Register (DMA Bits) There is a bus error.
Not Clear =02 At the completion of each test in the
LANC test group, the LANC error
status register (PCC2 - $FFF42028) is
checked for any possible bus error
conditions that may have been
encountered by the LANC while
performing DMA accesses to the local
bus.
LANC Command Unit Not Idle (Busy) The command unit is not in the idle
state.
Prior to issuing a command to the
Command Unit of the 82596, the
command execution function verifies
that the command unit is idle.
LANC Receive Unit Not Idle (Busy) The receive unit is not in the idle state.
Prior to issuing a command to the
Receive Unit of the 82596, the receive
command execution function verifies
that the receive unit is idle.
3-199
Diagnostic Tests
Message Cause
3-200
LANC - LAN Coprocessor
Message Cause
LANC Command Unit Interrupt The interrupt acknowledge timeout 3
Acknowledge Command Completion expired.
Time-Out
Once the appropriate interrupt status is
set by the 82596, the command
execution function issues an interrupt
acknowledge command to the
command unit of the 82596. Once this
command is issued to the 82596, the
command execution function waits for
one second for the 82596 to post the
completion of the interrupt
acknowledge command.
LANC Receive Unit Command Acceptance The receive command acceptance
Time-Out timeout expired.
When a receive command is issued to
the 82596, the receive command
execution function verifies that the
82596 accepted the receive command.
The receive command execution
function waits for one second for this
event to occur.
LANC Receive Unit Interrupt The receive interrupt acknowledge
Acknowledge Command Completion timeout expired.
Time-Out
Once the appropriate interrupt status is
set by the 82596, the receive command
execution function issues an interrupt
acknowledge command to the receive
command unit of the 82596. Once this
command is issued to the 82596, the
receive command execution function
waits for one second for the 82596 to
post the completion of the interrupt
acknowledge command.
3-201
Diagnostic Tests
Message Cause
3Diagnostic Tests
3-202
NCR - NCR 53C710 SCSI I/O Processor
Configuration Parameters
You may set the following parameters with the CF command (the
default values are given):
Test Memory Base Address Override [Y/N] =N ?
Test Memory Base Address =00000000 ?
Diagnostic Base Address =00000000 (READ ONLY) ?
SCRIPTs Buffer Base Address =00000000 (READ ONLY) ?
Memory Move Address (Source) =00000000 ?
Memory Move Address (Destination) =00000000 ?
Memory Move Byte Count =00002000 ?
The Test Memory Base Address parameters are used by the IRQ
and SCRIPTS tests. The Memory Move Address and Byte Count
parameters are used by the SCRIPTS test.
3-203
Diagnostic Tests
Command Input
177-Diag>NCR ACC1
Messages
If any part of the test fails, one of the following messages appears:
SCRATCH Register is not initially cleared
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
3-204
NCR - NCR 53C710 SCSI I/O Processor
3-205
Diagnostic Tests
Command Input
177-Diag>NCR ACC2
Messages
If any part of the test fails, one of the following messages appears:
ISTAT Register is not initially cleared
3-206
NCR - NCR 53C710 SCSI I/O Processor
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
1 user data
2 user program
5 supervisor data
6 supervisor program
7 MPU space
3-207
Diagnostic Tests
Command Input
177-Diag>NCR DFIFO
Messages
If any part of the test fails, one of the following messages appears:
DMA FIFO is not initially empty
3-208
NCR - NCR 53C710 SCSI I/O Processor
IRQ - Interrupts
This test verifies that level 0 interrupts will not generate an
interrupt, but will set the appropriate status. The test then verifies
that all interrupts (1-7) can be generated and received and that the
3
appropriate status is set.
Command Input
177-Diag>NCR IRQ
Messages
If any part of the test fails, one of the following messages appears:
Test Initialization Error:
Not Enough Memory, Need =________, Actual =________
3-209
Diagnostic Tests
SCSI Interrupt
Status: Expected =__, Actual =__
DMA Interrupt
Status: Expected =__, Actual =__
3-210
NCR - NCR 53C710 SCSI I/O Processor
Unsolicited Exception:
Program Counter ________
Vector Number ___
Status Register ____
Interrupt Level _
3-211
Diagnostic Tests
LPBK - Loopback
This test checks the Input and Output Data Latches and performs a
selection. The 53C710 executes initiator instructions and the host
3 CPU implements the target role by asserting and polling the
appropriate SCSI signals. If no errors are detected, the SCSI I/O
Processor is reset, otherwise the device is left in the test state.
The 53C710 Loopback Mode in effect lets the chip talk to itself.
When the Loopback Enable (SLBE) bit is set in the CTEST4 register,
the 53C710 allows control of all SCSI signals.
Command Input
177-Diag>NCR LPBK
Messages
If any part of the test fails, one of the following messages appears:
No Automatic Clear of 'ADCK' bit in 'CTEST5' Register
3-212
NCR - NCR 53C710 SCSI I/O Processor
3-213
Diagnostic Tests
Command Input
177-Diag>NCR SCRIPTS
Messages
If any part of the test fails, one of the following messages appears:
Test Initialization Error:
Not Enough Memory, Need =________, Actual =________
3-214
NCR - NCR 53C710 SCSI I/O Processor
3-215
Diagnostic Tests
Command Input
177-Diag>NCR SFIFO
Messages
If any part of the test fails, one of the following messages appears:
SCSI FIFO is not initially empty
3-216
FLASH - FLASH Memory Tests
The tests are listed in Table 3-13, and are described in alphabetical
order on the following pages.
The error messages are listed in FLASH Test Group Error Messages on
page 3-222.
3-217
Diagnostic Tests
Configuration Parameters
You may set the following parameters with the CF command (the
default values are shown):
3
Flash Device Test Mask =0000000F ?
The mask is a hex value that represents a bit mask. Set bits 0
through 3 (big endian) to select ports 0 through 3 respectively.
For example, $02 (0010) selects port 1, $0B (1011) selects ports 0,
1 and 3, and $0F (1111) selects all four ports. $0 (no ports) is not
a valid selection.
Flash Test Starting Block =00000000 ?
The fill pattern, any byte $00 through $FF (used by the FILL
test).
Test Data Increment/Decrement Step =00000001?
The value added to the Fill Data at each step (used by the FILL
test).
3-218
FLASH - FLASH Memory Tests
Command Input
177-Diag>FLASH ERASE
Messages
Refer to FLASH Test Group Error Messages on page 3-222 for a list of
the error messages.
3-219
Diagnostic Tests
Note This test does not preserve the contents of the FLASH
under test.
Command Input
177-Diag>FLASH FILL
Messages
Refer to FLASH Test Group Error Messages on page 3-222 for a list of
the error messages.
3-220
FLASH - FLASH Memory Tests
Command Input
177-Diag>FLASH PATS
Messages
Refer to FLASH Test Group Error Messages on page 3-222 for a list of
the error messages.
3-221
Diagnostic Tests
3-222
FLASH - FLASH Memory Tests
3-223
4177Bug Environment
4
Introduction
The parameters that affect board and 177Bug operation are stored
in the NVRAM. The board information block operating parameters
can be changed with the 177Bug command CNFG. 177Bug
parameters can be changed with the ENV debugger command.
The CNFG and ENV commands are described in the Debugging
Package for Motorola 68K CISC CPUs User's Manual. Refer to that
manual for general information about their use and capabilities.
The following section contain additional information about CNFG
and ENV that is specific to the MVME177Bug.
4-1
177Bug Environment
4-2
ENV - Set Environment
4-3
177Bug Environment
Y Run Auto Boot at power-up only (the prompt or the Field Service
Menu appears after a warm start).
N Run Auto Boot at both warm and cold start.
4-4
ENV - Set Environment
Y Run ROM Boot at power-up only (the prompt or the Field Service
4
Menu appears after a warm start).
N Run ROM Boot at both warm and cold start.
The first location tested when the firmware searches for a ROM
Boot module
The last location tested when the firmware searches for a ROM
Boot module
4-5
177Bug Environment
The time in seconds that the Network Auto Boot sequence waits
before starting the boot. During the delay a user may exit to the
debugger or diagnostics prompt by pressing the BREAK key.
The value is from 0-255.
Network Auto Boot Configuration Parameters Pointer (NVRAM) =
00000000?
The location where the Bug begins to search for a work page (a 64KB
block of memory) to use for vector table, stack, and variables. This
must be a multiple of (modulo) the debugger work page size.
In a multi-177 environment, each MVME177 board could be set to start
its work page at a unique address so as to allow multiple debuggers to
operate simultaneously.
The top limit of the Bug's search for a work page. If a contiguous block
of memory, 64KB in size, is not found in the range specified by the
4-6
ENV - Set Environment
The offset to the location of the Bug work page for multi-CPU use. This
must be a multiple of (modulo) the debugger work page size ($10000
or 64KB).
4
Typically, the Memory Search Increment Size is the product of the CPU
number and size of the Bug work page. For example, the Memory
Search Increment Size for the first CPU would be $0 (0 x $10000), and
the second CPU would be $10000 (1 x $10000).
Y Cause a delay before the Bug begins its search for a work page.
The delay could be used to allow time for some other MVME177
in the system to configure its address decoders.
N No delay before the Bug begins its search for a work page.
4-7
177Bug Environment
The size of the local memory board. You are prompted twice, once for
each possible MVME177 memory board.
The base address of the local resource that is accessible by the VMEbus
(the default $0 is the base of local memory).
4-8
ENV - Set Environment
The base address of local resource that is associated with the starting
and ending addresses. This allows the VMEbus address and the local 4
address to be different.
The access restriction for the address space defined with this slave
address decoder.
4-9
177Bug Environment
The access restriction for the address space defined with this
slave address decoder.
Master Enable #1 [Y/N] = Y?
The base address of the VMEbus resource that is accessible from the
local bus. The default is the end of calculated local memory. Unless
memory is less than 16MB, this will always be set to 01000000.
The ending address of the VMEbus resource that is accessible from the
local bus (the default is the end of calculated memory)
The access characteristics for the address space defined with this
master address decoder
The base address of the VMEbus resource that is accessible from the
local bus (if enabled, the default is $FF000000, otherwise $00000000).
The ending address of the VMEbus resource that is accessible from the
local bus (if enabled, the default is $FF7FFFFF, otherwise $00000000).
4-10
ENV - Set Environment
Y Enable the Master Address Decoder #3. Set this to Y if the board
contains less than 16MB of calculated RAM.
N Do not enable the Master Address Decoder #3. Set this to N if the
default if the board contains at least 16MB of calculated RAM.
The ending address of the VMEbus resource that is accessible from the
local bus (if enabled, the default is $00FFFFFF, otherwise $00000000)
The access characteristics for the address space defined with this
master address decoder (if enabled, the default is $3D, otherwise $00)
The base address of the VMEbus resource that is accessible from the
local bus
The ending address of the VMEbus resource that is accessible from the
local bus.
4-11
177Bug Environment
The access characteristics for the address space defined with this
4 master address decoder.
The access characteristics for the address space defined with the Short
I/O address decoder.
The access characteristics for the address space defined with the F-
Page address decoder
4-12
ENV - Set Environment
4-13
ARelated Documentation
A
Related Documentation
The following publications are applicable to 177Bug and may
provide additional helpful information. If not shipped with this
product, they may be purchased by contacting your local Motorola
sales office. Non-Motorola documents may be obtained from the
sources listed.
A-1
Related Documentation
A
A-2
Index
IN-1
Index
IN-2
Index
IN-3
Index
IN-4
Index
R ST 2-7
RAM 3-23 ST2401 Error Messages 3-84
RAM Control Register - RAMCNTRL 3-72 ST2401 tests 3-75
RAMCNTRL 3-72 start-up 1-2
Random Data - RNDM 3-17 start-up, monitor 1-2
read-write 3-14 static variable space 1-7
REF 3-15 status registers
REGA 3-43, 3-158 alternate 3-68
REGB 3-44, 3-159 Stop-On-Error Mode - Prefix SE 2-9
Register Access - ACC2 3-206 SWIA 3-161
Register Access - REGA 3-158 SWIB 3-163
Register Access - REGB 3-44 SWIC 3-165
Register Walking Bit - REGB 3-159 Switch Directories - Command SD 2-6
related documentation A-1 SYSFAIL* 4-3
RNDM 3-17 System Menu 4-2
ROMboot 1-7
enable 4-5 T
root-level commands 2-2 TACU 3-167
RTC tests 3-18 TDR 3-196
test descriptions 3-1
S Test Group Configuration (cf) Parameters Edi-
SBE 3-64 tor - Command CF 2-3
SCRATCH Register 3-203, 3-204 Tick Timer 3-25
SCRIPTS 3-213 Tick Timer Clear On Compare - TMRF,
SCRUB 3-65 TMRG 3-173
Scrubbing - SCRUB 3-65 Tick Timer Increment - TMRA, TMRB 3-169
SCSI bus parameters 4-3 Tick Timer No Clear On Compare - TMRD,
SCSI FIFO - SFIFO 3-216 TMRE 3-171
SCSI I/O Processor Tests 3-203 Time Domain Reflectometry (TDR) 3-196
SCSI specification A-2 Timer 1 Clear On Compare - TMR1C 3-47
SD 2-6 Timer 1 Counter - TMR1A 3-45
SE 2-9 Timer 1 Free-Run - TMR1B 3-46
SEL Interrupts 3-37 Timer 1 Interrupts - TMR1E 3-49
Self Test - Command ST 2-7 Timer 1 Overflow Counter - TMR1D 3-48
Self Test Mask 2-6 Timer 2 Clear On Compare - TMR2C 3-53
Serial Port (ST2401) Tests 3-75 Timer 2 Counter - TMR2A 3-51
set environment to bug/operating system Timer 2 Free-Run - TMR2B 3-52
(ENV) 4-2 Timer 2 Interrupts - TMR2E 3-55
Single-Bit-Error - SBE 3-64 Timer 2 Overflow Counter - TMR2D 3-54 I
slave address decoders 4-8 Timer Accuracy Test - TACU 3-167
TMR1A 3-45
N
Software Interrupts (Polled Mode) -
SWIA 3-161 TMR1B 3-46 D
Software Interrupts (Processor Interrupt Mode) TMR1C 3-47 E
- SWIB 3-163 TMR1D 3-48 X
Software Interrupts Priority - SWIC 3-165 TMR1E 3-49
TMR2A 3-51
IN-5
Index
TMR2B 3-52
TMR2C 3-53
TMR2D 3-54
TMR2E 3-55
TMRA, TMRB 3-169
TMRC 3-170
TMRD, TMRE 3-171
TMRF, TMRG 3-173
TMRH, TMRI 3-175
TMRJ 3-176
TMRK 3-177
toggle bits 3-7
Translation Table Memory - CCHTTM 3-106
V
VBR 3-57
Vector Base Register - VBR 3-57
VME Interface ASIC (VME2) Tests 3-156
VME2 tests 3-156
VMEbus specification A-2
VMEchip2 3-156, 3-177
W
walking bit 3-159
Watchdog Timer Board Fail - TMRK 3-177
Watchdog Timer Counter - TMRJ 3-176
word 5
write/read 3-14
Z
ZE 2-7
Zero Pass Count - Command ZP 2-7
ZP 2-7
I
N
D
E
X
IN-6