• Aucun résultat trouvé

MVMEBUG MVMEBUGI

Dans le document VME Delta Series (Page 42-45)

MVMEBUGI

The VMEmodule Monoboard Microcomputer debug pack-age, VMEbug, is available as two separate product offerings.

VMEbug is an EPROM-based resident package ready for instaliation and immediate use with the VMEmodule Mono-board Microcomputer installed in a VMEbus based back-plane. Such a backplane is provided within Motorola's VME-module Chassis (MVME940). VMEbug Source and Relocatable Object Modules are a separate product available on either VERSAdos compatible diskette, or cartridge.

VMEbug provides a powerful evaluation and system de-bugging tool for VMEmodule Systems. The EPROM Resident Package will operate ilJ 32K bytes of ROM space. VMEbug uses the first 1152 words of RAM storage for Interrupt Vectors and temporary storage. The EPROM resident package is delivered in four 8K byte EPROMs. Table 1 lists the com-mands available to the user.

The package permits execution of system and user-developed programs operated in a VMEmodule Monoboard Microcomputer system environment under complete operator control. VMEbug may be utilized with a VMEmodule Mono-board Microcomputer in a standalone environment with only a user provided standard RS-232C asynchronous ASCII ter-minal. Alternately, it may be used with a second serial 110 port connected to a host computer for up/downline loading of programs in Motorola "S" Record format. When connected to a host computer in this manner, the VMEmoduleNMEbug/

Operator Terminal combination appears as a normal asyn-chronous ASCII terminal (a virtual terminal) to the host op-erating system. The second serial I/O port, the host computer interface, would be implemented through an 1I0moduie board or other similar functional element. VMEbug may also be used with the MVME420 or the M68RWIN1 controllers (or both) and appropriate disks to load programs from disk to memory.

In a typical debug session, the user will download his pro-gram to a VMEmodule Monoboard from the host computer used for software development. After loading, VMEbug com-mands may be used to examine and modify memory, set breakpoints to run particular program segments, and track program progress. The user may set up and examine a va-riety of conditions using any of the powerful commands listed in Table 1, such as the Register Display/Set series and the

MOTOROLA MICROCOMPUTER SYSTEMS AND COMPONENTS

I

I

MVMEBUG,MVMEBUG1

memory block manipulation commands. The Data Conver-sion command serves as an aid in examining and modifying data by converting hexadecimal to decimal, and decimal to hexadecimal. If corrections or program patches are required, these may be performed and checked in the VMEmodule.

The user may have a corrected copy to the host computer files by using the Memory Dump command for upline load.

Creating program patches may be aided by use of the Display Offsets command to assist with relocatable and position-independent code. The user may also copy all traffic to the serial port debug terminal on a printer attached to an auxiliary parallel port by use of the Attach Printer command. This may . be useful for desk debugging following a debug session. The parallel printer interface port may be implemented through the appropriate 1I0moduie board.

The user may communicate with the host computer as a terminal for purposes other than up/down line load by exe-cuting the Transparent Mode command or the Send Message to Port 2 command. By using the Port Format command, the serial port may be reconfigured for such attributes as baud rate, stop bits and number of data bits. In the Transparent Mode, the two serial ports must operate at the same baud rate.

Bootstrap load and dump commands permit the user to

bootstrap from several controller/device combinations. The controller boards currently supported are the MS8RWIN1 Winchester Disk Controller and the MVME420 SASI Periph-eral Adapter. The drives currently supported are the 5%"

Winchester and the 5114" Floppy or 8" Floppy on the MS8RWIN1, and the 8" Winchester and 8" Floppy on the MVME420. The Boot Dump command permits the user to write his operating system to a diskette/disk in bootstrap load format for subsequent use in boot loading. The lOP command permits the user to create the diskette/disk format required.

VMEbug may be used for debug in total systems environ-ments which include the VMEmodule Monoboard Microcom-puter and with other Motorola VMEmodules as well as user-developed VMEbus compatible modules.

