HP 7750 Series User Manual

HP 7750 Series User Manual

Emulator softkey interface
Hide thumbs Also See for 7750 Series:
Table of Contents

Quick Links

HP 64147
7750/51 Emulator
Softkey Interface
User's Guide
HP Part No. 64147-97001
Printed in Japan
April 1995
Edition 1
Table of Contents
loading

Summary of Contents for HP 7750 Series

  • Page 1 HP 64147 7750/51 Emulator Softkey Interface User’s Guide HP Part No. 64147-97001 Printed in Japan April 1995 Edition 1...
  • Page 3 Hewlett-Packard Company. The information contained in this document is subject to change without notice. HP is a trademark of Hewlett-Packard Company. UNIX is a registered trademark in United States and other countries, licenced exclusively through X/Open Company Limited.
  • Page 4 Printing History New editions are complete revisions of the manual. The date on the title page changes only when a new edition is published. A software code may be printed before the date; this indicates the version level of the software product at the time the manual was issued. Many product updates and fixes do not require manual changes, and manual corrections may be done without accompanying product changes.
  • Page 5 Using This Manual This manual introduces you to the HP 64147A 7750/51 Series Emulator as used with the Softkey Interface. This manual: Shows you how to use emulation commands by executing them on a sample program and describing their results.
  • Page 6 Organization Chapter 1 Introduction to the 7750/51 Series Emulator. This chapter briefly introduces you to the concept of emulation and lists the basic features of the 7750/51 Series emulator. Chapter 2 Getting Started. This chapter shows you how to use emulation commands by executing them on a sample program.
  • Page 7 Commands, options, and parts of command syntax which may be entered by pressing softkeys. normal User specified parts of a command. Represents the HP-UX prompt. Commands which follow the "$" are entered at the HP-UX prompt. The carriage return key.
  • Page 8 Notes...
  • Page 9: Table Of Contents

    Contents Introduction to the 7750/51 Series Emulator Introduction ......1-1 Purpose of the 7750/51 Series Emulator .
  • Page 10 Entering the Softkey Interface ....2-5 From the HP-UX Shell ..... . 2-5 Configure the Emulator for Examples .
  • Page 11 Displaying Trace with Compress Mode ... . . 2-29 Displaying Trace with Time Count Absolute ..2-30 Emulator Analysis Status Qualifiers ....2-31 Resetting the Emulator .
  • Page 12 Trace HOLD/HLDA cycles by emulation analyzer? ..4-19 Replace 16-bit addresses with symbolic references? ..4-19 Simulated I/O Configuration ....4-20 Interactive Measurement Configuration .
  • Page 13 Specifications ......B-2 Illustrations Figure 1-1. HP 64147 Emulator for MELPS 7750/51 Series ..1-2 Figure 2-1. Connecting the Emulation Pod ....2-3 Figure 2-2.
  • Page 14 Notes 6-Contents...
  • Page 15: Introduction To The 7750/51 Series Emulator

    Purpose of the 7750/51 Series Emulator Features of the 7750/51 Series Emulator Purpose of the The HP 64147A 7750/51 Series Emulator is designed to replace the MELPS 7700/50/51 Series microprocessor in your target system so you 7750/51 Series can control operation of the processor in your application hardware Emulator (usually referred to as the target system).
  • Page 16: Figure 1-1. Hp 64147 Emulator For Melps 7750/51 Series

    Figure 1-1. HP 64147 Emulator for MELPS 7750/51 Series 1-2 Introduction...
  • Page 17: Supported Microprocessors

    Emulator Clock Speed The HP 64147A 7750/51 Series emulator can run with no wait state up to 25 MHz. When clock is faster than 16 MHz, you can use the emulator with one of the following methods. Insert one wait state by the RDY signal. The emulator can be configured to generate the RDY signal.
  • Page 18: Emulation Memory

    1/8/16/25 MHz. This emulation pods can be used with target system clock from 1 up to 25 MHz. Emulation memory The HP 64147A 7750/51 Series emulator is used with one of the following Emulation Memory Cards. HP 64726A 128K byte Emulation Memory Card...
  • Page 19: Foreground Or Background Emulation Monitor

    Foreground or When you power up the emulator, or when you initialize it, the background monitor is used by default. You can also configure the Background emulator to use a foreground monitor. Before the background and Emulation Monitor foreground monitors are described, you should understand the function of the emulation monitor program.
  • Page 20: Single-Step

    Upgrades hardware without disassembling the HP 64700B Card Cage. This means that you’ll be able to update product firmware, if desired, without having to call an HP field representative to your site. 1-6 Introduction...
  • Page 21: Limitations, Restrictions

    Limitations, Restrictions Clock Speed Maximum clock speed of HP 64147A 7750/51 emulator is 25MHz. This emulator does not support any operation with clock faster than 25MHz. Access to Internal Modifying internal RAM or SFR suspends user program execution. Trace Internal RAM Read data from the internal RAM or SFR is not traced correctly by the emulation analyzer.
  • Page 22: Step Command And Interrupts

    Stack Address In some versions of 7720 microprocessor, the stack can be located in Bank FF. However, the HP 64147A 7750/51 Series emulator does not support the feature. The stack must be located in Bank 0. Evaluation Chip Hewlett-Packard makes no warranty of the problem caused by the Evaluation chip in the emulator.
  • Page 23: Getting Started

    Getting Started Introduction This chapter will lead you through a basic, step by step tutorial that shows how to use the HP 64147A 7750/51 emulator with the Softkey Interface. This chapter will: Tell you what must be done before you can use the emulator as shown in the tutorial examples.
  • Page 24: Before You Begin

    Before beginning the tutorial presented in this chapter, you must have completed the following tasks: 1. Connected the emulator to your computer. The HP 64700 Series Installation/Service manual show you how to do this. 2. Installed the Softkey Interface software on your computer.
  • Page 25: A Look At The Demo Program

    Figure 2-1. Connecting the Emulation Pod A Look at the Demo The demo program is spmt_demo consisting of source program spmt_demo.c and scrt0.a77. Program Where is the spmt_demo Software? The demo program is shipped with the Softkey Interface and may be copied from the following directory.
  • Page 26: Compiling The Demo Program

    ,-s -ms Figure 2-2. Linkage Editor Subcommand File Generate HP To generate HP Absolute file for the Softkey Interface, you need to use "m77cnvhp" absolute file format converter program. The m77cnvhp Absolute file converter is provided with HP 64147 Softkey Interface. To generate HP Absolute file, enter following command: $ m77cnvhp spmt_demo ...
  • Page 27: Entering The Softkey Interface

    2-3. The status message shows that the default configuration file has been loaded. If the command is not successful, you will be given an error message and returned to the HP-UX prompt. Error messages are described in the Softkey Interface Reference manual.
  • Page 28: Configure The Emulator For Examples

    Select the you are going to emulate. Appropriate is listed in Processor Support List for HP MELPS emulators. If your processor is not listed in this guide, refer to chapter 4 of this manual for information on configuring the emulator.
  • Page 29 Processor mode ? single no Modify reset value for Stack Pointer? Modify memory configuration? yes Is speed of input clock faster than 16MHz? no backgnd Monitor type? Now you should be facing memory mapping screen. One mapper term must be specified for the demo program.
  • Page 30: On-Line Help

    key to see the next line, just as you do with the HP-UX more command. After all the information on the particular topic has been displayed (or after you press "q" to quit scrolling through information), you are prompted to press ...
  • Page 31: Pod Command Help

    Pod Command Help To access the emulator’s firmware resident Terminal Interface help information, you can use the following commands. display pod_command pod_command ’help cf’ Pod Commands Time Command iram - set internal ram address space irom - set internal rom address space ipmr - set processor mode register address mode...
  • Page 32: Loading Absolute Files

    NOT be in the directory that your program is in. To find out what directory you are in, enter: ! pwd The "!" allows you to use an HP-UX shell command. To move into the correct directory, enter: cd ...
  • Page 33: Displaying Symbols

    Displaying When you load an absolute file into memory (unless you use the "nosymbols" syntax), symbol information is also loaded. Both global Symbols symbols and symbols that are local to a source file can be displayed. Global To display global symbols, enter the following command. display global_symbols ...
  • Page 34: Local

    Local When displaying local symbols, you must include the name of the source file in which the symbols are defined. For example, display local_symbols_in spmt_demo.c: As you can see, the procedure symbols and static symbols in "spmt_demo.c" are displayed. To list the next symbols, press the ...
  • Page 35: Source Lines

    Source Lines To display the address ranges associated with the program’s source file, you must display the local symbols in the file. For example: display local_symbols_in spmt_demo.c: And scroll the information down on the display with up arrow,or key. Symbols in spmt_demo.c: Source reference symbols Line range _____________________ Address range __ Segment _____________ Offset...
  • Page 36: Displaying Memory In Mnemonic Format

    Displaying You can display, in mnemonic format, the absolute code in memory. For example to display the memory of the demo program, Memory in Mnemonic Format display memory main mnemonic options m0x0 Memory :mnemonic :file = spmt_demo.c: address data 00FAA3 00FAA4 00FAA5...
  • Page 37: Display Memory With Symbols

    Notice that you can use symbols when specifying expressions. The global symbol main is used in the command above to specify the starting address of the memory to be displayed. Display Memory with If you want to see symbol information with displaying memory in mnemonic format, the emulator Softkey Interface provides "set Symbols symbols"...
  • Page 38: Display Memory With Source Code

    Display Memory with If you want to reference the source line information with displaying memory in mnemonic format, the emulator Softkey Interface provides Source Code "set source" command. To reference the source line information in inverse video, enter the following command: set source on inverse_video on ...
  • Page 39: Running The Program

    Running the The "run" command lets you execute a program in memory. Entering the "run" command by itself causes the emulator to begin executing at Program the current program counter address. The "run from" command allows you to specify an address at which execution is to start. From Transfer The "run from transfer_address"...
  • Page 40: Displaying Memory

    Displaying The demo program "spmt_demo.c" alters memory. Memory Using Symbolic In the following display, the memory range is displayed using symbolic addresses data. Addresses The memory display window is periodically updated. For example, enter the following command: display memory data thru +7fh repetitively blocked bytes ...
  • Page 41: Modifying Memory

    Modifying Memory You can use the modify memory command to send commands to the sample program. Memory locations stackarea and stackarea+10h correspond to memory address 402 hex and 412 hex respectivity. For example, to enter the ’10h’ at address 402h and enter ’A’ at address 412h: use the following commands.
  • Page 42: Breaking Into The Monitor

    Modifying/displaying internal RAM or SFR suspends user program Note execution. This is because the emulator usesinternal RAM and SFR of emulation processor to perform emulation. However, you can configure the emulator so that write cycles are performed to both internal RAM (or SFR) and emulation memory.
  • Page 43: Using Software Breakpoints

    Using Software Software breakpoints are handled by BRK instruction. When you define or enable a software breakpoint, the emulator will replace the Breakpoints opcode at the software breakpoint address with a BRK instruction. You must set software breakpoints only at memory locations which Note contain instruction opcodes (not operands or data).
  • Page 44: Enabling/Disabling Software Breakpoints

    whether the BRK instruction is software breakpoints or opcode in your target program. If it is a software breakpoint, execution breaks to the monitor, and the BRK instruction is replaced by the original opcode. A subsequent run or step command will execute from this address. If the BRK instruction is opcode of your target program, execution still breaks to the monitor, and an "Undefined software breakpoint "...
  • Page 45 Memory :mnemonic :file = spmt_demo.c: address data data = 1; 00F129 008E 00F12B 0501 ORA A,DP:01H 00F12D 009C stack = 0; 00F12E 9C90050000 LDM #0000H,DT:0590H 00F133 4C1DF1 JMP PG:F11DH pre_fetch = 0; 00F136 00F137 9C92050000 LDM #0000H,DT:0592H pre_fetch = 1; 00F13C 9C92050100 LDM #0001H,DT:0592H...
  • Page 46: Displaying Software Breakpoints

    Displaying Software To display software breakpoints, enter the following command. Breakpoints display software_breakpoints Software breakpoints :enabled address label status 00F129 spmt_demo.c: line pending STATUS: M37750/51--Running in monitor_________________________________...R..display software_breakpoints trace step display modify break ---ETC-- The software breakpoints display shows that the breakpoint is pending. When breakpoints are hit they become inactivated.
  • Page 47: Clearing A Software Breakpoint

    Notice that the original opcode was replaced at the address that the software breakpoint has been set. Clearing a Software To remove software breakpoint defined above, enter the following command. Breakpoint modify software_breakpoints clear line 80 The breakpoint is removed from the list, and the original opcode is restored if the breakpoint was pending.
  • Page 48: Stepping Through The Program

    Stepping Through The step command allows you to step through program execution an instruction or a number of instructions at a time. Also, you can step the Program from the current program counter or from a specific address. To step through the example program from the address of the software breakpoint set earlier, enter the following command.
  • Page 49: Using The Analyzer

    Note is performed by byte access. Using the Analyzer HP 64700 emulators contain an emulation analyzer. The emulation analyzer monitors the internal emulation lines (address, data, and status). Optionally, you may have an additional 16 trace signals which monitor external input lines. The analyzer collects data at each pulse of a clock signal, and saves the data (a trace state) if it meets a "storage...
  • Page 50: Display The Trace

    specification. trace after semantic_check status exec The STATUS message shows "Emulation trace started.". Enter the following command to cause sample program execution to continue from the current program counter. run The STATUS message shows "Emulation trace complete.". Display the Trace The trace listings which following are of program execution on the 7750/51 emulator.
  • Page 51: Displaying Trace With No Symbol

    Displaying Trace with The trace listing shown above has symbol information because of the "set symbols on" setting before in this chapter. To see the trace listing No Symbol with no symbol information, enter the following command. set symbols off Trace List Depth=512 Offset=0...
  • Page 52: Displaying Trace With Time Count Absolute

    Trace List Depth=512 Offset=0 Label: Address Data Opcode or Status w/ Source Lines time count Base: mnemonic relative ##########spmt_demo.c - line 201 thru 204 ############################ semantic_check() int i; after 00F462 3B0B +002 00F463 0694 +003 000690 0694 0694H data write +004 00F464 0694...
  • Page 53: Emulator Analysis Status Qualifiers

    Word access write 0xx1x1xx0y Write to ROM cycle For a complete description of using the HP 64700 Series analyzer with the Softkey Interface, refer to the Analyzer Softkey Interface User’s Guide. Resetting the To reset the emulator, enter the following command.
  • Page 54: Exiting The Softkey Interface

    Exiting the There are several options available when exiting the Softkey Interface: exiting and releasing the emulation system, exiting with the intent of Softkey Interface re-entering (continuing), exiting locked from multiple emulation windows, and exiting (locked) and selecting the measurement system display or another module.
  • Page 55: In-Circuit" Emulation

    Show you how to use features related to in-circuit emulation. Prerequisites Before performing the tasks described in this chapter, you should be familiar with how the emulator operates in general. Refer to the HP 64700 Emulators: System Overview manual and the "Getting Started" chapter of this manual.
  • Page 56: Installing The Target System Probe

    Installing the Target System Probe POSSIBLE DAMAGE TO THE EMULATOR PROBE. The Caution emulation probe contains devices that are susceptible to damage by static discharge. Therefore, precautionary measures should be taken before handling the microprocessor connector attached to the end of the probe cable to avoid damaging the internal components of the probe by static electricity.
  • Page 57: Figure 3-1. Installing The Probe To Lcc80 Socket

    System Probe 1. Set up the switches inside the emulation pod. When you are using the HP 64146-61002 emulation pod, refer to the 7750/51 Series Emulation Pod User’s Guide. When you are using an other emulation pod, refer to the manual provided with your emulation pod.
  • Page 58: Figure 3-2. Installing The Probe To Sdip64 Socket

    When your target system uses 64 pin shrink DIP socket, use the adapter as shown in figure 3-2. Figure 3-2. Installing the Probe to SDIP64 Socket 3-4 In-Circuit Emulation...
  • Page 59: In-Circuit Configuration Options

    In-Circuit The 7750/51 Series emulator provides configuration options for the following in-circuit emulation issues. Configuration Refer to the "Configuring the Emulator" for more information on these Options configuration options. Using the Target System Clock Source You can configure the emulator to use the external target system clock source.
  • Page 60: Running The Emulation From Target Reset

    Running the You can specify that the 7750/51 emulator begins execution from target system reset. When the target system RESET line becomes active and Emulation from then inactive, the 7750/51 emulator will start reset sequence as actual Target Reset microprocessor. To specify a run from target system reset, enter the following command: run from reset...
  • Page 61: Configuring The Emulator

    The emulator is a flexible instrument and may be configured to suit your needs at any stage of the development process. This chapter describes the options available when configuring the HP 64147A emulator. The configuration options are accessed with the following command.
  • Page 62 – Selecting CPU operation mode. – Defining the reset value of the stack pointer. Memory Configuration: – Enabling the high speed access mode – Selecting the background or foreground emulation monitor. – Mapping memory. Emulator Pod Configuration: – Selecting target memory access data size. –...
  • Page 63: General Emulator Configuration

    Selects the internal clock oscillator as the emulator clock source. The internal clock is provided from the emulation pod. In the case of HP 64146-61602 emulation pod, the clock speed is 1/8/16/25 MHz. When you use an emulation pod with clock faster than 16 MHz, you need to select the high speed access mode to run the emulator with no wait state.
  • Page 64: Enter Monitor After Configuration

    Maximum clock speed of HP 64147A 7750/51 emulator is 25MHz. Note This emulator does not support any operation with clock faster than 25MHz. Your target system must have a clock generation circuit. The Note emulation pod cannot generate clock signal using a ceramic (or quartz crystal) resonator.
  • Page 65: Restrict To Real-Time Runs

    After the configuration is complete, the emulator will be held in the reset state. Restrict to real-time The "restrict to real-time" question lets you configure the emulator so that commands which cause the emulator to break to monitor and runs? return to the user program are refused.
  • Page 66: Emulator Reconfiguration

    Then, you need to RECALL this configuration item and re-enter correct . Note If your processor is not included in the Processor Support List for HP MELPS Emulators. You need to select "other" in this item and answer to the following questions.
  • Page 67 SFR area start address? SFR area end address? Second SFR area start address? Second SFR area end address? Specify the start address and end address of internal SFR of your processor. These addresses can be defined on 16 byte boundaries. If your processor has only one SFR area, specify the same value as the first one for the "Second SFR ..."...
  • Page 68: Processor Mode

    Processor mode? This configuration defines operation mode of the processor. single The emulator will operate in single-chip mode. expand8 The emulator will operate in memory expansion mode with 8 bit data width. expand16 The emulator will operate in memory expansion mode with 16 bit data width.
  • Page 69: Memory Configuration

    Without a stack pointer, the emulator is unable to make the transition to Caution the run state, step or perform many other emulation functions. Memory The memory configuration questions allows you to select the monitor type and to map memory. To access the memory configuration Configuration questions, you must answer "yes"...
  • Page 70: Monitor Type

    Enables the high speed access mode of the emulator. In the high speed access mode: The emulator can run with no wait state up to 25 MHz. you can map the emulation memory only to the following address ranges. Memory Monitor Available location 128K...
  • Page 71 target system memory, the system controller writes a command code to the monitor communications area and breaks execution of the emulation processor from the user program into the monitor program. The monitor program then reads the command from the communications area and executes the 7700 Series instructions which read the contents of the target system memory locations.
  • Page 72: Mapping Memory

    Monitor address? The default configuration specifies a monitor address of 0b800 hex. The monitor base address must be located on a 2K byte boundary other than internal RAM and SFR area; otherwise, configuration will fail. Monitor filename? This question allows you to specify the name of the foreground monitor program absolute file.
  • Page 73 You cannot map Internal RAM and SFR as guarded. Note Target system accesses to emulation memory are not allowed. Note Target system devices that take control of the bus (for example, external DMA controller) cannot access emulation memory. The default emulator configuration maps location C000 hex through Caution FFFF hex as emulation ROM.
  • Page 74 and constants (locations which should not be written to) as ROM. This will prevent programs and constants from being written over accidentally, and will cause breaks when instructions attempt to do so. You should map all memory ranges used by your programs before Note loading programs into memory.
  • Page 75 When you specify "fcode", the "fcode" becomes the new default to Note display memory. That is, once you specify "fcode i", you need to specify "fcode none" to display emulation memory. When you don’t map the internal RAM and SFR area to emulation RAM (when you don’t copy the contents to emulation memory), you can access the internal RAM and SFR without specifying "fcode"...
  • Page 76: Emulator Pod Configuration

    Emulator Pod To access the emulator pod configuration questions, you must answer "yes" to the following question. Configuration Modify emulator pod configuration? Target memory This question allows you to specify the types of cycles that the emulation monitor use when accessing target system memory. When access size? an emulation command requests the monitor to read or write target system memory locations, the monitor will either use byte or word...
  • Page 77: Enable Watchdog Timer

    Enable watchdog This question allows you to enable/disable the watchdog timer interrupt. timer? Disables the watchdog timer interrupt. This may useful in early stage of your program development. Enables the watchdog timer interrupt. Debug/Trace The debug/trace configuration questions allows you to specify breaks on writes to ROM, and specify that the analyzer trace Configuration foreground/background execution, and bus release cycles.
  • Page 78: Trace Refresh Cycles By Emulation Analyzer

    foreground Specifies that the analyzer trace only foreground cycles. This option is specified by the default emulator configuration. background Specifies that the analyzer trace only background cycles. (This is rarely a useful setting.) both Specifies that the analyzer trace both foreground and background cycles.
  • Page 79: Replace 16-Bit Addresses With Symbolic References

    When you enable tracing HOLD/HLDA cycles, these cycles will appear as one analysis trace line. HOLD/HLDA cycles will not appear on analysis trace list. Replace 16-bit You can direct the emulator whether or not to display symbols in 16bit addresses in mnemonic field of memory and trace display. addresses with symbolic references? Symbols are displayed only in 24bit addresses of...
  • Page 80: Simulated I/O Configuration

    Simulated I/O The simulated I/O feature and configuration options are described in the Simulated I/O Reference manual. Configuration Interactive The interactive measurement configuration questions are described in the chapter on coordinated measurements in the Softkey Interface Measurement Reference manual. Examples of coordinated measurements that can be Configuration performed between the emulator and the emulation analyzer are found in the "Using the Emulator"...
  • Page 81: Loading A Configuration

    configuration file, into a "continue" file. The continue file is not normally accessed. Loading a Configuration files which have been previously saved may be loaded with the following Softkey Interface command. Configuration load configuration This feature is especially useful after you have exited the Softkey Interface with the "end release_system "...
  • Page 82: Limitations And Considerations

    Limitations and Considerations Clock Speed Maximum clock speed of HP 64147A 7750/51 emulator is 25MHz. This emulator does not support any operation with clock faster than 25MHz. Access to Internal Modifying internal RAM or SFR suspends user program execution. Trace Internal RAM Read data from the internal RAM or SFR is not traced correctly by the emulation analyzer.
  • Page 83: Step Command And Interrupts

    High Speed Bus Always set bus mode as low speed bus mode, when you use M37751 emulation pod. HP 64147A 7750/51 emulator does not support high Mode speed bus mode. Note that bus mode is automatically configured as high speed bus mode when you do run from reset command.
  • Page 84 Notes 4-24 Configuring the Emulator...
  • Page 85: Using The Foreground Monitor

    Using the Foreground Monitor Introduction By using and modifying the optional foreground monitor, you can provide an emulation environment which is customized to the needs of a particular target system. The foreground monitors are supplied with the emulation software and can be found in the following path: /usr/hp64000/monitor/* The monitor programs named fm7750.a77 is written for Mitsubishi...
  • Page 86: Background Monitors

    Background A background monitor is an emulation monitor which overlays the processor’s memory space with a separate memory region. Entry into Monitors the monitor is normally accomplished by jamming the monitor addresses onto the processor’s address bus. Usually, a background monitor will be easier to work with in starting a new design.
  • Page 87: An Example Using The Foreground Monitor

    An Example Using In the following example, we will illustrate how to use a foreground monitor with the sample program from the "Getting Started" chapter. the Foreground By using the emulation analyzer, we will also show how the emulator Monitor switches from state to state using a foreground monitor.
  • Page 88: Modifying The Emulator Configuration

    For example, if you want to locate the monitor at a000 hex, you may change the address "0B800H" to "0A000H". Processor Mode Register Address You may need to modify the .EQU statement at the PROCMODEREG label. This value defines the location of processor mode register. If your processor has processor mode register at address other than 5e hex, modify this value to appropriate value.
  • Page 89 Monitor type? foreground Specifies that you will be using a foreground monitor program. Reset map (change of monitor type requires map reset)? You must answer this question as shown to change the monitor type to foreground. Monitor address? 0b800h Specifies that the monitor will reside in the 2K byte block from b800 hex through bfff hex.
  • Page 90: Load The Program Code

    Load the Program Now it’s time to load the sample program. You can load the sample program with the following command: Code load spmt_demo Running User Before running the user program, you should initialize the stack pointer by breaking the emulator out of reset. Program break ...
  • Page 91: Limitations Of Foreground Monitors

    Limitations of Foreground Monitors Step Command Step command is not available when you are using the foreground monitor. Synchronized You cannot perform synchronized measurements over the CMB when using a foreground monitor. If you need to make such measurements, measurements select the background monitor type when configuring the emulator.
  • Page 92 Notes A-8 Using A Foreground Monitor...
  • Page 93: Using The Format Converter

    Using the Format Converter How to Use the The format converter is a program that generates HP format files from MELPS 7700 Hex format file and its symbol file. This means you can Converter use available language tools to create MELPS 7700 Hex format file, then load the file into the emulator using the format converter.
  • Page 94: Specifications

    You can generate HP format files from these two files with the following command: $ m77cnvhp sample The converter uses both .hex file and .sym file. You need to direct your Note assembler and linker to generate .sym file.
  • Page 95 Index absolute files loading 2-10 adaptor 3-4 address symbolic 2-18 analyzer configuring the external 4-20 status qualifiers 2-31 analyzer, using the 2-27 background cycles tracing 4-17 background monitor 4-11, A-2 selecting 4-10 breaks break command 2-20 guarded memory accesses 4-13 software breakpoints 2-21 write to ROM 4-17 caution statements...
  • Page 96 4-16 in-circuit 3-5 processor mode 4-8 convert absolute file to HP absolute 2-4 converter m77cnvhp 2-4 coordinated measurements 4-20 demo program description 2-3 device table file 2-5 display command memory mnemonic 2-14 memory mnemonic with symbols 2-15...
  • Page 97 purpose 1-1 emulator configuration break processor on write to ROM 4-17 clock selection 4-3 enable high speed access mode 4-9 enable watchdog timer 4-17 for example 2-6 loading 4-21 monitor entry after 4-4 monitor type selection 4-10 processor mode register address 4-7 respond to target system interrupts 4-16 restrict to real-time runs 4-5 saving 4-20...
  • Page 98 emulation command fails in stop/wait mode 1-8 high speed bus mode 1-8 modifying memory 4-15 RDY/HOLD input in background cycles 1-8 RMPA instruction 1-8 stack pointer 1-8 step command to Interanl RAM 1-7 step command with foreground monitor 1-7 step fails when an interrupt exists 1-8 trace internal RAM 1-7 watch dog timer 1-7 enable high speed access mode...
  • Page 99 help on-line 2-8 pod command information 2-9 softkey driven information 2-8 high speed access mode 1-3, 4-9 high speed bus mode 1-8, 4-23 in-circuit configuration options 3-5 in-circuit emulation 3-1 installation 2-2 software 2-2 interactive measurements 4-20 internal clock source 4-3 internal RAM 4-14 limitations Access to Internal RAM 4-22...
  • Page 100 mnemonic display with symbols 2-15 modifying 2-19 with source code 2-16 memory display with 16bit symbols 4-19 memory mapping maximum number of terms 4-12 memory for monitor program 4-12 sequence of map/load commands 4-14 mnemonic memory display 2-14 modify command configuration 4-1 memory 2-19 software breakpoints clear 2-25...
  • Page 101 2-21 target system must have clock circuit 3-5, 4-4 turn on target system before turn on the emulator 3-2 on-line help 2-8 PATH, HP-UX environment variable 2-5 pod_command 2-9 help information 2-9 predefining stack pointer 4-8...
  • Page 102 run command 2-17 run from reset 3-6 saving the emulator configuration 4-20 select chip emulator configuration 4-6 source on inverse video 2-27 set up internal RAM address emulator configuration 4-7 set up internal ROM address emulator configuration 4-7 set up internal SFR address emulator configuration 4-7 set up processor mode register address emulator configuration 4-7...
  • Page 103 string delimiters 2-9 supported microprocessors 1-3 symbolic addresses 2-18 symbols display 16bit symbols 4-19 displaying 2-11 system overview 2-2 target memory loading absolute files 2-10 RAM and ROM characterization 4-12 target memory access size emulator configuration 4-16 target system dependency on executing code 4-5 Target system probe installation procedure 3-3 target system reset...
  • Page 104 enable/disable by emulator configuration 4-17 window systems 2-32 write to ROM break 4-17 10-Index...
  • Page 105 Notes Index-11...

This manual is also suitable for:

7751 series64147a

Table of Contents