LUD700A卡件,HITACHI使用手冊
遠程處理器放置在MPCR中的ASCII G表示Go請求直接傳輸類型。MPCR中的ASCII B表示在轉移控制之前,應設置斷點(與GO一樣命令)。在任一序列中,在MPCR中放置一個E,以指示執行是就在控制權移交給RAM之前。(任何遠程處理器都可以檢查MPCR內容。)
如果在雙端口RAM中執行的代碼要重新進入調試監視器,使用函數$0063(SYSCALL.RETURN)的陷阱#496調用返回控制以新的顯示提示顯示到監視器。注意,每次調試
監視器返回提示,將R移到MPCR中以指示控制可以再次轉移到指定的RAM位置。
LUD700A卡件R方法遠程處理器可以在本地MVME197LE中啟動程序執行通過使用VMEchip2全局命令發出遠程GO命令,實現雙端口RAM控制和狀態寄存器(GCSR)。遠程處理器放置通用寄存器0和1(GPCSR0)中的MVME197LE執行地址和GPCSR1)。然后,遠程處理器設置VMEchip2的位8(SIG0)LM/SIG寄存器。這導致MVME197LE安裝斷點和開始執行。結果與MPCR方法相同(帶有狀態代B) 如前一節所述。GCSR寄存器在VMEbus短輸入/輸出空間中訪問。每個通用目的寄存器的寬度為兩個字節,位于偶數地址。將目的寄存器編號0的偏移量為8美元(本地外圍總線)或4美元(VMEbus)從GCSR寄存器開始。本地外圍總線基礎GCSR的地址為$FFF40100。GCSR的VMEbus基址取決于編程的組選擇值和電路板選擇值MVME197LE的本地控制和狀態寄存器(LCSR)。這個執行地址是通過讀取中的GCSR通用寄存器形成的以下方式:197Bug包中包含一整套硬件診斷用于MVME197LE的測試和故障排除(請參閱MVME197單板計算機診斷固件用戶手冊)。整齊要使用診斷,用戶必須將目錄切換到診斷目錄如果在調試器目錄中,用戶可以切換到診斷通過輸入調試器命令切換目錄(SD)。這個應出現診斷提示(“197 Diag>”)。參考MVME197單Board Computer Diagnostic Firmware User’s Manual for Computer Diagnostic Firmware的完整說明可用的診斷例程以及如何調用它們的說明。請注意,某些診斷依賴于僅在特殊重啟模式。請參閱特定診斷的文檔正確的模式。
An ASCII G placed in the MPCR by a remote processor indicates that the Go
Direct type of transfer is requested. An ASCII B in the MPCR indicates that
breakpoints are to be armed before control is transferred (as with the GO
command).
In either sequence, an E is placed in the MPCR to indicate that execution is
underway just before control is passed to RAM. (Any remote processor could
examine the MPCR contents.)
If the code being executed in dual-port RAM is to reenter the debug monitor,
a TRAP #496 call using function $0063 (SYSCALL .RETURN) returns control
to the monitor with a new display prompt. Note that every time the debug
monitor returns to the prompt, an R is moved into the MPCR to indicate that
control can be transferred once again to a specified RAM location.R 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: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