Entering and Debugging Programs
http://www.mcg.mot.com/literature
4-9
4
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 is loaded to memory. Refer to the
Debugging Package for Motorola 68K CISC CPUs User’s Manual for
complete details of the 162Bug 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 162Bug 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 MVME162LX port 1 (Hardware configuration details are in the section
on Installation and Startup in Chapter 3). The file is downloaded from the
host to MVME162LX memory by the Load (LO) command.
Another way is by reading in the program from disk, using one of the disk
commands (BO, BH, IOP). Once the object code has been loaded into
memory, you can set breakpoints if desired and run the code or trace
through it.
Calling System Utilities from User Programs
A convenient way of doing character input/output and many other useful
operations has been provided so that you do not have to write these
routines into the target code. You can access various 162Bug routines via
one of the MC68040 TRAP instructions, using vector #15. Refer to the
Debugging Package for Motorola 68K CISC CPUs User’s Manual for
additional information on the various TRAP #15 utilities available and
how to invoke them from within a user program.
Содержание MVME162LX 200 Series
Страница 1: ...MVME162LX 200 300 Series Embedded Controller Installation and Use V162LX2 3A IH3 ...
Страница 6: ......
Страница 14: ...xiv ...
Страница 66: ...1 52 Computer Group Literature Center Web Site Board Level Hardware Description 1 ...
Страница 84: ...2 18 Computer Group Literature Center Web Site Hardware Preparation and Installation 2 ...
Страница 108: ...3 24 Computer Group Literature Center Web Site Debugger General Information 3 ...
Страница 156: ...IOT Command Parameters for Supported Floppy Types B 6 Computer Group Literature Center Web Site B ...
Страница 158: ...C 2 Computer Group Literature Center Web Site C ...
Страница 164: ...Ethernet Interconnections E 2 Computer Group Literature Center Web Site E ...
Страница 200: ...J 4 Computer Group Literature Center Web Site J ...
Страница 208: ...Index IN 8 Computer Group Literature Center Web Site I N D E X ...