Motorola MVME177 manual Entering and Debugging Programs, Iop

Models: MVME177

1 171
Download 171 pages 43 Kb
Page 115
Image 115

Entering and Debugging Programs

Entering and Debugging Programs

There are various ways to enter a user program into system memory for execution. One way is to create the program using the Memory Modify (MM) command with the assembler/disassembler option. You enter the program one source line at a time. After each source line is entered, it is assembled and the object code loads into memory. Refer to the Debugging Package for Motorola 68K CISC CPUs User's Manual for complete details of the 177Bug Assembler / Disassembler.

Another way to enter a program is to download an object file from a host system. The program must be in S-record format (described in the Debugging Package for Motorola 68K CISC CPUs User's Manual) and may have been assembled or compiled on the host system.

Alternately, the program may have been previously created using the 177Bug MM command as outlined above and stored to the host using the Dump (DU) command. A communication link must exist between the host system and the MVME177 port 1. (Hardware configuration details are in the section on Installation and Start-Upin Chapter 3.) The file is downloaded from the host to MVME177 memory by the Load (LO) command.

Another way is by reading in the program from disk, using one of the following disk commands:

BO

BH

IOP

Once the object code has been loaded into memory, you can:

Set breakpoints

Run the code

Trace through the code

B

B-35

Page 115
Image 115
Motorola MVME177 manual Entering and Debugging Programs, Iop