Motorola MVME197LE manual Diagnostic Facilities, Gcsr Method

Models: MVME197LE

1 102
Download 102 pages 60 Kb
Page 59
Image 59

Diagnostic Facilities

GCSR Method

A remote processor can initiate program execution in the local MVME197LE dual-port RAM by issuing a remote GO command using the VMEchip2 Global Control and Status Register (GCSR). The remote processor places the MVME197LE execution address in general purpose registers 0 and 1 (GPCSR0 and GPCSR1). The remote processor then sets bit 8 (SIG0) of the VMEchip2 LM/SIG register. This causes the MVME197LE to install breakpoints and begin execution. The result is identical to the MPCR method (with status code B) described in the previous section.

The GCSR registers are accessed in the VMEbus short I/O space. Each general purpose register is two bytes wide, occurring at an even address. The general purpose register number 0 is at an offset of $8 (local peripheral bus) or $4 (VMEbus) from the start of the GCSR registers. The local peripheral bus base address for the GCSR is $FFF40100. The VMEbus base address for the GCSR depends on the group select value and the board select value programmed in the Local Control and Status Registers (LCSR) of the MVME197LE. The execution address is formed by reading the GCSR general purpose registers in the following manner:

GPCSR0

used as the upper 16 bits of the address

GPCSR1

used as the lower 16 bits of the address

The address appears as:

3

GPCVSR0

GPCSR1

Diagnostic Facilities

Included in the 197Bug package is a complete set of hardware diagnostics intended for testing and troubleshooting of the MVME197LE (refer to the MVME197 Single Board Computer Diagnostic Firmware User’s Manual). In order to use the diagnostics, the user must switch directories to the diagnostic directory. If in the debugger directory, the user can switch to the diagnostic directory by entering the debugger command Switch Directories (SD). The diagnostic prompt (“197-Diag>”) should appear. Refer to the MVME197 Single Board Computer Diagnostic Firmware User’s Manual for complete descriptions of the diagnostic routines available and instructions on how to invoke them. Note that some diagnostics depend on restart defaults that are set up only in a particular restart mode. Refer to the documentation on a particular diagnostic for the correct mode.

MVME197LEIG/D1

3-17

Page 59
Image 59
Motorola MVME197LE manual Diagnostic Facilities, Gcsr Method