background image

Using the 197Bug Debugger

4-6

Installation Guide

4

Other ways are by reading in the program from disk, using one of the disk 
commands (

BO

BH

IOP

), or by reading the program as a file from a remote 

computer on a network, using one of the network commands, such as 

NIOP

Once the object code has been loaded into memory, the user 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 the user does not have to write these 
routines into the target code. The user has access to various 197Bug routines 
via one of the MC88110 TRAP instructions, using vector #496. Refer to the 
MVME197BUG 197Bug Debugging Package User’s Manual for details on the 
various TRAP #496 utilities available and how to invoke them from within a 
user program.

Preserving The Debugger Operating Environment

This section explains how to avoid contaminating the operating environment 
of the debugger. 197Bug uses certain of the MVME197LE onboard resources 
and also off-board system memory to contain temporary variables, exception 
vectors, etc. If the user disturbs resources upon which 197Bug depends, then 
the debugger may function unreliably or not at all.

197Bug Vector Table and Workspace

The debugger and diagnostic firmware resides in the FLASH memory. The 
first 64KB of RAM is also used by the debugger for storage of the Vector Table, 
executable code, variables, and stack.

Hardware Functions

The only hardware resources used by the debugger are the EIA-232-D ports, 
which are initialized to interface to the debug terminal. If these ports are 
reprogrammed, the terminal characteristics must be modified to suit, or the 
ports should be restored to the debugger-set characteristics prior to reinvoking 
the debugger.

Exception Vectors Used by 197Bug

