Motorola 700/800-Series 사용자 설명서

다운로드
페이지 153
Multiprocessor Support
3-23
3
You can only program Flash memory by the MPCR method. Refer 
to the .PFLASH system call in the Debugging Package for Motorola 
68K CISC CPUs User's Manual
 for a description of the Flash memory 
program control packet structure. 
The status codes that may be set by the bus master are: 
The Multiprocessor Address Register (MPAR), located in shared 
RAM location of $804 offset from the base address the debugger 
loads it at, contains the second of two longwords used to control 
communication between processors. The MPAR contents specify 
the address at which execution for the remote processor is to begin 
if the MPCR contains a G or B. The MPAR is organized as follows: 
At power-up, the debug monitorÕs self-test routines initialize RAM, 
including the memory locations used for multi-processor support 
($800 through $807). 
The MPCR contains $00 at powerup, indicating that initialization is 
not yet complete. As the initialization proceeds, the execution path 
comes to the ÔÔpromptÕÕ routine. Before sending the prompt, this 
routine places an R in the MPCR to indicate that initialization is 
complete. Then the prompt is sent. 
If no terminal is connected to the port, the MPCR is still polled to 
see whether an external processor requires control to be passed to 
the dual-port RAM. If a terminal does respond, the MPCR is polled 
for the same purpose while the serial port is being polled for user 
input. 
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). 
ASCII G (HEX 47) - Use Go Direct (GD) logic specifying the MPAR address.
ASCII B (HEX 42) - Install breakpoints using the Go (G) logic.
$804
*
*
*
*
(MPAR)