Introduction
http://www.motorola.com/computer/literature
5-9
5
Demonstration of the Host Interface
The following example demonstrates the use of PPCBug’s Remote Start
capability in a CPCI system. In this example, a simple program is loaded
into the local memory of a (non-system) target board, the MCPN750A.
The CPCI system host board (an MCP750) then uses the PCI Remote Start
interface to initiate execution of the program by the target board.
A simple program is loaded into the local memory of the target board. This
program performs the following steps:
1. prints a string to the target console,
2. sets the OWN bit in the Command/Response channel register
(relinquishes target ownership of the command channel), and
3. properly returns to the
PPC1Bug
prompt.
In this example, user interaction takes place on both the host and target
consoles. The console display examples are identified as “MCP750 (host)
Console,” and “MCPN750A (target) Console,” respectively. Note that
reads and writes to the PCI Remote Start Command/Response channel
look a little unusual because the display is of the little endian
representation of the data, i.e., Command Channel data entered on the
PPC1Bug
command line as $02800075 is stored in PCI memory (DEC
2155x registers) as $75008002.
Make a string in memory to be displayed on the target console:
MCPN750A (target) Console
PPC1-Bug>bf 4000:10000 0<cr>
Effective address: 00004000
Effective count : &262144
PPC1-Bug>md 40100:8<cr>
00040100 00000000 00000000 00000000 00000000 ................
00040110 00000000 00000000 00000000 00000000 ................
PPC1-Bug>ms 40100 ’XYOU_DA_MAN!’<cr>
PPC1-Bug>md 40100:8<cr>
00040100 58594F55 5F44415F 4D414E21 00000000 XYOU_DA_MAN!....
00040110 00000000 00000000 00000000 00000000 ................
PPC1-Bug>m 40100;b<cr>
00040100 58? b=<cr>
Summary of Contents for MCPN750A
Page 13: ...xii ...
Page 15: ...xiv ...
Page 53: ...1 32 Computer Group Literature Center Web Site Hardware Preparation and Installation 1 ...
Page 67: ...2 14 Computer Group Literature Center Web Site Startup and Operation 2 ...
Page 105: ...5 14 Computer Group Literature Center Web Site Remote Start Via the PCI Bus 5 ...
Page 167: ...7 38 Computer Group Literature Center Web Site Connector Pin Assignments 7 ...
Page 171: ...A 4 Computer Group Literature Center Web Site Specifications A ...
Page 187: ...Index IN 10 Computer Group Literature Center Web Site I N D E X ...