5

Remote Start Via the PCI Bus

00040100 0B? .<cr>

PPC1-Bug>

Enter the program to be executed by the target MPU in the target board’s local memory.

MCPN750A (target) Console

PPC1-Bug>m 40200;di<cr>

00040200 39400026 syscall .pcrlf<cr>

00040208 39400024 syscall .writeln<cr>

00040210 39400026 syscall .pcrlf<cr>

00040218 3C609000 addis r3,r0,$9000<cr>

0004021C 3863FEC4 addi r3,r3,$fffffec4<cr>

00040220 80830000 lwz r4,$0(r3) ($8ffffec4)<cr>

00040224 60840080 ori r4,r4,$80<cr>

00040228 90830000 stw r4,$0(r3) ($ffffec4)<cr>

0004022C 39400063 syscall .return .<cr> PPC1-Bug>

Note In the program shown above, you must manually adjust the operands of the instructions at memory locations 40218 and 4021C to produce a pointer to the Command/Response register (the 2155x Scratch 7 register) that is appropriate for the particular target board you are using.

On the host console, the PCI Remote Start “Write/Read virtual register command” can be used to initialize VR0 and VR2. VR0 points at the target program. VR2 will initialize target MPU R3 to point at the string to be displayed by the program.

MCP750 (host) Console

PPC1-Bug>m 8000EFC4<cr> 8000EFC4 54535280? 04000301=<cr> 8000EFC4 04000301? 00020101<cr> 8000EFC4 00020101? 04001301<cr> 8000EFC4 04001301? 00011101<cr> 8000EFC4 00011101? .<cr> PPC1-Bug>

Start the program from the host console:

MCP750 (host) Console

5-10

Computer Group Literature Center Web Site

Page 100
Image 100
Motorola MCPN750A, IH5 manual MCP750 host Console