3HNA024966-00103高压控制模块,ABB使用方法教程
这些逻辑端口号(0和1)显示在MVME187的引脚为“串行端口1”和分别为“串行端口2”。实际上,它们都是接头P2的一部分。
输入和调试程序将用户程序输入系统有多种方式执行内存:
❏ 使用汇编/反汇编程序创建程序
❏ 下载S记录对象文件❏ 从磁盘读取程序
使用汇编/反汇编程序创建程序您可以使用内存修改(MM)创建程序带有汇编程序/反汇编程序选项的命令。
3HNA024966-00103高压控制模块1、一次输入一行源代码。2、输入每个源线后,将其组装并目标代码被加载到内存中。
参阅摩托罗拉88K RISC CPU用户的调试包187Bug的完整详细信息手册汇编程序/反汇编程序。
下载S记录对象文件输入程序的另一种方法是从主机系统。
程序必须采用S记录格式(如摩托罗拉88K RISC CPU调试包用户手册)和可能已在主机系统上组装或编译。或者,该程序可能是先前使用187Bug MM命令,如上所述,并存储到主机使用转储(DU)命令。主机系统和之间必须存在通信链路MVME187端口1。(硬件配置详细信息见第3-20页连接外围设备。)文件下载自主机通过Load(LO)命令连接到MVME187内存。从磁盘读取程序另一种输入程序的方法是从磁盘,使用其中一个磁盘命令(BO、BH、IOP)。一旦目标代码已加载到内存中,可以设置断点如果需要,运行代码或跟踪它。从用户程序调用系统实用程序一种方便的字符输入/输出方法和许多其他方法提供了有用的操作,因此您不必将这些例程写入目标代码。您可以访问各种187Bug例程,通过MC88100陷阱指令之一,使用
向量#496。请参阅摩托罗拉88K RISC的调试包有关各种陷阱#496实用程序的详细信息,请参阅CPU用户手册以及如何从用户程序中调用它们。
These logical port numbers (0 and 1) are shown in the
pinouts of the MVME187 as “SERIAL PORT 1" and
“SERIAL PORT 2", respectively. Physically, they are all
part of connector P2.
Entering and Debugging Programs
There are various ways to enter a user program into system
memory for execution:
❏ Create the program with the assembler/disassembler
❏ Download an S-record object file
❏ Read the program from disk
Creating a Program with the Assembler/Disassembler
You can create a program using the Memory Modify (MM)
command with the assembler/disassembler option.
1. Enter the program one source line at a time.
2. After each source line is entered, it is assembled and the
object code is loaded to memory.
Refer to the Debugging Package for Motorola 88K RISC CPUs User's
Manual for complete details of the 187Bug
Assembler/Disassembler.
Downloading an S-Record Object File
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 88K RISC 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 187Bug 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
MVME187 port 1. (Hardware configuration details are provided in
Connecting Peripherals on page 3-20.) The file is downloaded from
the host to MVME187 memory by the Load (LO) command.
Read the Program from Disk
Another way to enter a program is by reading 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
187Bug routines via one of the MC88100 TRAP instructions, using
vector #496. Refer to the Debugging Package for Motorola 88K RISC
CPUs User's Manual for details on the various TRAP #496 utilities
available and how to invoke them from within a user program.