The Source and Relocatable Object Module Package pro-vides users with the information to link VMEbug into their specific systems in either modified or unmodified form. The Relocatable Object Modules are designed to permit creation of a load module with or without the "S" Record up/downline loader. Users may also apply the Relocatable Object Modules substituting their own device bootstrap loader for the VMEbug disk bootstrap loader.

Source Modules permit the user to modify or customize any of the VMEbug functions as desired.

TABLE 1 - VMEbug Commands

Command Description

M D <addr1 > [<count>] Memory Display/Disassembly MM <address > [;<opts>] Memory ModifylDisassembly/Assembly MS <address><data ... > Memory Set

.AO - .A7 [<expression>] Display/Set Address Register .DO - .D7 [<expression>] Display/Set Data Register .PC [<expression>] Display/Set Program Counter .SR [<expression>] Display/Set Status Register .SS [<expression>] Display/Set Supervisor Stack Pointer .US [<expression>] Display/Set User Stack Pointer

DF Display Formatted Registers (All)

BF <address1><address2><word> Block Fill (with 1S-bit data word) Memory BM <address1><address2><address3> Block Move

BS <address 1><address 2><data> Block of Memory Search BI <address1><address2> Block Initialize BT <address1><address2> Block Test of Memory

DC <expression> Data Conversion

OF Display Offsets

.RO - .RS [<expression>] Display/Set Relative Offset Register

MOTOROLA MICROCOMPUTER SYSTEMS AND COMPONENTS 2-8

MVMEBUG,MVMEBUG1

I

TABLE 1 - VMEbug Commands (continued)

Command Description

BR [<address>(;<count>]] Breakpoint Set (up to 8) NOBR [<address> <address> ... ] Breakpoint Remove (any or all)

GO [<address>] Execute Program

GT <breakpoint address> Go Until Breakpoint (sets temporary breakpoint) GD [<address>] Go Direct (No Breakpoint or Track Set, and

no Exception Vector Changes) TR [<count>] Trace (set for number of instructions) TT <breakpoint address> Trace to Temporary Breakpoint

PA Printer Attach (Print as well as display)

NOPA Reset Printer Attach

PF [<port number>] Port Format (set Serial Port Attributes) TM [<exit character>] Transparent Mode (Two serial ports

transparently connected)

*text. .. Send Message to Port 2

HE HELP (Display VMEbug commands)

DU <address 1> <address2><text. .. > Dump ("S" Record Upline load) LO [;<opts>] [= text] Load ("S" Record Downline load) VE [=text] Verify ("S" Record Downline load verify) BD [<device>] [<controller>] Boot Dump

BH [<device>] [<controller>] Bootstrap Halt

BO [<device>] [<controller>] [<string>] Bootstrap Operating System

lOP 1/0 Physical to Disk

lOT 1/0 "Teach" to Disk

Command Line Edit and Control Functions:

(BREAK) Abort Command

(DEL) Delete Character

(CTRL-D) Redisplay Line

(CTRL-H) Delete Character

(CTRL-W) Suspend Output *

(CTRL-X) Cancel Command Line

(cr) Send Line to Memory

*When (CTRL-W) is used, the user can cause the output display to continue by entering any character.

Ordering Information

Part Number Description

MVMEBUG VMEbug, the VMEmodule Monoboard Microcomputer System Debug Package, includes EPROM set* and User's Manual.

MVMEBUG1 Source and Relocatable Object Modules for the VMEbug system on VERSAdos Diskette for the EXORmacs Development System.* Includes User's Manual.

MVMEBUG/D MVMEbug Debugging Packages User's Manual

*The MVMEBUG EPROM set is copyrighted by Motorola and may be copied only under prior written agreement from Motorola. MVMEBUG1 and MVMEBUG2 Sources are copyrighted and licensed by Motorola. They may be obtained only under the required license agreement with Motorola.

MOTOROLA MICROCOMPUTER SYSTEMS AND COMPONENTS

I

I VMEmodule

MVMEXTCAC-1 MVMEXTCAC-2 Cache Accelerator Module

For VME-Based Modular

Dans le document VME Delta Series (Page 42-45)