The top 16 MC88110 exception vectors (i.e., #496 to 511 inclusive) are reserved 
for use by the debugger.

Solution Systems Technologies Inc.

720-565-5995  |  [email protected]  |  www.solusys.com

Solution Systems Technologies Inc.

720-565-5995  |  [email protected]  |  www.solusys.com

Содержание MVME197LE

Страница 1: ...ocusing on the embedded marketplace We provide custom turnkey solutions to get your project started quickly We pride ourselves in our agility and ability to engineer complex solutions quickly Contact us today to find out how our experts can help in your embedded computing needs System Integration Consulting Value Added Resale Repair Services ...

Страница 2: ...ngle Board Computer Installation Guide MVME197LEIG D1 Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com ...

Страница 3: ...ntain reference to or information about Motorola products machines and programs programming or services that are not announced in your country Such references or information must not be construed to mean that Motorola intends to announce such Motorola products programming or services in your country Restricted Rights Legend If the documentation contained herein is supplied directly or indirectly t...

Страница 4: ...s For example 12 is the decimal number twelve and 12 is the decimal number eighteen Unless otherwise specified all address references are in hexadecimal throughout this document An asterisk following the signal name for signals which are level significant denotes that the signal is true or valid when the signal is low An asterisk following the signal name for signals which are edge significant den...

Страница 5: ...ender the MVME197Bug debugger unusable The terms control bit and status bit are used extensively in this document The term control bit is used to describe a bit in a register that can be set and cleared under software control The term true is used to indicate that a bit is in the state that enables the function it controls The term false is used to indicate that the bit is in the state that disabl...

Страница 6: ... MVME197SP Single Board Computer Support Information MVME197LE MVME197DP and MVME197SP Single Board Computers Programmer s Reference Guide MVME197BUG 197Bug Debugging Package User s Manual MVME197BUG 197Bug Diagnostic Firmware User s Manual MVME712M Transition Module and P2 Adapter Board User s Manual MVME712 12 MVME712 13 MVME712A MVME712AM and MVME712B Transition Module and LCP2 Adapter Board Us...

Страница 7: ...tel i82596 Ethernet Controller User s Manual Cirrus Logic CD2401 Serial Controller User s Manual SGS Thompson MK48T08 NVRAM TOD Clock Data Sheet The following non Motorola publications may also be of interest and may be obtained from the sources indicated The VMEbus Specification is contained in ANSI IEEE Standard 1014 1987 ANSI IEEE Std 1014 1987 The Institute of Electrical and Electronics Versat...

Страница 8: ...d in the United States of America September 1993 WARNING This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the documentation for this product may cause interference to radio communications It has been tested and found to comply with the limits for a Class A Computing Device pursuant to Subpart J of Part 15 of FCC rules which are d...

Страница 9: ...qualified maintenance personnel may remove equipment covers for internal subassembly or component replacement or any internal adjustment Do not replace components with power cable connected Under certain conditions dangerous voltages may exist even with the power cable removed To avoid injuries always disconnect power and discharge circuits before touching them DO NOT SERVICE OR ADJUST ALONE Do no...

Страница 10: ... 1 9 Ethernet Interface 1 9 SCSI Interface 1 10 SCSI Termination 1 10 Peripheral Resources 1 11 Programmable Tick Timers 1 11 Watchdog Timer 1 11 Software Programmable Hardware Interrupts 1 11 Processor Bus Timeout 1 11 Local Peripheral Bus Timeout 1 11 Interrupt Sources 1 12 Connectors 1 12 Memory Maps 1 12 Processor Bus Memory Map 1 12 VMEbus Memory Map 1 15 VMEbus Accesses to the Local Peripher...

Страница 11: ...TION Overview of M88000 Firmware 3 1 Description of 197Bug 3 1 Comparison With M68000 Based Firmware 3 2 197Bug Implementation 3 2 Installation and Start up 3 2 Autoboot 3 4 ROMboot 3 5 Network Boot 3 5 Restarting the System 3 6 Reset 3 6 Abort 3 7 Break 3 7 SYSFAIL Assertion Negation 3 8 MPU Clock Speed Calculation 3 8 Memory Requirements 3 8 Terminal Input Output Control 3 9 Disk I O Support 3 1...

Страница 12: ...gnostic Facilities 3 17 CHAPTER 4 USING THE 197Bug DEBUGGER Entering Debugger Command Lines 4 1 Syntactic Variables 4 2 Expression as a Parameter 4 2 Address as a Parameter 4 4 Address Formats 4 4 Offset Registers 4 4 Port Numbers 4 5 Entering and Debugging Programs 4 5 Calling System Utilities From User Programs 4 6 Preserving The Debugger Operating Environment 4 6 197Bug Vector Table and Workspa...

Страница 13: ...Tape Controller Modules Supported B 1 Disk Tape Controller Default Configurations B 2 IOT Command Parameters for Supported Floppy Types B 5 APPENDIX C NETWORK CONTROLLER DATA Network Controller Modules Supported C 1 Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com ...

Страница 14: ...ck Diagram 1 5 Figure 2 1 MVME197LE Switches Connectors and LED Indicators Location Diagram 2 2 Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com ...

Страница 15: ...xiv Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com ...

Страница 16: ...us Memory Map 1 13 Table 1 3 Local Devices Memory Map 1 14 Table 4 1 Debugger Commands 4 9 Table A 1 ENV Command Parameters A 3 Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com ...

Страница 17: ...xvi Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com ...

Страница 18: ... interface four serial ports with EIA 232 D interface six tick timers a watchdog timer 128KB of BOOT ROM a SCSI bus interface with DMA Direct Memory Access a Centronics printer port an A16 A24 A32 D8 D16 D32 VMEbus master slave interface and a VMEbus system controller Input Output I O signals are routed through the MVME197LE s backplane connector P2 A P2 Adapter Board or LCP2 Adapter board routes ...

Страница 19: ...med in the ECDM The PCCchip2 Peripheral Channel Controller ASIC provides two tick timers and the interface to the LAN chip the SCSI chip the serial port chip the printer port and the BBRAM Battery Backup RAM A VMEbus interface chip with an MC68040 bus interface is one ASIC called the VMEchip2 The VMEchip2 includes two tick timers a watchdog timer programmable map decoders for the master and slave ...

Страница 20: ...ytes of BOOT ROM Six 32 bit tick timers for periodic interrupts Watchdog timer Eight software interrupts I O SCSI Bus interface with Direct Memory Access DMA Four serial ports with EIA 232 D buffers Centronics printer port Ethernet transceiver interface VMEbus interface VMEbus system controller functions VMEbus interface to local peripheral bus A24 A32 D8 D16 D32 BLT D8 D16 D32 D64 BLT Block Trans...

Страница 21: ...to 55 C at point of entry of forced air approximately 490 LFM 40 to 85 C 5 to 90 non condensing Double high VMEboard 9 187 inches 233 35 mm 6 299 inches 160 00 mm 0 063 inch 1 60 mm 10 309 inches 261 85 mm 7 4 inches 188 00 mm 0 80 inch 20 32 mm 96 pin connector which provides the interface to the VMEbus signals 96 pin connector which provides the interface to the extended VMEbus signals and other...

Страница 22: ...Block Diagram MVME197LEIG D1 1 5 1 Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com ...

Страница 23: ...4 DCAM Data 64 Address Bus Data Bus Data Bus 256 Memory Array 32 64 MB LAN 82596CA VMEbus VMEchip2 SCSI II NCR53710 4 Serial Ports CL CD2401 Flash Memory BOOT ROM PCCchip2 NVRAM RTC Address Bus Data Bus Address 32 Data 32 I2C EEPROM I2CBus Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com ...

Страница 24: ... more information When enabled by software the ABORT switch S2 generates an interrupt at a user programmable level It is normally used to abort program execution and return to the debugger Refer to the VMEchip2 chapter of the MVME197LE MVME197DP and MVME197SP Single Board Computers Programmer s Reference Guide for more information The six LEDs on the MVME197LE front panel are FAIL SCON RUN LAN VME...

Страница 25: ... Flash Memory Up to 1MB of flash memory is available on the board Flash memory works like EPROM but can be erased and reprogrammed by software It is organized as 32 bits wide but to the processor it looks as 64 bits wide It is mapped at location FF800000 Reads can be of any size including burst transfers but writes are always 32 bits wide regardless of the size specified for the transfer For this ...

Страница 26: ...al peripheral bus interface and the local VMEbus DMA controller functions on the MVME197LE are provided by the VMEchip2 The VMEchip2 can also provide the VMEbus system controller functions Refer to the VMEchip2 chapter in the MVME197LE MVME197DP and MVME197SP Single Board Computers Programmer s Reference Guide for detailed programming information I O Interfaces The MVME197LE provides onboard I O f...

Страница 27: ...se the CD2401 does not support a retry operation necessary to break VMEbus lock conditions the CD2401 DMA controllers should not be programmed to access the VMEbus The hardware does not restrict the CD2401 to onboard DRAM Printer Interface The MVME197LE has a Centronics compatible printer interface The printer interface is provided by the PCCchip2 Refer to the PCCchip2 chapter in the MVME197LE MVM...

Страница 28: ... by the PCCchip2 Refer to the 82596CA LAN Coprocessor User s Manual and to the PCCchip2 chapter in the MVME197LE MVME197DP and MVME197SP Single Board Computers Programmer s Reference Guide for detailed programming information SCSI Interface The MVME197LE provides for mass storage subsystems through the industry standard SCSI bus These subsystems may include hard and floppy disk drives streaming ta...

Страница 29: ...uters Programmer s Reference Guide for detailed programming information Software Programmable Hardware Interrupts Eight software programmable hardware interrupts are provided by the VMEchip2 These interrupts allow software to create a hardware interrupt Refer to the VMEchip2 chapter in the MVME197LE MVME197DP and MVME197SP Single Board Computers Programmer s Reference Guide for detailed programmin...

Страница 30: ...CSI bus the serial ports the Ethernet interface and the Centronics printer There is a 249 pin mezzanine connector J2 with the MC88110 bus interface This mezzanine connector is for other MVME197 module expansion On the MVME197LE there is also a 20 pin general purpose connector J1 which provides the interconnect to the LEDs and the reset and abort signals This connector is different for the other mo...

Страница 31: ...ripheral Bus to Processor Bus decoders are programmed in the BusSwitch The Local Peripheral to VMEbus master and VMEbus to Local Peripheral Bus slave decoders are programmed in the VMEchip2 2 Size is approximate 3 Cache inhibit depends on devices in area mapped 4 This area is not decoded If these locations are accessed and the local peripheral bus timer is enabled the cycle times out and is termin...

Страница 32: ...served 4KB 4 FFF05000 FFF05FFF reserved 4KB 4 FFF06000 FFF06FFF reserved 4KB 4 FFF07000 FFF07FFF User defined 4KB 4 FFF08000 FFF3FFFF reserved 224KB 4 FFF40000 FFF400FF VMEchip2 LCSR D32 256B 1 2 3 FFF40100 FFF401FF VMEchip2 GCSR D32 D8 256B 1 2 3 FFF40200 FFF40FFF reserved 3 5KB 4 5 FFF41000 FFF41FFF reserved 4KB 4 FFF42000 FFF42FFF PCCchip2 D32 D8 4KB 1 2 FFF43000 FFF43FFF reserved 4KB 4 FFF4400...

Страница 33: ...p2 The DR0 bit is located at address 0 bit D15 The DROM must be disabled at 0 before the DRAM is accessed VMEbus Memory Map This section describes the mapping of local resources as viewed by VMEbus masters VMEbus Accesses to the Local Peripheral Bus The VMEchip2 includes a user programmable map decoder for the VMEbus to local peripheral bus interface The map decoder allows the user to program the ...

Страница 34: ...circuits Static discharge can damage these components Inspect the equipment for any shipping damage If no damage exists then the module can be prepared for operation according to the following sections of this chapter Hardware Preparation To select the desired configuration and ensure proper operation of the MVME197LE module certain modifications may be necessary before installation These modifica...

Страница 35: ...reparation and Installation 2 2 Installation Guide 2 Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com ...

Страница 36: ... SWITCH S2 RESET SWITCH S3 2 1 20 19 1E1 1A17 1E17 1A1 1E1 2A17 2E17 3A1 3E1 3A17 3E17 O N 1 2 3 4 5 6 7 8 VMEbus CONNECTOR P2 9 O N 1 2 J1 CONFIGURATION SWITCH S6 SERIAL PORT 4 CLOCK SELECT S1 S6 MEZZANINE CONNECTOR J2 MVME197LE Figure 2 1 MVME197LE Switches Connectors and LED Indicators Location Diagram Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com Solution Syst...

Страница 37: ... way switch segments The following illustration shows the factory configuration of switch S1 The bit values are read as a one when the switch is OFF open and as a zero when the switch is ON closed The default value for switch S1 is shown below Switch S1 System Controller SCON General Purpose Input 7 GPI7 General Purpose Input 6 GPI6 General Purpose Input 5 GPI5 General Purpose Input 4 GPI4 General...

Страница 38: ...The MVME197LE can be the system controller The system controller function is enabled or disabled by configuring selectable switch segment S1 9 When the MVME197LE is the system controller the SCON LED is turned ON The VMEchip2 may be configured as a system controller as illustrated below Factory configuration is with the system controller switch enabled closed Switch S1 S1 1 to S1 8 OFF All Ones FA...

Страница 39: ...l Port 4 Clock Configuration Select header on the MVME712M transition module Refer to the MVME712M Transition Module and P2 Adapter Board User s Manual for configuration of that header Installation Instructions The following sections discuss installation of the MVME197LE into a VME chassis and system considerations Ensure that BOOT ROM device is installed Ensure that all switches are configured as...

Страница 40: ...on of the IACK daisy chain driver The MVME197LE is to be installed in the front of the chassis and the MVME712X transition board which has a double wide front panel is to be installed in the rear of the chassis d Carefully slide the MVME197LE module into the card slot Be sure the module is seated properly into the P1 and P2 connectors on the backplane Do not damage or bend connector pins Fasten th...

Страница 41: ...ta A32 D32 However it handles A16 or A24 devices in certain address ranges D8 and or D16 devices in the system must be handled by software Refer to the memory maps in the MVME197LE MVME197DP and MVME197SP Single Board Computers Programmer s Reference Guide The MVME197LE contains shared onboard DRAM whose base address is software selectable Both the onboard processor and off board VMEbus devices se...

Страница 42: ...gnal to other MVME197LE processors if any All eight registers are accessible from any local processor as well as from the VMEbus The MVME197LE provides 12 Vdc power to the Ethernet LAN transceiver interface through a 1 amp fuse F2 located on the MVME197LE module If the Ethernet transceiver fails to operate check the fuse When using the MVME712M transition module the yellow LED DS1 on the MVME712M ...

Страница 43: ...eparation and Installation 2 10 Installation Guide 2 Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com ...

Страница 44: ...self test at power up feature which verifies the integrity of the system Various 197Bug routines that handle I O data conversion and string functions are available to user programs through the TRAP 496 handler The TRAP 496 handler is accessible through any of the trap exception commands TB0 TB1 TBND and TCND with trap vector 496 197Bug consists of three parts A command driven user interactive soft...

Страница 45: ... the assembler disassembler and in the use of registers instead of the stack for the passing of arguments to or from the TRAP 496 handler Some effort has also been made to make the interactive commands more consistent For example delimiters between commands and arguments may now be commas or spaces interchangeably 197Bug Implementation MVME197BUG is written largely in the C programming language pr...

Страница 46: ...of the MVME197LE ports at power up After power up the baud rate of the debug port can be reconfigured by using the Port Format PF command of the 197Bug debugger Note In order for high baud rate serial communication between 197Bug and the terminal to work the terminal must do some form of handshaking If the terminal being used does not do hardware handshaking via the CTS line then it must do XON XO...

Страница 47: ...quence until a valid bootable device containing a boot media is found or the list is exhausted If a valid bootable device is found a boot from that device is started The controller scanning sequence goes from the lowest controller Logical Unit Number LUN detected to the highest LUN detected Refer to Appendix B for default LUNs At power up Autoboot is enabled and providing the drive and controller ...

Страница 48: ...AIL on an unintelligent controller module The NORB command disables the function For a user s ROMboot module to gain control through the ROMboot linkage four requirements must be met 1 Power must have just been applied but the ENV command can change this to also respond to any reset 2 The user s routine must be located within the MVME197LE ROM memory map but the ENV command can change this to any ...

Страница 49: ...ntained in the NIOT and ENV commands These parameters allow the selection of specific boot devices systems and files and allow programming of the Boot delay Refer to the ENV command in Appendix A for more details Restarting the System The user can initialize the system to a known state in three different ways reset abort and break Each has characteristics which make it more appropriate than the ot...

Страница 50: ...s being debugged Abort should be used to regain control if the program gets caught in a loop etc The target IP register contents etc help to pinpoint the malfunction Pressing and releasing the ABORT switch generates a local board condition which may interrupt the processor if enabled The target registers reflecting the machine state at the time the ABORT switch was pressed are displayed on the scr...

Страница 51: ...able parameter housed in NVRAM refer to the ENV command If the check fails a warning message is displayed The calculated clock speed is also checked against known clock speeds and tolerances Memory Requirements The program portion of 197Bug is approximately 1 megabyte of code consisting of download debugger and diagnostic packages and contained entirely in the flash memory The flash memory on the ...

Страница 52: ...s H D redisplay The entire command line as entered so far is redisplayed on the following line A repeat Repeats the previous line This happens only at the command line The last line entered is redisplayed but not executed The cursor is positioned at the end of the line You may enter the line as is or you can add more characters to it You can edit the line by backspacing and typing over old charact...

Страница 53: ...e can be changed on a per device basis with the IOT command The sector defines the unit of information for the media itself as viewed by the controller The sector size varies for different controllers and the value for a specific device can be displayed and changed with the IOT command When a disk transfer is requested the start and size of the transfer is specified in blocks 197Bug translates thi...

Страница 54: ...r write blocks of data or to format the specified device in a certain way IOP creates a command packet from the arguments specified by the user and then invokes the proper system call function to carry out the operation IOT Input Output Teach IOT allows the user to change any configurable parameters and attributes of the device In addition it allows the user to see the controllers available in the...

Страница 55: ...sent to the specified device Refer to the system call descriptions found in the MVME197BUG 197Bug Debugging Package User s Manual for details on the format and construction of these standardized user packets The packets which a controller module expects to be given vary from controller to controller The disk driver module for the particular hardware module board must take the standardized packet g...

Страница 56: ...different from the default This is also a temporary change and is overwritten if a cold start reset occurs Obtain the source The user may change the configuration files and rebuild 197Bug so that it has different defaults Changes made to the defaults are permanent until changed again Disk I O Error Codes 197Bug returns an error code if an attempted disk operation is unsuccessful Network I O Suppor...

Страница 57: ...ts of an identity less node broadcasting a whoami packet onto the Ethernet and waiting for an answer The RARP server fills an Ethernet reply packet up with the target s Internet Address and sends it The Address Resolution Protocol ARP basically provides a method of converting protocol addresses e g IP addresses to local area network addresses e g Ethernet addresses The RARP protocol module support...

Страница 58: ...led by the ENV command as its Remote Start Switch Method refer to Appendix A Multiprocessor Control Register MPCR Method A remote processor can initiate program execution in the local MVME197LE dual port RAM by issuing a remote GO command using the Multiprocessor Control Register MPCR The MPCR located at shared RAM location of 3000 offset from the base address the debugger loads it at contains one...

Страница 59: ...n the prompt is sent If no terminal is connected to the port the MPCR is still polled to see whether an external processor requires control to be passed to the dual port RAM If a terminal does respond the MPCR is polled for the same purpose while the serial port is being polled for user input An ASCII G placed in the MPCR by a remote processor indicates that the Go Direct type of transfer is reque...

Страница 60: ...SR of the MVME197LE The execution address is formed by reading the GCSR general purpose registers in the following manner GPCSR0 used as the upper 16 bits of the address GPCSR1 used as the lower 16 bits of the address The address appears as Diagnostic Facilities Included in the 197Bug package is a complete set of hardware diagnostics intended for testing and troubleshooting of the MVME197LE refer ...

Страница 61: ...er General Information 3 18 Installation Guide 3 Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com ...

Страница 62: ... may or may not return to the debugger depending on what the user program does For example if a breakpoint has been specified then control returns to the debugger when the breakpoint is encountered during execution of the user program Alternately the user program could return to the debugger by means of the TRAP 496 function RETURN In general a debugger command is made up of the following parts 1 ...

Страница 63: ...be typed just as it appears italic strings An italic string is a syntactic variable and is to be replaced by one of a class of items it represents A vertical bar separating two or more items indicates that a choice is to be made only one of the items separated by this symbol should be selected Square brackets enclose an item that is optional The item may appear zero or one time Braces enclose an o...

Страница 64: ...ssion There is no operator precedence Subexpressions within parentheses are evaluated first Nested parenthetical subexpressions are evaluated from the inside out Valid expression examples The total value of the expression must be between 0 and FFFFFFFF Data Type Base Identifier Examples Integer Hexadecimal FFFFFFFF Integer Decimal 1974 10 4 Integer Octal 456 Integer Binary 1000110 String Literal N...

Страница 65: ...en data at the second ending address is acted on only if the second address is a proper boundary for a half word or word respectively Otherwise the range is truncated so that the last byte acted upon is at an address that is a proper boundary Offset Registers Eight pseudo registers Z0 Z7 called offset registers are used to simplify the debugging of relocatable and position independent modules The ...

Страница 66: ...reate the program using the Memory Modify MM command with the assembler disassembler option The program is entered by the user 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 MVME197BUG 197Bug Debugging Package User s Manual for complete details of the 197Bug Assembler Disassembler Another way to enter a program is to...

Страница 67: ...void contaminating the operating environment of the debugger 197Bug uses certain of the MVME197LE onboard resources and also off board system memory to contain temporary variables exception vectors etc If the user disturbs resources upon which 197Bug depends then the debugger may function unreliably or not at all 197Bug Vector Table and Workspace The debugger and diagnostic firmware resides in the...

Страница 68: ...ating Point Data Types When entering data in single or double precision format the following rules must be observed 1 The sign field is the first field and is a binary field 2 The exponent field is the second field and is a hexadecimal field 3 The mantissa field is the last field and is a hexadecimal field 4 The sign field the exponent field and at least the first digit of the mantissa field must ...

Страница 69: ...requires the following fields An optional sign bit or One decimal digit followed by a decimal point Up to 17 decimal digits at least one must be entered An optional Exponent field that consists of An optional underscore The Exponent field identifier letter E An optional Exponent sign From 1 to 3 decimal digits For more information about the floating point SFU refer to the MVME197BUG 197Bug Debuggi...

Страница 70: ...sembler Block of Memory Compare Block of Memory Fill Bootstrap Operating System and Halt Block of Memory Initialize Block of Memory Move Bootstrap Operating System Breakpoint Insert Delete Data Breakpoint Register 0 1 No Data Breakpoint 0 1 Block of Memory Search Block of Memory Verify AB V NOAB AS ADDR BC RANGE DEL ADDR B H W BF RANGE DEL data increment B H W BH DEL Controller LUN DEL Device LUN ...

Страница 71: ... with Registers Go Direct Ignore Breakpoints Go to Next Instruction Go Execute User Program Go to Temporary Breakpoint Help Idle Master MPU I O Control for Disk I O Inquiry CM PORT DEL ID STRING DEL BAUD DEL PHONE NUMBER A H NOCM CNFG M I CS RANGE B H W DC EXP ADDR B O A DMA RANGE DEL ADDR DEL VDIR DEL AM DEL BLK B H W DS ADDR DU PORT DEL RANGE DEL TEXT DEL ADDR OFFSET B H W ECHO PORT DEL hexadeci...

Страница 72: ...on Listing Disable Macro Expansion Listing Load Macros Save Macros Memory Display System Menu Memory Modify Memory Map Diagnostic Memory Set Memory Write IOP IOT H A IRD MPU ARGS IRM MPU ARGS IRS MPU ARGS IRQM MASK LO n ADDR X C T text MA NAME NOMA NAME MAE name line string MAL NOMAL MAR controller LUN DEL device LUN DEL block MAW controller LUN DEL device LUN DEL block MD S ADDR COUNT ADDR B H W ...

Страница 73: ...ASH Memory Put RTC Into Power Save Mode for Storage ROMboot Enable ROMboot Disable Register Display Connect the Remote Modem to CSO Cold Warm Reset NAB NBH Controller LUN Device LUN Client IP Address Server IP Address String NBO Controller LUN Device LUN Client IP Address Server IP Address String NIOC NIOP NIOT H A NPING Controller LUN Device LUN Source IP Destination IP N Packets OF Zn A PA n NOP...

Страница 74: ...l Table Display Search Trace Terminal Attach Display Time and Date Transparent Mode Trace to Temporary Breakpoint Verify S records Against Memory Revision Version Display Write Loop RL ADDR B H W RM REG S D RS REG DEL EXP DEL ADDR S D RUN MPU SD SET mmddyyhhmm SYM ADDR NOSYM SYMS symbol name S T COUNT TA port TIME C L O TM n ESCAPE TT ADDR VE n ADDR X C text VER WL ADDR DATA B H W Solution Systems...

Страница 75: ... the 197Bug Debugger 4 14 Installation Guide 4 Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com ...

Страница 76: ...rmation block Note that the parameters that are quoted are left justified character ASCII strings padded with space characters and the quotes are displayed to indicate the size of the string Parameters that are not quoted are considered data strings and data strings are right justified The data strings are padded with zeros if the length is not met In the event of corruption of the board informati...

Страница 77: ...s lost Any time the Bug uses a parameter from NVRAM the NVRAM contents are first tested by checksum to ensure the integrity of the NVRAM contents In the instance of BBRAM checksum failure certain default values are assumed as stated below The bug operational parameters which are kept in NVRAM are not initialized automatically on power up warm reset It is up to the Bug user to invoke the ENV comman...

Страница 78: ...ervice menu Use both the Global Control and Status Register GCSR in the VMEchip2 and the Multiprocessor Control Register MPCR in the shared RAM methods to pass and start execution of cross loaded program Accesses will be made to the VMEbus to determine the presence of supported controllers Negate VMEbus SYSFAIL after the successful completion or entrance into the bug command monitor The local SCSI...

Страница 79: ...a disk tape device currently supported by the Bug The default is 0 This is the time in seconds that the Auto Boot sequence will delay before starting the boot The purpose of the delay is to allow the user the option of stopping the boot by use of the Break key The time value is from 0 through 255 seconds The user may specify a string filename which is passed on to the code being booted The maximum...

Страница 80: ...h 255 seconds First location tested when the Bug searches for a ROMboot Module This is the start of the Flash memory space Last location tested when the Bug searches for a ROMboot Module This is the end of the Flash memory space Network Auto Boot function is disabled Network Auto Boot is attempted at power up reset only LUN of a disk tape controller module currently supported by the Bug Default is...

Страница 81: ... these parameters are the necessary parameters to perform an unattended network boot This is where the Bug begins to search for a work page a 64KB block of memory to use for vector table stack and variables This must be a multiple of the debugger work page modulo 10000 64KB In a multi 197 environment each MVME197LE board could be set to start its work page at a unique address so as to allow multip...

Страница 82: ...d to FF by the MVME197LE hardware after a System or Power on Reset In a multi 197 environment where the work pages of several Bugs are to reside in the memory of the primary first MVME197LE the non primary CPUs will wait for the data at the Memory Search Delay Address to be set to 00 01 or 02 refer to the Memory Requirements section in the Debugger General Information chapter of this guide for the...

Страница 83: ... The default is the calculated size of the local memory Slave address decoders setup The slave address decoders are use to allow another VMEbus master to access a local resource of the MVME197LE There are two slave address decoders set They are set up as follows Slave Enable 1 Y N Slave Starting Address 1 Slave Ending Address 1 Y 00000000 01FFFFFF Setup and Enable the Slave Address Decoder 1 Base ...

Страница 84: ...rting and ending address selections from the previous questions The default is 0 This register defines which bits of the address are significant A logical one 1 indicates significant address bits logical zero 0 is non significant The default is 0 This defines the access restriction for the address space defined with this slave address decoder The default is 01FF Do not setup and enable the Slave A...

Страница 85: ...ections from the previous questions The default is 0 This register defines which bits of the address are significant A logical one 1 indicates significant address bits logical zero 0 is non significant The default is 0 This defines the access restriction for the address space defined with this slave address decoder Setup and enable the Master Address Decoder 1 This is the base address of the VMEbu...

Страница 86: ... VMEbus resource that is accessible from the local peripheral bus If enabled the default is FF000000 otherwise 00000000 This is the ending address of the VMEbus resource that is accessible from the local peripheral bus If enabled the default is FF7FFFFF otherwise 00000000 This defines the access characteristics for the address space defined with this master address decoder If enabled the default i...

Страница 87: ...000 Ending address of the VMEbus resource that is accessible from the local peripheral bus If enabled the default is 00FFFFFF otherwise 00000000 This defines the access characteristics for the address space defined with this master address decoder If enabled the default is 3D otherwise 00 Do not setup and enable the Master Address Decoder 4 This is the base address of the VMEbus resource that is a...

Страница 88: ... with the starting and ending address selections from the previous questions The default is 0 This register defines which bits of the address are significant A logical one 1 indicates significant address bits logical zero 0 is non significant The default is 0 This defines the access characteristics for the address space defined with this master address decoder The default is 00 Enable the Short I ...

Страница 89: ...These parameters are used to set up the ROM speed Default 03 165 nsec These parameters are the base interrupt vector for the component specified Default PCCchip2 05 VMEchip2 Vector 1 06 VMEchip2 Vector 2 07 This parameter specifies the group address FFFFXX00 in Short I O for this board The default is D0 This parameter specifies the base address FFFFCEXX in Short I O for this board The default is 0...

Страница 90: ...anged by its onboard jumpers and or switches so that it matches the Second Address and can be called up by the Second CLUN Controller Type First CLUN First Address Second CLUN Second Address MVME197LE Single Board Computer 00 MVME320 Winchester Floppy Controller 11 FFFFB000 12 FFFFAC00 MVME323 ESDI Winchester Controller 08 FFFFA000 09 FFFFA200 MVME327A SCSI Controller 02 FFFFA600 03 FFFFA700 MVME3...

Страница 91: ...yle CD ROM Sequential access device Controller LUN Address Device LUN Device Type 11 FFFFB000 0 1 2 3 Winchester hard drive Winchester hard drive 5 1 4 DS DD 96 TPI floppy drive 5 1 4 DS DD 96 TPI floppy drive 12 FFFFAC00 Controller LUN Address Device LUN Device Type 8 FFFFA000 0 1 2 3 ESDI Winchester hard drive ESDI Winchester hard drive ESDI Winchester hard drive ESDI Winchester hard drive 9 FFF...

Страница 92: ... Local Floppy Drive Controller LUN Address Device LUN Device Type 6 FFFF9000 00 08 10 18 20 28 30 SCSI Common Command Set CCS which may be any of these Removable flexible direct access TEAC style CD ROM Sequential access device 7 FFFF9800 16 FFFF4800 17 FFFF5800 40 48 50 58 60 68 70 Same as above but these will only be available if the daughter card for the second SCSI channel is present 18 FFFF70...

Страница 93: ...evice Controller LUN Address Device LUN Device Type 4 FFFF5000 0 QIC 02 Streaming Tape Drive 5 FFFF5100 Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com ...

Страница 94: ...linder Reduced Write Current Cylinder Step Rate Code Single Double DATA Density Single Double TRACK Density Single Equal_in_all Track Zero Density Slow Fast Data Rate 1 1 10 2 50 50 50 0 D D S S 2 1 8 2 28 28 28 0 D D E S 2 1 9 2 28 28 28 0 D D E S 2 1 9 2 50 50 50 0 D D E S 2 1 F 2 50 50 50 0 D D E F 2 1 12 2 50 50 50 0 D D E F 2 1 24 2 50 50 50 0 D D E F Other Characteristics Number of Physical ...

Страница 95: ... Tape Controller Data B 6 Installation Guide B Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com ...

Страница 96: ...gger system calls NETRD NETWR NETFOPN NETFRD NETCFIG and NETCTRL Controller Type First CLUN First DLUN Address Interface Type MVME197 00 00 FFF46000 Ethernet MVME376 MVME376 MVME376 MVME376 MVME376 MVME376 02 03 04 05 06 07 00 00 00 00 00 00 FFFF1200 FFFF1400 FFFF1600 FFFF5400 FFFF5600 FFFFA400 Ethernet Ethernet Ethernet Ethernet Ethernet Ethernet MVME374 MVME374 MVME374 MVME374 MVME374 MVME374 10...

Страница 97: ...work Controller Data C 2 Installation Guide C Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com ...

Страница 98: ...tery Backup RAM and Clock 1 8 BH Bootstrap and Halt 3 11 blocks versus sectors 3 10 BO Bootstrap Operating System 3 11 board information block configure A 1 Board Mode 3 4 boldface strings 4 2 BOOT ROM 1 7 2 5 booting the operating system 3 11 BOOTP protocol module 3 14 braces 4 2 Break 3 7 BREAK key 3 7 bus terminators SCSI 1 10 C calling system utilities from user programs 4 6 checksum A 2 Clear...

Страница 99: ...ntroller Default Configurations B 2 Disk Tape Controller Modules Supported B 1 DLUN B 2 B 3 B 4 C 1 double precision real 4 8 DROM Download ROM 1 7 E EIA 232 D port connectors 3 3 EIA 232 D ports 4 6 entering and debugging programs 4 5 entering debugger command lines 4 1 ENV command A 2 Environment ENV command 3 5 environment preserving 4 6 environment set A 2 error codes disk I O 3 13 error codes...

Страница 100: ...ry 3 11 IOP Physical Input Output to Disk 3 11 IOT Input Output Teach 3 11 IOT Command Parameters for Supported Floppy Types B 5 italic strings 4 2 L LAN coprocessor 3 14 LEDs front panel 1 6 Local Devices Memory Map 1 14 local floppy drive B 3 local peripheral bus MC68040 compatible bus 1 2 Local Peripheral Bus Timeout 1 11 logical block 3 10 Logical Unit Number LUN 3 11 M M88000 firmware 3 1 man...

Страница 101: ...s A 2 option field 4 1 overview of M88000 firmware 3 1 P P1 and P2 connectors 2 6 parameters default device 3 13 Peripheral Resources 1 11 Physical dimensions board 1 4 physical layer manager Ethernet driver 3 14 Port 0 or 00 4 5 Port 1 or 01 4 5 port numbers 4 6 Power requirements 1 4 preserving the debugger operating environment 4 6 Printer Interface 1 9 processor bus MC88110 bus 1 2 Processor B...

Страница 102: ...ler enable function 2 4 Switches Connectors and LED Indicators Location Diagram 2 2 syntactic variable 4 2 syntactic variables 4 2 SYSFAIL assertion negation 3 8 system calls disk I O 3 12 System Considerations 2 7 system console 3 3 system controller 2 4 2 6 System Fail SYSFAIL 3 5 System Mode 3 4 T tape controller default configuration B 2 terminal input output control 3 9 The 197Bug Debugger Co...

Страница 103: ...Index IN 6 Installation Guide I N D E X Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com Solution Systems Technologies Inc 720 565 5995 info solusys com www solusys com ...

Страница 104: ...ocusing on the embedded marketplace We provide custom turnkey solutions to get your project started quickly We pride ourselves in our agility and ability to engineer complex solutions quickly Contact us today to find out how our experts can help in your embedded computing needs System Integration Consulting Value Added Resale Repair Services ...

Отзывы: