HP 64782 Скачать руководство пользователя страница 337

Descriptions of the product in a dictionary or encyclopedia format.

Part 3

336

Содержание 64782

Страница 1: ...ble You will find any other available product information on the Agilent Test Measurement website www tm agilent com HP References in this Manual This manual may contain references to HP or Hewlett Packard Please note that Hewlett Packard s former test and measurement semiconductor products and chemical analysis businesses are now part of Agilent Technologies We have made no changes to this manual...

Страница 2: ...User s Guide for the Graphical User Interface HP 64782 MC6833x Emulation Analysis ...

Страница 3: ...written consent of Hewlett Packard Company The information contained in this document is subject to change without notice HP is a trademark of Hewlett Packard Company OSF Motif and Motif are trademarks of the Open Software Foundation in the U S and other countries SunOS SPARCsystem OpenWindows and SunView are trademarks of Sun Microsystems Inc UNIX is a registered trademark in the United States an...

Страница 4: ...e 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 Therefore do not expect a one to one correspondence between product updates and manual revisions Edition 1 B3092 97000 July 1994 Safety Certification and Warranty Safety and certification and warranty information can be found at the end o...

Страница 5: ...ave external analysis channels With the Emulator You Can Plug into 6833x target systems Download programs into emulation memory or target system RAM Display or modify the contents of processor registers and memory resources Run programs set up software breakpoints step through programs and reset the emulation processor For information about your emulator clock speed refer to the 6833x Installation...

Страница 6: ...NC connector to trigger an external instrument for example a logic analyzer or oscilloscope when the analyzer finds its trigger condition or you can allow an external instrument to arm the analyzer or break emulator execution With the Graphical User Interface You Can Use the emulator and analyzer under an X Window System that supports OSF Motif interfaces Enter commands using pull down or pop up m...

Страница 7: ... the emulator Chapter 6 shows how to use the emulator Chapter 7 shows how to use the analyzer Chapter 8 shows how to use the Software Performance Measurement Tool SPMT with the analyzer Chapter 9 shows how to use the external state analyzer Chapter 10 shows how to make coordinated measurements Chapter 11 shows how to change X resource settings Part 3 Reference Chapter 12 describes emulator analyze...

Страница 8: ...gisters 39 Step 9 Step assembly level instructions 40 Step 10 Trace the program 41 Step 11 Display memory at an address in a register 43 Step 12 Patch assembly language code 44 Step 13 Exit the emulator analyzer interface 48 Part 2 User s Guide 2 Plugging into a Target System Plugging the Emulator into a Target System 52 3 Starting and Exiting HP 64700 Interfaces Starting and Exiting HP 64700 Inte...

Страница 9: ... item using the mouse method 1 65 To choose a pulldown menu item using the mouse method 2 66 To choose a pulldown menu item using the keyboard 66 To choose popup menu items 68 To place values into the entry buffer using the keyboard 68 To copy and paste to the entry buffer 68 To recall entry buffer values 71 To use the entry buffer 71 To copy and paste from the entry buffer to the command line ent...

Страница 10: ...od commands screen 90 To use pod commands 90 Forwarding Commands to Other HP 64700 Interfaces 91 To forward commands to the high level debugger 92 To forward commands to the software performance analyzer 92 5 Configuring the Emulator Configuring the Emulator 94 Using the Configuration Interface 95 To start the configuration interface 96 To modify a configuration section 98 To apply configuration c...

Страница 11: ...mory map entries 115 To delete memory map entries 116 To characterize unmapped ranges 116 To map memory ranges that use function codes 117 Setting the Debug Trace Options 120 When Configuring Breaks on Writes to ROM 120 When Configuring the Trace Mode 121 Setting Simulated I O 122 Verifying the Emulator Configuration 123 To display information about chip selects 123 To display information about bu...

Страница 12: ...ls 143 To display global symbols 144 To display local symbols 145 To display a symbol s parent symbol 149 To copy and paste a full symbol name to the entry buffer 150 Using Context Commands 151 To display the current directory and symbol context 152 To change the directory context 152 To change the current working symbol context 153 Executing User Programs 154 To run programs from the current PC 1...

Страница 13: ...68 Displaying and Modifying Registers 170 To display register contents 170 To modify register contents 171 Displaying and Modifying Memory 172 To display memory 172 To display memory in mnemonic format 173 To return to the previous mnemonic display 173 To display memory in hexadecimal format 174 To display memory in real number format 175 To display memory at an address 176 To display memory repet...

Страница 14: ...Analysis 192 To store BBA data to a file 192 7 Using the Emulation Analyzer Using the Emulation Analyzer 194 The Basics of Starting Stopping and Displaying Traces 195 To start a trace measurement 196 To stop a trace measurement 197 To display the trace list 197 To display the trace status 199 To change the trace depth 201 To modify the last trace command entered 202 To repeat the previous trace co...

Страница 15: ... and windowing 230 Displaying the Trace List 231 To display the trace about a line number 234 To move through the trace list 235 To disassemble the trace list 235 To specify trace disassembly options 237 To specify trace dequeueing options 238 To display the trace without disassembly 240 To display symbols in the trace list 242 To display source lines in the trace list 243 To change the column wid...

Страница 16: ...ents 261 To interpret activity measurement reports 265 Duration Performance Measurements 275 To set up the trace command for duration measurements 276 To initialize duration performance measurements 278 To interpret duration measurement reports 280 Running Measurements and Creating Reports 285 To run performance measurements 285 To end performance measurements 286 To create a performance measureme...

Страница 17: ...ous measurements 312 Using Trigger Signals 313 To drive the emulation analyzer trigger signal to the CMB 316 To drive the emulation analyzer trigger signal to the BNC connector 316 To drive the external analyzer trigger signal to the CMB 316 To drive the external analyzer trigger signal to the BNC connector 317 To break emulator execution on signal from CMB 317 To break emulator execution on signa...

Страница 18: ...or Analyzer Interface Commands Emulator Analyzer Interface Commands 338 Commands 346 bbaunld 347 break 348 cmb_execute 349 copy 350 copy local_symbols_in 353 copy memory 354 copy registers 356 copy trace 357 display 358 display configuration_info 360 display data 363 display global_symbols 366 display local_symbols_in 367 display memory 368 display registers 372 display simulated_io 373 display so...

Страница 19: ...gisters 397 performance_measurement_end 399 performance_measurement_initialize 400 performance_measurement_run 402 pod_command 403 QUALIFIER 405 RANGE 407 reset 409 run 410 SEQUENCING 412 set 414 specify 419 STATE 421 step 423 stop_trace 425 store 426 SYMB 428 sync_sim_registers 435 trace 436 TRIGGER 439 wait 441 WINDOW 443 13 Error Messages Error Messages 446 Contents 18 ...

Страница 20: ...he software from the media 513 Step 2 Set the necessary environment variables 514 Step 3 Verify the software installation 516 Step 4a Start the X server and the Motif Window Manager mwm 517 Step 4b Start HP VUE 517 Installing Sun SPARCsystem Software 518 Step 1 Install the software from the media 518 Step 2 Start the X server and OpenWindows 519 Step 3 Set the necessary environment variables 519 S...

Страница 21: ...the emul700 command 524 Step 3 Exit the Graphical User Interface 525 16 Installing Updating Emulator Firmware Installing Updating Emulator Firmware 528 To update emulator firmware with progflash 529 To display current firmware version information 532 If there is a power failure during a firmware update 533 Contents 20 ...

Страница 22: ...Part 1 Quick Start Guide 21 ...

Страница 23: ...A one glance overview of the product and a few task instructions to help you get comfortable Part 1 22 ...

Страница 24: ...1 Getting Started 23 ...

Страница 25: ... and pop up menus point and click setting of breakpoints cut and paste on line help customizable action keys and pop up recall buffers etc The Graphical User Interface Menu bar Action keys Entry buffer Entry buffer recall button Display area Scroll bar Status line Command line Command line entry area Softkey pushbuttons Command buttons Includes command recall button Cursor buttons for command line...

Страница 26: ... I O global symbols local symbols pod commands the emulator s underlying Terminal Interface error log or display log Whenever the mouse pointer changes from an arrow to a hand you can press and hold the select mouse button to access popup menus Scroll Bar A sticky slider that allows navigation in the display area Click on the upper and lower arrows to scroll to the top home and bottom end of the w...

Страница 27: ... the command line area by turning it off For the most common emulator analyzer operations the pulldown menus popup menus and action keys provide all the control you need Choosing menu items that require use of the command line will automatically turn the command line back on Graphical User Interface Conventions Choosing Menu Commands This chapter uses a shorthand notation for indicating that you s...

Страница 28: ... mouse button bindings Mouse Button Bindings and Description Generic Button Name Bindings for HP 9000 Bindings for Sun SPARCsystem SunOS or Solaris Description paste left left Paste from the display area to the entry buffer command paste middle1 middle1 Paste from the entry buffer to the command line text entry area select right right Click selects first item in popup menus Press and hold displays...

Страница 29: ... SPARCsystem SunOS or Solaris menu select extend char extend char insert insert char insert char delete delete char delete char left arrow left arrow left arrow right arrow right arrow right arrow up arrow up arrow up arrow down arrow down arrow down arrow escape escape escape TAB TAB TAB Getting Started 28 ...

Страница 30: ... also be the Softkey Interface which is provided for several types of terminals terminal emulators and bitmapped displays When using the Softkey Interface commands are entered from the keyboard Display area Status line Command line Figure 2 Getting Started 29 ...

Страница 31: ...the command line by pressing softkeys or by typing them in and executed by pressing the Return key The Tab and Shift Tab keys allow you to move the cursor on the command line forward or backward The Clear line key or CTRL e clears from the cursor position to the end of the line The CTRL u key clears the whole command line Softkey Interface Conventions Example Softkey Interface commands throughout ...

Страница 32: ... installed into the HP 64700 Card Cage the HP 64700 is connected to the host computer and the Graphical User Interface software has been installed as outlined in the Installation chapter The emulator is operating out of circuit that is not plugged into a target system The Demonstration Program The demonstration program used in this chapter is a simple environmental control system The program contr...

Страница 33: ...it the platformScheme resource setting in the Xdefaults emul file For example if the Graphical User Interface will be run on a HP 9000 computer and displayed on a Sun SPARCsystem computer change the platform scheme to SunOS 4 Start the emulator analyzer demo Startemul logical_emul_name This script starts the emulator analyzer interface with a customized set of action keys loads a configuration fil...

Страница 34: ...onic Or using the command line enter display memory main mnemonic The default display mode settings cause source lines and symbols to appear in displays where appropriate Notice 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 Figure 3 entry buffer Getting Started Step 2 Display the pro...

Страница 35: ...ress until main Notice the message Software break address is displayed on the status line and that the emulator is Running in monitor you may have to click the select mouse button to remove temporary messages from the status line When you run until an address a breakpoint is set at the address before the program is run Notice the highlighted bar on the screen it shows the current program counter F...

Страница 36: ...ource action key Or using the command line enter step source Notice that the highlighted bar the current program counter moves to the next high level source line 2 Step into the init_system function by continuing to step source lines either by clicking on the Step Source action key by clicking on the Again action key which repeats the previous command or by entering the step source command on the ...

Страница 37: ...display memory mnemonic previous_display This command is useful for example when you have stepped into a function that you do not wish to look at you can display the previous mnemonic display and run until the source line that follows the function call Getting Started Step 5 Display the previous mnemonic display 36 ...

Страница 38: ...ointer over the line proc_spec_init press and hold the select mouse button and choose Run Until from the popup menu This screen shows the command line turned on Or using the command line enter run until main main c line 98 After the command has executed notice the highlighted bar indicates the program counter has moved to the specified source line Figure 6 Getting Started Step 6 Run until an addre...

Страница 39: ...te mouse button notice num_checks is cut and pasted into the entry buffer 2 Click on the Disp Var action key Or using the command line enter display data num_checks int32 The num_checks variable is added to the data values display and its value is displayed as a 32 bit integer Figure 7 Getting Started Step 7 Display data values 38 ...

Страница 40: ... Display registers You can display the contents of the processor registers Choose Display Registers BASIC Or using the command line enter display registers Figure 8 Getting Started Step 8 Display registers 39 ...

Страница 41: ...ep one instruction from the current program counter click on the Step Asm action key Or using the command line enter step Notice when registers are displayed stepping causes the assembly language instruction just executed to be displayed Figure 9 Getting Started Step 9 Step assembly level instructions 40 ...

Страница 42: ...ion dialog box and click the OK pushbutton Notice that the value main has been returned to the entry buffer 3 To trigger on the address main and store states that occur after the trigger choose Trace After Or using the command line enter trace after main Notice the message Emulation trace started appears on the status line This shows that the analyzer has begun to look for the trigger state which ...

Страница 43: ...nes and symbols to appear in the trace list Captured states are numbered in the left hand column of the trace list Line 0 always contains the state that caused the analyzer to trigger Other columns contain address information data values opcode or status information and time count information Figure 10 Getting Started Step 10 Trace the program 42 ...

Страница 44: ...of the command file mematreg A command file dialog box appears or a prompt appears in the command line 2 Move the mouse pointer to the dialog box text entry area type A7 uppercase and click on the OK button Or if the prompt is in the command line A7 Figure 11 Getting Started Step 11 Display memory at an address in a register 43 ...

Страница 45: ...tions intermixed with the high level source lines click on the Disp Src Asm action key 3 Click on the address for main in the source display to enter the address into the entry buffer 4 Click on the Patch action key A window appears and the vi editor is started Notice that the address for main appears in the ORG statement 5 Add the line LINK A6 1234h Figure 12 Getting Started Step 12 Patch assembl...

Страница 46: ... editor saving your changes The file you just edited is assembled and the patch main menu appears 7 Type a and press RETURN to apply the patch Figure 13 Figure 14 Getting Started Step 12 Patch assembly language code 45 ...

Страница 47: ...atching a single address make sure the new instruction takes up the same number of bytes as the old instruction otherwise you may inadvertently modify code that follows 12 Type main 4 thru main 15 in the entry buffer By entering an address range in the entry buffer that is address thru address before clicking on the Patch action key you can modify a patch template file which allows you to insert a...

Страница 48: ...ere is memory available at address 8800H Edit the patch template file as shown below Notice that symbols can be used in the patch file 14 Exit out of the editor saving your changes The file you just edited is assembled and the patch main menu appears 15 Type a and press RETURN to apply the patch You can step through the program to view execution of the patch Figure 15 Getting Started Step 12 Patch...

Страница 49: ...r analyzer interface To exit the emulator analyzer interface and release the emulator choose File Exit Released Or using the command line enter end release_system Getting Started Step 13 Exit the emulator analyzer interface 48 ...

Страница 50: ...Part 2 User s Guide 49 ...

Страница 51: ...A complete set of task instructions and problem solving guidelines with a few basic concepts Part 2 50 ...

Страница 52: ...2 Plugging into a Target System 51 ...

Страница 53: ...1 Model HP 64782B M68332 Model HP 64782C M68334 Model HP 64782E M68335 Model HP 64782F It also describes connecting these emulators to a target system directly using a PQFP cable M68333 Model HP 64782D M68336 Model HP 64782G M68337 Model HP 64782H C AU TI O N Possible Damage to the Emulator Probe The emulator contains devices that are susceptible to damage by static discharge Therefore precautiona...

Страница 54: ...3 Starting and Exiting HP 64700 Interfaces 53 ...

Страница 55: ...bugging software The Software Performance Analyzer interface which is also a separate product lets you make measurements that can help you improve the performance of your software These interfaces can operate at the same time with the same emulator When you perform an action in one of the interfaces it is reflected in the other interfaces Up to 10 interface windows may be started for the same emul...

Страница 56: ...er interface Use the emul700 emul_name command If usr hp64000 bin is specified in your PATH environment variable as shown in the Installation chapter you can start the interface with the emul700 emul_name command The emul_name is the logical emulator name given in the HP 64700 emulator device table usr hp64000 etc 64700tab net It may also be the LAN address If you are running a window system on yo...

Страница 57: ...nnel Logical Processor Remainder of Information for the Channel Type Name Type IP address for LAN connections lan em6833x m6833x 21 17 9 143 serial em6833x m6833x myhost dev emcom23 OFF 9600 NONE XON 2 8 If you re currently running the X Window System the Graphical User Interface starts otherwise the Softkey Interface starts The status message shows that the default configuration file has been loa...

Страница 58: ...he Using Command Files section in the Entering Commands chapter for information on creating command files Examples To start the emulator analyzer interface and run the startup command file emul700 c startup em6833x To display the status of emulators Use the emul700 l or emul700 lv command The l option of the emul700 command lists the status of all emulators defined in the 64700tab and 64700tab net...

Страница 59: ...scription M6833x emulation 512K bytes emul mem user interfaces xdebug xemul xperf skemul sktiming internet address 21 17 9 143 To unlock an interface that was left locked by another user Use the emul700 U emul_name command The U option to the emul700 command may be used to unlock the emulators whose logical names are specified This command will fail if there currently is a session in progress Exam...

Страница 60: ...ter the emul700 emul_name command in another terminal emulation window To open additional conventional Softkey Interface windows choose File Emul700 Emulator Analyzer under Terminal Windows or enter the emul700 u skemul emul_name command in another terminal emulation window You can open additional Graphical User Interface windows or terminal emulation windows containing the Softkey Interface When ...

Страница 61: ...fer to the debugger emulator User s Guide To open the software performance analyzer SPA interface window Choose File Emul700 Performance Analyzer under Graphic Windows or enter the emul700 u xperf emul_name command in another terminal emulation window For information on how to use the software performance analyzer refer to the Software Performance Analyzer User s Guide Starting and Exiting HP 6470...

Страница 62: ...t others may use it This section describes how to Close an interface window Exit a debug emulation session To close an interface window In the interface window you wish to close choose File Exit Window In the emulator analyzer interface command line enter the end command with no options All other interface windows remain open and the emulation session continues unless the window closed is the only...

Страница 63: ...rent configuration to a temporary file and locks the emulator to prevent other users from accessing it When you again start the interface with the emul700 command the temporary file is reloaded and therefore you return to the configuration you were using when you quit the interface locked Also saved when you exit the interface locked are the contents of the entry buffer and command recall buffer T...

Страница 64: ...4 Entering Commands 63 ...

Страница 65: ...rface gives you the option of entering commands in the same manner as they are entered in the Softkey Interface If you are using the Softkey Interface you can only enter commands from the keyboard using the command line The menu commands in the Graphical User Interface are a subset of the commands available when using the command line While you have a great deal of capability in the menu commands ...

Страница 66: ...oose a pulldown menu item using the mouse method 1 1 Position the mouse pointer over the name of the menu on the menu bar 2 Press and hold the command select mouse button to display the menu 3 While continuing to hold down the mouse button move the mouse pointer to the desired menu item If the menu item has a cascade menu identified by an arrow on the right edge of the menu button then continue to...

Страница 67: ... until you find the desired item 4 Click the mouse button to select the item If you decide not to select a menu item simply move the mouse pointer off of the menu and click the mouse button Some menu items have an ellipsis as part of the menu label An ellipsis indicates that the menu item will display a dialog or other box when the menu item is chosen To choose a pulldown menu item using the keybo...

Страница 68: ...keyboard mnemonic displays the cascade menu Some menu items have an ellipsis as part of the menu label An ellipsis indicates that the menu item will display a dialog or other box when the menu item is chosen Dialog boxes support the use of the keyboard as well To direct keyboard input to a dialog box you must position the mouse pointer somewhere inside the boundaries of the dialog box That is beca...

Страница 69: ...l appear 2 Enter the text using the keyboard To clear the entry buffer text area from beginning until end press the Ctrl u key combination To copy and paste to the entry buffer To copy and paste a discrete text string as determined by the interface position the mouse pointer over the text to copy and click the paste mouse button To specify the exact text to copy to the entry buffer press and hold ...

Страница 70: ...a number of entry buffers being displayed there is actually only one entry buffer and it is common to all windows That means you can copy a symbol or an address from one window and then use it in another window On a memory display or trace display a symbol may not be completely displayed because there are too many characters to fit into the width limit for a particular column of the display To mak...

Страница 71: ...play area position the mouse pointer over the symbol and then click the paste mouse button A mouse click causes the interface to expand the highlight to include the symbol num_checks and paste the symbol into the entry buffer Entering Commands To copy and paste to the entry buffer 70 ...

Страница 72: ...e present when you restart the interface You can predefine entries for the Entry Buffer Recall dialog box and define the maximum number of entries by setting X resources refer to the Setting X Resources chapter See the following To use dialog boxes section for information about using dialog boxes To use the entry buffer 1 Place information into the entry buffer see the previous To place values int...

Страница 73: ...ffer are pasted into the command line at the current cursor position Although a paste from the display area to the entry buffer affects all displayed entry buffers in all open windows a paste from the entry buffer to the command line only affects the command line of the window in which you are currently working See To copy and paste to the entry buffer for information about pasting information fro...

Страница 74: ...ctory You can change to a previously accessed directory a predefined directory or specify a new directory File Selection From the working directory you can select an existing file name or specify a new file name Entry Buffer Recall You can recall a previously used entry buffer text string a predefined entry buffer text string or a newly entered entry buffer string to the entry buffer text area Com...

Страница 75: ...he file and closes the dialog box Label informs you what kind of file selection you are performing Text entry area Text is either copied here from the recall list or entered directly Clicking this button chooses the file name displayed in the text entry area and closes the dialog box Entering a new file filter and clicking this button causes a list of files matching the new filter to be read from ...

Страница 76: ...d closes the dialog box Text entry area Directory name is either copied here from the recall list or entered directly Clicking this button chooses the directory displayed in the text entry area and closes the dialog box Clicking this button chooses the directory displayed in the text entry area but keeps the dialog box on the screen instead of closing it Clicking this button cancels the directory ...

Страница 77: ...Index The Help Index lists topics covering operation of the interface as well other information about the interface When you choose a topic from the Help Index the interface displays a window containing the help information You may leave the window on the screen while you continue using the interface Entering Commands To access help information 76 ...

Страница 78: ...his section describes how to Turn the command line off on Enter commands Edit commands Recall commands Display the help window To turn the command line on or off To turn the command line on or off using the pulldown menu choose Settings Command Line To turn the command line on or off using the status line popup menu position the mouse pointer within the status line area press and hold the select m...

Страница 79: ...tkey label pushbuttons by successively positioning the mouse pointer on a pushbutton and clicking the pushbutton select mouse button until a complete command is formed 2 Execute the completed command by clicking the Return pushbutton found near the bottom of the command line in the Command group Or Execute the completed command using the Command Line entry area popup menu Position the mouse pointe...

Страница 80: ... the Forward pushbutton becomes halfbright and unresponsive when the cursor reaches the end of the command string Similarly the Backup pushbutton becomes halfbright and unresponsive when the cursor reaches the beginning of the command See To edit the command line using the mouse and the command line popup menu and To edit the command line using the keyboard for information about additional editing...

Страница 81: ...ursor Replace Mode from the menu type the characters to be inserted When the cursor arrives at the beginning of a command word or token the softkey labels change to display the possible choices at that level of the command See To edit the command line using the mouse and the command line pushbuttons and To edit the command line using the keyboard for information about additional editing operations...

Страница 82: ... and define the maximum number of entries by setting X resources refer to the Setting X Resources chapter See To use dialog boxes for information about using dialog boxes To get help about the command line To display the help topic explaining the operation of the command line press the Help pushbutton located near the bottom right corner of the Command Line area Entering Commands To get help about...

Страница 83: ... command and then press Tab The interface completes the command word for you Entering commands with the keyboard is easy However the interface provides other features that make entering commands even easier For example you can Enter multiple commands on one line Recall commands Edit commands Access on line help information To enter multiple commands on one command line Separate the commands with s...

Страница 84: ... u keys The Left arrow and Right arrow keys move the cursor single spaces to the left or right The Tab and Shift Tab keys move the cursor to the next or previous word on the command line The Insert char key enters the insert editing mode and allows characters or command options to be inserted at the cursor location The Back space key deletes the character to the left of the cursor The Delete char ...

Страница 85: ... help system_commands Or system_commands The help information is scrolled on to the screen If there is more than a screen full of information you will have to press the space bar to see the next screen full or the RETURN key to see the next line just as you do with the UNIX more command After all the information on the particular topic has been displayed or after you press q to quit scrolling thro...

Страница 86: ...how to Start logging commands to a command file Stop logging commands to a command file Playback execute a command file Nesting Command Files You can nest a maximum of eight levels of command files Nesting command files means one command file calls another Comments in Command Files Text that follows a pound sign up to the end of the line is interpreted as a comment Using the wait Command When edit...

Страница 87: ...ich are the variables of the command file The ASCII string passed passed parameter will be substituted for the formal parameter when the command file is executed The only way to pass a parameter containing a space is to enclose the parameter in double quotes or single quotes Thus to pass the parameter HP 9000 to a command file you can use either HP 9000 or HP 9000 The special parameter ArG_lEfT ge...

Страница 88: ...soft By specifying the directory as users S keys the correct result is obtained However if you attempt to specify the directory as users Skeys the Softkey Interface looks for the value of the variable Skeys This is not the operators intended result You may not get the intended result unless Skeys is already defined to be softkeys You can examine the current values of all shell variables defined in...

Страница 89: ...log box to select the name of the command file you wish to execute Using the command line enter the name of the command file and press RETURN If you enter the name of the command file in the command line and the interface cannot find the command file in the current directory it searches the directories specified in the HP64KPATH environment variable To interrupt playback of a command file press th...

Страница 90: ...state of the emulator will no longer match the internal record the interface keeps about the state of the emulator Issuing certain communications related commands can prevent the interface from communicating with the emulator and cause abnormal termination of the interface However it is sometimes necessary to use pod commands For example you must use a pod command to execute the emulator s perform...

Страница 91: ...pod commands click the suspend pushbutton softkey The Settings Pod Command Keyboard command displays the pod commands screen and activates the keyboard for entering pod command on the command line Examples To see a list of pod command categories available choose Settings Pod Command Keyboard and on the command line type help To see a list of pod commands that control the emulator type help emul To...

Страница 92: ...n process is necessary to coordinate actions in the interfaces This background process also allows commands to be forwarded from one interface to another Commands are forwarded using the forward command available in the command line The general syntax is forward interface_name command_string This section shows you how to Forward commands to the high level debugger Forward commands to the software ...

Страница 93: ...orward debug Program Run Or since only the capitalized key is required forward debug P R To forward commands to the software performance analyzer Enter the forward perf command string command using the command line Examples To send the profile command to the software performance analyzer forward perf profile Entering Commands To forward commands to the high level debugger 92 ...

Страница 94: ...5 Configuring the Emulator 93 ...

Страница 95: ...ation interface Modifying the general items and monitor setup Reconfiguring the emulator copy of the SIM registers Mapping memory Setting the debug trace options Setting Simulated I O Verifying the emulator configuration The simulated I O feature and configuration questions are described in the Simulated I O User s Guide The external analyzer configuration options are described in the Using the Ex...

Страница 96: ...anges to the emulator Display information if the apply didn t work Store configuration changes to a file Change the configuration directory context Display the configuration context Access help topics Access context sensitive f1 help Exit the configuration interface Load an existing configuration file This section describes emulator configuration in general The remaining sections in this chapter d...

Страница 97: ...are presented depend on the hardware and the features of your particular emulator The configuration interface may be left running while you are using the emulator analyzer interface If you re using the Softkey Interface from a terminal or terminal emulation window you don t get a dialog box from which to choose configuration sections however you have access to the same configuration options throug...

Страница 98: ...he menu bar Clicking on one of these lines selects a particular configuration section Clicking this button loads configuration changes into the emulator This portion of the dialog box displays configuration status information Configuring the Emulator To start the configuration interface 97 ...

Страница 99: ...gs section answer yes to the Modify emulator pod configuration question To access the questions in the Debug Trace Options section answer yes to the Modify debug trace options question 4 Apply the configuration changes to the emulator To apply configuration changes to the emulator Click the Apply to Emulator button in the top level dialog box Loads the configuration changes into the emulator Statu...

Страница 100: ...list is not limited to 16 messages as is the Display Configuration Info Diagnostics command This information is shown in the same format as output from the various Display Configuration Info commands Because the old configuration is reloaded when an apply to emulator fails the information displayed in this window is different than the information displayed by the Display Configuration Info command...

Страница 101: ...When modifying a configuration using the graphical interface you can store your answers at any time Configuration information is saved in a file with the extension EA This file is the source ASCII format copy of the file The interface will create a temporary file with the extension EB which is the binary or loadable copy of the file C AU TI O N Do not modify configurations by editing the EA files ...

Страница 102: ...ormation on how to use dialog boxes refer to the To use dialog boxes description in the Using Menus the Entry Buffer and Action Keys section of the Entering Commands chapter To display the configuration context Choose Display Context from the pulldown menu in the top level configuration interface window The current directory context and the current configuration files are displayed in a window Cli...

Страница 103: ...uration interface window click on a topic in the selection dialog box and click the OK button Displays help on main items Displays context sensitive help Place mouse pointer over item and press f1 Displays help about the specific topic Figure 17 Configuring the Emulator To access help topics 102 ...

Страница 104: ...ose File Exit from the pulldown menu in the top level configuration interface window or type CTRL x If configuration changes have not been stored to a file a confirmation dialog box appears giving you the options of storing exiting without storing or canceling the exit To load an existing configuration file In the emulator analyzer interface choose File Load Emulator Config from the pulldown menu ...

Страница 105: ...nfiguration interface and access the General Items Monitor Setup configuration section refer to the previous Using the Configuration Interface section To access information about the configuration items use the online help button or press f1 to show context sensitive help on an individual item Figure 18 104 ...

Страница 106: ... program code you should restrict the emulator to real time runs This will help insure that target system damage does not occur However remember you can still execute the reset break and step commands you should use caution in executing these commands The default configuration does not restrict the emulator to real time runs Therefore the emulator might make temporary breaks into the monitor to co...

Страница 107: ...er one of these commands you must first make an explicit break into the monitor using the break command Because the emulator contains dual port emulation memory commands that access emulation memory are allowed while runs are restricted to real time When the restriction to real time runs is turned off all commands regardless of whether or not they require a break to the emulation monitor are accep...

Страница 108: ...configuration interface and access the Reconfigure Internal Registers configuration section refer to the previous Using the Configuration Interface section To access information about the configuration items use the online help button or press f1 to show context sensitive help on an individual item Figure 19 107 ...

Страница 109: ...y the changes to the emulator Refer to the Using the EMSIM Registers section in the Using the Emulator chapter for information on how these registers are used Refer to the Concepts chapter for conceptual information about these registers Configuring the Emulator To define values for the emulator copy of the SIM registers 108 ...

Страница 110: ...and must be at least 256 bytes in length Emulation memory is made available to the mapper in 64 Kbyte blocks When you map an address range to emulation memory at least one block is assigned to the range When a block of emulation memory is assigned to a range it is no longer available even though part of the block may be unused Direct memory access DMA to emulation memory is not permitted You shoul...

Страница 111: ... memory ranges that use function codes Map memory ranges that use chip selects Using Emulation Memory to Substitute for 8 Bit Memory Emulation memory is 16 bit wide memory However you can use emulation memory to substitute for 8 bit memory Figure 20 Configuring the Emulator To define values for the emulator copy of the SIM registers 110 ...

Страница 112: ... system RAM target system ROM or as guarded memory Guarded memory accesses will cause emulator execution to break into the monitor program Writes to locations characterized as ROM will cause emulator execution to break into the monitor program if the Break processor on write to ROM trace debug configuration option is enabled Writes to emulation ROM will be inhibited Writes by user code to target s...

Страница 113: ...d by the same amount thereby moving the block of memory Specifies the increment value for the and buttons of the start and end address fields Change only the end address thereby changing the size of the block of memory Multiply or divide the increment value by 2 Adds the defined range to the memory map These buttons may be held down to repeat the action Closes the dialog box Figure 21 Configuring ...

Страница 114: ...00000000 0 BYTE libdata NORMAL DATA 00007724 00007727 00000004 4 LONG libcdata NORMAL DATA 00007728 00008153 00000A2C 2 WORD mondata NORMAL DATA 00008154 00008177 00000024 2 WORD stack NORMAL DATA 0000B000 00012FFF 00008000 4 LONG heap NORMAL DATA 00013000 00016FFD 00003FFE 4 LONG Notice the ABSOLUTE DATA CODE and ROM sections occupy locations 0 through 49CBH Because the contents of these sections...

Страница 115: ... following commands to map memory for the above program delete all addr 0 thru 4fffh emulation rom 7000h thru 8fffh emulation ram 0b000h thru 16fffh emulation ram The resulting memory mapper screen is shown below To exit out of the memory mapper enter end Configuring the Emulator To add memory map entries 114 ...

Страница 116: ...adding memory map entries except it lets you modify the current settings for the entry In order to modify an entry when using the command line you must delete the entry and add a new entry Examples To modify a memory map entry using the popup menu Click and hold the mouse select button to bring up the menu Then choose the Modify Entry item to modify the highlighted memory map entry Use the dialog ...

Страница 117: ...s should be reloaded after deleting mapper terms The memory mapper may re assign blocks of emulation memory after the insertion or deletion of mapper terms To characterize unmapped ranges Choose Map Default Memory Type from the pulldown menu in the memory map window and select the memory type from the cascade menu Using the command line enter the default memory_type command Unmapped memory ranges ...

Страница 118: ...nction code when mapping a range of memory you must include the function code when referring to locations in that range If you don t include the function code an ambiguous address error message is displayed If you use different function codes it s possible to map address ranges that overlap When address ranges with different function codes overlap you must load a separately linked module for the s...

Страница 119: ... port at 400 hex Supervisor program from 1000 through 1fff hex Supervisor data from 2000 through 2fff hex User program from 3000 through 3fff hex User data from 3000 through 3fff hex The last two terms have address ranges that overlap You can use function codes to cause these terms to be mapped to different blocks of memory Suppose also that the only things that exist in your target system at this...

Страница 120: ...display memory 1000h blocked bytes Notice that an ambiguous address error occurs because the sp function code was not included with the address The following command should have been entered instead display memory fcode sp 1000h blocked bytes Configuring the Emulator To map memory ranges that use function codes 119 ...

Страница 121: ...o ROM When breaks on writes to ROM are enabled the emulator will break into the emulation monitor whenever the user program attempts to write to a memory region mapped as ROM The emulator will prevent the processor from actually writing to memory mapped as emulation ROM however it cannot prevent writes to target system RAM locations which are mapped as ROM even though the write to ROM break is ena...

Страница 122: ...user program debugging Both specifies that the analyzer trace both foreground and background cycles You may wish to specify this option so that all emulation processor cycles may be viewed in the trace display Foreground specifies that the analyzer trace only foreground cycles Configuring the Emulator When Configuring the Trace Mode 121 ...

Страница 123: ...ration interface and access the Simulated I O configuration section refer to the Using the Configuration Interface section To access information about the configuration items use the online help button or press f1 to show context sensitive help on an individual item Figure 23 122 ...

Страница 124: ... Info Chip Selects SIM or Display Configuration Info Chip Selects Emulator SIM from either the configuration interface the emulator analyzer interface pulldown menu Using the emulator analyzer interface command line enter the display configuration_info sim_chip_selects or display configuration_info emsim_chip_selects command These commands let you display chip select information from the sim proce...

Страница 125: ... Chip Selects Emulator SIM from either the configuration interface the emulator analyzer interface pulldown menu The following table reflects the current values in the emsim register set These values will be loaded into the processor when the monitor is entered from emulation reset Select Assign Base Size Mode Byte R W Strb DSACK Space IPL AVEC CSBOOT 16 bit 060000H 128K async both read AS 2wait s...

Страница 126: ... set The resulting display shows the pin assignments for the C E and F ports Examples To display information about bus interface ports from the sim processor register set choose Display Configuration Info Bus Interface Ports SIM from either the configuration interface the emulator analyzer interface pulldown menu The following table reflects the current values in the sim processor register set tha...

Страница 127: ...ODCK data FFH To display information about the memory map Choose Display Configuration Info Memory Map from either the configuration interface the emulator analyzer interface pulldown menu Using the emulator analyzer interface command line enter the display configuration_info memory_map command When in the memory map section of the emulator configuration the ranges of memory that have been mapped ...

Страница 128: ...face the emulator analyzer interface pulldown menu Notice the entry labeled info Ranges with this label do not take up mapper resources they just show information about the processor s address space Another info entry will be listed if the internal RAM is enabled with the EMRAMBAR register Configuring the Emulator To display information about the memory map 127 ...

Страница 129: ... from either the configuration interface the emulator analyzer interface pulldown menu The reset mode configuration value will be driven by the emulator The value of 0FFFH was generated automatically by the emulator to be compatible with the current values in the emsim register set It will be regenerated if any values in that register set change Data Bit Value Selects Comment 0 1 CSBOOT 16 bit 1 1...

Страница 130: ... interface pulldown menu Configuration Program for CHIP 68332 MOVE L fff000 A0 MOVE W 60cf 0a00 A0 set mcr MOVE L fff000 A0 set A0 for register location MOVE W 3f08 0a04 A0 set syncr MOVE B ff 0a11 A0 set porte MOVE B 00 0a15 A0 set ddre MOVE B ff 0a17 A0 set pepar MOVE B ff 0a19 A0 set portf MOVE B 00 0a1d A0 set ddrf MOVE B ff 0a1f A0 set pfpar MOVE B 80 0a21 A0 set sypcr MOVE W 0000 0a24 A0 set...

Страница 131: ...e or the emulator interface pulldown menu Using the emulator analyzer interface command line enter the display configuration_info diagnostics command This command Checks for inconsistencies between the mapper and the EMSIM registers Checks for inconsistencies between the reset mode configuration value and the EMSIM registers Compares corresponding values in the SIM and EMSIM register sets This com...

Страница 132: ...onfig emulator expects CS1 emsim value STATUS 177 BGACK at reset config emulator expects CS2 emsim value STATUS 177 FC0 at reset config emulator expects CS3 emsim value STATUS 177 FC1 at reset config emulator expects CS4 emsim value STATUS 177 FC2 at reset config emulator expects CS5 emsim value STATUS 177 A19 at reset config emulator expects CS6 emsim value STATUS 177 A20 at reset config emulator...

Страница 133: ...132 ...

Страница 134: ...6 Using the Emulator 133 ...

Страница 135: ...IM emsim registers Loading and storing absolute files Using symbols Using context commands Executing user programs starting stopping stepping and resetting the emulator Using execution breakpoints Displaying and modifying registers Displaying and modifying memory Displaying data values Changing the interface settings Using system commands Using Simulated I O Using Basis Branch Analysis 134 ...

Страница 136: ...ip selects and other circuitry to reduce external logic in a typical microprocessor system The SIM can be programmed or configured in a variety of ways to suit the need of various systems The HP 64782 emulator contains circuitry that accommodates the flexibility of the SIM and maintains consistent emulation features Figure 24 135 ...

Страница 137: ...they will have the complete 24 bit address bus This is easy if Port C of the 6833x is programmed as address lines however if any of these lines are programmed as chip selects the corresponding address lines are not available external to the 6833x The chip selects however have access to the full 24 bit address inside the 6833x You can therefore locate memory using a chip select at an address that i...

Страница 138: ... t know what its values are In this case you can use the default configuration run from reset to execute the initialization code and use the sync_sim_registers from_6833x_to_config command to configure the emulator to match the 6833x SIM At any time you can verify if the SIM and DE SIM are programmed the same with the sync_sim_registers difference command Any differences between the two register s...

Страница 139: ...E 00 EMDDRE FF PEPAR FF EMPEPAR 00 PORTF 00 EMPORTF 02 DDRF 00 EMDDRF FF PFPAR FF EMPFPAR 00 SYPCR 80 EMSYPCR 41 PICR 000F EMPICR 4321 PITR 0000 EMPITR 1234 PORTC 00 EMPORTC 7F CSPAR0 3FFF EMCSPAR0 15FF CSPAR1 03FF EMCSPAR1 0155 CSBRBT 0007 EMCSBRBT 0011 CSORBT 7B70 EMCSORBT 1100 CSBR0 0000 EMCSBR0 1234 CSOR0 0000 EMCSBR0 4321 CSBR1 0000 EMCSBR1 1100 CSOR1 0000 EMCSBR1 0011 CSBR2 0000 EMCSBR2 2200...

Страница 140: ...e SIM registers To synchronize to the EMSIM registers Choose Modify SIM Registers Copy Emulator SIM to Processor SIM from the emulator analyzer interface pulldown menu Using the emulator analyzer interface command line enter the sync_sim_registers to_6833x_from_config command The contents of the emulation copy of the SIM registers are copied to the 6833x SIM registers To restore default values in ...

Страница 141: ...he load absolute_file command You can load absolute files into emulation or target system memory You can load IEEE 695 format absolute files You can also load HP format absolute files The store memory command creates HP format absolute files If you wish to load only that portion of the absolute file that resides in memory mapped as emulation RAM or ROM use the command line s load emul_mem syntax I...

Страница 142: ...side in target system RAM load user_mem absfile To load only portions of the absolute file that reside in emulation memory load emul_mem absfile To load absolute files without symbols Choose File Load Program Only and use the dialog box to select the absolute file Using the command line enter the load absolute_file nosymbols command Using the Emulator To load absolute files without symbols 141 ...

Страница 143: ...tored in the current directory If no extension is given for the absolute file name it is given a X extension Examples To store the contents of memory locations 900H through 9FFH to an absolute file on the host computer named absfile store memory 900h thru 9ffh to absfile After the command above a file named absfile X exists in the current directory on the host computer Using the Emulator To store ...

Страница 144: ...y local symbols Display a symbol s parent symbol Copy and paste a full symbol name to the entry buffer To load symbols Choose File Load Symbols Only and use the dialog box to select the absolute file Using the command line enter the load symbols absolute_file command Unless you use the nosymbols option when loading absolute files symbols are loaded automatically However if you did use the nosymbol...

Страница 145: ...he segment the symbol is associated with and the offset of that symbol within the segment If there is more than a screen full of information you can use the up arrow down arrow NEXT or PREV keys to scroll the information up or down on the display Examples To display global symbols in the demo program display global_symbols Using the Emulator To display global symbols 144 ...

Страница 146: ...n and choose Display Local Symbols from the popup menu Position the mouse cursor in the entry buffer and enter the module whose local symbols are to be displayed then choose Display Local Symbols Using the command line enter the display local_symbols_in module command To display the address ranges associated with the high level program s source file line numbers you must display the local symbols ...

Страница 147: ...Examples To use the Symbols Display popup menu View the local symbols associated with the highlighted symbol by choosing this menu item Using the Emulator To display local symbols 146 ...

Страница 148: ...nd line To display local symbols in a module display local_symbols_in update_sys To display local symbols in a procedure display local_symbols_in update_sys save_points Using the Emulator To display local symbols 147 ...

Страница 149: ...To display address ranges associated with the high level source line numbers display local_symbols_in update_sys update_sys c Using the Emulator To display local symbols 148 ...

Страница 150: ...use pointer over the symbol press and hold the select mouse button and choose Display Parent Symbols from the popup menu Examples View the parent symbol associated with the highlighted symbol by choosing this menu item Using the Emulator To display a symbol s parent symbol 149 ...

Страница 151: ...s in the entry buffer you can use it with pulldown menu items or paste it to the command line area By cutting the full symbol name you get the complete names of symbols that have been truncated Also you are guaranteed of specifying the proper scope of the symbol Examples Copy the full name of the highlighted symbol to the entry buffer by choosing this menu item Using the Emulator To copy and paste...

Страница 152: ...lation session the current directory context is that of the directory from which you started the interface Symbol context The emulator analyzer interface and the Symbol Retrieval Utilities SRU together support a current working symbol context The current working symbol represents an enclosing scope for local symbols If symbols have not been loaded into the interface you cannot display or change th...

Страница 153: ...e the directory context Choose File Context Directory and use the dialog box to select a new directory Using the command line enter the cd directory command The Directory Selection dialog box contains a list of directories accessed during the emulation session as well as any predefined directories present at interface startup You can predefine directories and set the maximum number of entries for ...

Страница 154: ...bel you have to type it in You can predefine symbol contexts and set the maximum number of entries for the Symbol Scope Selection dialog box by setting X resources see the Setting X Resources chapter Displaying local symbols or displaying memory in mnemonic format causes the working symbol context to change as well The new context will be that of the local symbols or memory locations displayed Usi...

Страница 155: ... resisters the register display is updated to show you the contents of the registers after each step You can open multiple interface windows to display memory in mnemonic format and registers at the same time Both windows are updated after stepping This section describes how to Start the emulator running the user program Stop break from user program execution Step through user programs Reset the e...

Страница 156: ...ess command Most software development tools allow you to specify a starting or entry address for program execution That address is included with the absolute file s symbolic information and is known by the interface as the transfer address To run programs from reset Choose Execution Run from Reset Using the command line enter the run from reset command The run from reset command specifies a run fr...

Страница 157: ...cution Run until Using the command line enter the run until address command When you run until an address a software breakpoint is set at the address and the program is run from the current program counter When using the command line you can combine the various types of run commands for example you can run from the transfer address until another address Examples To run from the transfer address un...

Страница 158: ... source lines Choose Execution Step Source and select one of the items from the cascade menu Using the command line enter the step source command When stepping through instructions associated with source lines execution can remain in a loop and the message Stepping source line 1 Next PC address is displayed on the status line In this situation you can abort the step command by pressing CTRL c Exam...

Страница 159: ...d The step command allows you to step through program execution an instruction or a number of instructions at a time Also you can step from the current program counter or from a specific address Examples To step one instruction from the current program counter step To step a number of instructions from the current program counter step 8 To step a number of instructions from a specified address ste...

Страница 160: ...ommand line enter the reset command The reset command causes the processor to be held in a reset state until a break run or step command is entered A CMB execute signal will also cause the emulator to run if reset Using the Emulator To reset the emulation processor 159 ...

Страница 161: ...ash Execution breakpoints are implemented using the BKPT instruction of the MC6833x You can enable disable set or clear execution breakpoints Set execution breakpoints at the first word of program instructions Otherwise your BKPT may be interpreted as data and no breakpoint cycle will occur When the BKPT instruction is executed target program execution stops immediately unlike using the analyzer t...

Страница 162: ...ator creates the breakpoint as described in the preceding paragraphs When the breakpoint instruction is executed the emulator breaks to the monitor and removes the breakpoint Now you can execute that portion of program code as often as you like and the breakpoint will not occur again unless you enable it again When you set a permanent breakpoint the emulator will process it the same as a temporary...

Страница 163: ...enable breakpoints before you can set inactivate or clear any breakpoints Once you have enabled breakpoints you can enter new ones into the breakpoint table Note that if you enable breakpoints add several and then disable them they all become inactive If you reenable the breakpoints feature you must choose Breakpoints Set All or on the command line enter modify software_breakpoints set if you want...

Страница 164: ...ithout removing the existing breakpoints Use one of the above commands to do this When you disable breakpoints the emulator replaces the BKPT instructions at all breakpoint locations with the original instructions It marks the breakpoint table entries as inactive The processor won t break to monitor when the instructions at inactive locations are executed If you later enable breakpoints the ones i...

Страница 165: ...y buffer then choose Breakpoints Permanent Using the command line enter the command modify software_breakpoints set address permanent The breakpoints feature must be enabled before individual breakpoints can be set When displaying memory in mnemonic format asterisks appear next to breakpoint addresses An asterisk shows the breakpoint is active Also if assembly level code is being displayed the dis...

Страница 166: ...points set To add a new breakpoint you can choose Breakpoints Temporary with the name of the new breakpoint in the entry buffer or use the modify software_breakpoints set command and specify the address for the breakpoint You can also use this method to reenable an existing breakpoint at that address If you choose Breakpoints Set All or use the modify software_breakpoints set command without an ad...

Страница 167: ...t display press and hold the select mouse button and then choose Clear delete Breakpoint from the popup menu to clear the selected breakpoint Using the command line enter commands as follows To remove an existing breakpoint at a location given by address enter modify software_breakpoints clear address To remove all existing breakpoints enter modify software_breakpoints clear When you re finished u...

Страница 168: ...enu and choose this item to clear the highlighted breakpoint To clear an existing breakpoint at get_targets modify software_breakpoints clear update_sys get_targets To clear all existing breakpoints modify software_breakpoints clear Using the Emulator To clear an execution breakpoint 167 ...

Страница 169: ...Using the command line display the status of all breakpoints by selecting display software_breakpoints The breakpoints table shows you whether the breakpoints feature is currently enabled or disabled Also the status is shown for each breakpoint in memory If Pending the BKPT instruction is in memory at that location and the breakpoint is set If Inactive the memory location contains the original ins...

Страница 170: ...pending Which means the temporary breakpoint has been set but not encountered during program execution When encountered these breakpoints are inactivated but retained in the breakpoints list Pending breakpoints can only be set using the softkey command line with commands like modify software_breakpoints set 1000 and not selecting the additional options temporary or permanent The pending breakpoint...

Страница 171: ...uch as the PC ST USP SSP and data and address registers You can display the contents of an individual register a register class or all registers This section shows you how to Display register contents Modify register contents To display register contents Choose Display Registers register class Using the command line enter the display registers register class command When displaying registers you c...

Страница 172: ...ld the command select mouse button and drag the mouse to select the value type Clicking this checkbox causes the current value of the named register to be placed in the Value text entry area Clicking this button modifies the register to the value specified and closes the dialog box Clicking this button modifies the register to the value specified and leaves the dialog box open Clicking this button...

Страница 173: ...mory in mnemonic format at the current PC Return to the previous mnemonic display Display memory in hexadecimal format Display memory in real number format Display memory at an address Display memory repetitively Modify memory Modify memory at an address To display memory Choose Display Memory This command either re displays memory in the format specified by the last memory display command or if n...

Страница 174: ...ncluded in the display depends on the modes you choose with the Settings Source Symbols Modes or Settings Display Modes pulldown menu items See the Changing the Interface Settings section If symbols are loaded into the interface the default is to display source only To return to the previous mnemonic display Choose Display Memory Mnemonic Previous Using the command line enter the display memory mn...

Страница 175: ...rom the cascade menu Using the command line enter the display memory address blocked size command This command displays memory as hexadecimal values beginning at the address in the entry buffer Examples To display memory in absolute word format display memory ascii_old_data absolute words Using the Emulator To display memory in hexadecimal format 174 ...

Страница 176: ...fer then choose Display Memory Real and select the size from the cascade menu Using the command line enter the display memory address real size command Displays memory as a list of real number values beginning at the address in the entry buffer Short means four byte real numbers and long means eight byte real numbers Using the Emulator To display memory in real number format 175 ...

Страница 177: ... Place an absolute or symbolic address in the entry buffer then choose Display Memory At This command displays memory in the same format as that of the last memory display command If no previous command has been issued memory is displayed as hexadecimal bytes Using the Emulator To display memory at an address 176 ...

Страница 178: ...ify memory Choose Modify Memory and complete the command using the command line To modify memory at a particular address place an absolute or symbolic address in the entry buffer then choose Modify Memory at and complete the command using the command line Using the command line enter the modify memory command You can modify the contents of one memory location or a range of memory locations Options...

Страница 179: ...nd add a new item Add item to the data values display To display data values Choose Display Data Values Using the command line enter the display data command Items must be added to the data values display before you can use this command The data display shows the values of simple data types in the user program When the display mode setting turns ON symbols a label column that shows symbol values i...

Страница 180: ... Using the command line enter the display data address format command To add items to the data values display Place an absolute or symbolic address in the entry buffer then choose Display Data Values Add and select the data type from the cascade menu Using the command line enter the display data address format command Using the Emulator To clear the data values display and add a new item 179 ...

Страница 181: ... To display assembly language mnemonics intermixed with high level source lines choose Settings Source Symbol Modes Source Mixed or using the command line enter the set source on inverse_video on symbols on command To display only high level source lines choose Settings Source Symbol Modes Source Only or using the command line enter the set source only inverse_video off symbols on command The sour...

Страница 182: ...e mouse pointer to the text entry area and type in the value Descriptions of the modes follow Clicking toggles auto update settings Clicking this checkbox changes all display mode settings to their defaults Clicking this button saves your changes and closes the dialog box Clicking this button saves your changes and leaves the dialog box open Clicking this button cancels your changes and closes the...

Страница 183: ... width in characters of the source lines in the memory mnemonic display Auto Update Memory Displays Except Mnemonic toggles whether memory displays are automatically updated after commands that change memory contents or whether you must enter memory display commands to update the display You may wish to turn off memory display updates for example when displaying memory mapped I O Memory Mnemonic A...

Страница 184: ...variables from within the Softkey Interface with the set environment_variable value command Examples To set the PRINTER environment variable to lp s set PRINTER lp s After you set an environment variable from within the Softkey Interface you can verify the value of it by entering set To display the name of the emulation module Using the command line type the name_of_module command While operating ...

Страница 185: ...curred during the emulation session are displayed The status of the emulator and analyzer are recorded in the event log as well as the conditions that cause the status to change for example software breakpoints and trace commands To display the error log Choose Display Error Log Position the mouse pointer on the status line press and hold the select mouse button and then choose Display Error Log f...

Страница 186: ...use button and choose Edit Source from the popup menu When editing files at addresses the interface determines which source file contains the code generated for the address and opens an edit session on the file The interface will issue an error if it cannot find a source file for the address If upon starting the emulator session you chose to copy files to a new directory the file you try to edit w...

Страница 187: ... file that defines a symbol Choosing the Edit File Defining Symbol menu item brings up a terminal window with an edit session open on the file where the highlighted symbol is defined Using the Emulator To edit files 186 ...

Страница 188: ...dit a file at a source line Choosing the Edit Source menu item brings up a terminal window with an edit session open on the file where the highlighted source line exists Using the Emulator To edit files 187 ...

Страница 189: ...mmand the format used is a blocked hex byte format beginning at address zero Data Values Copies the contents of the defined data values last displayed An error occurs if you try to copy data values to a file if you have not yet displayed data values Configuration Info Copies the contents of the configuration information last displayed An error occurs if you try to copy configuration information to...

Страница 190: ...try buffer If symbols have not been loaded this menu item is grayed out and unresponsive Pod Commands Copies the last 100 lines from the pod commands display Error Log Copies the last 100 lines from the error log display Event Log Copies the last 100 lines from event log display To open a terminal emulation window Choose File Term This command opens a terminal window into the current working direc...

Страница 191: ... with environment dependent routines that communicate with the simulated I O control address and buffer Also before simulated I O can work the emulator must be configured to enable polling of the simulated I O control address and to define the control address location This section shows you how to Display the simulated I O screen Use simulated I O keyboard input Refer to the Simulated I O User s G...

Страница 192: ...o work you must configure the emulator to enable polling of simulated I O The command line entry area is used for simulated input with the keyboard Therefore if the command line is turned off choosing this menu item with turn command line display back on If you are planning to use even a modest amount of simulated I O input during an emulation session it might be a good idea to open another Emulat...

Страница 193: ...eprocessor to add statements that write to a data array when program branches are taken After running the program in the emulator using test input you can store the BBA information to a file Then you can generate reports based on the stored information This section shows you how to store BBA data to a file Refer to the HP Branch Validator BBA User s Guide for complete details on the BBA product an...

Страница 194: ...7 Using the Emulation Analyzer 193 ...

Страница 195: ... while using the emulation analyzer These tasks are grouped into the following sections The basics of starting stopping and displaying traces Qualifying trigger and store conditions Using the sequencer Displaying the trace list Saving and restoring trace data and specifications 194 ...

Страница 196: ... the following states in trace memory Once you start a trace measurement you can view the progress of the measurement by displaying the trace status In some situations for example when the trigger state is never found or when the analyzer hasn t filled trace memory the trace measurement does not complete In these situations you can halt the trace measurement Once a trace is displayed you can use t...

Страница 197: ...talled memory modules on the analyzer card and the capacity of the memory modules installed Refer to the Hewlett Packard MC6833x Emulator Analyzer Installation Service Terminal Interface Guide for details If you are using the 1K analyzer the trace list buffer is 512 or 1024 states deep depending on whether or not you turn on the state time count See To count states or time in this chapter Example ...

Страница 198: ...wly You can use the stop_trace command to prevent the analyzer from storing additional data You do not have to stop a trace in order to begin viewing a partial trace because the interface supports incremental trace uploading After the trigger condition occurs the interface begins uploading and displaying trace states as they are captured To display the trace list Choose Trace Display or Display Tr...

Страница 199: ...ation time is counted by default Relative indicates that each count is relative to the previous state If your analyzer card contains external analysis for example HP 64703 the next column shows the data captured on the external trace signals You can use the NEXT and PREV keys to scroll through the trace list a page at a time The Up arrow and Down arrow keys will scroll through the trace list a lin...

Страница 200: ...Emulation trace started Emulation trace complete etc you can display complete analyzer status with the command below Examples To display the trace status display status display status The first line of the emulation trace status display shows the user trace has been completed other possibilities are that the trace is still running or that the trace has been halted The second line of the trace stat...

Страница 201: ...ers that the stored states occupy The trigger state is always stored on line 0 The Sequence term line of the trace status display shows the number of the term the sequencer was in when the trace completed Because a branch out of the last sequence term constitutes the trigger the number displayed is what would be the next term 2 in the preceding example even though that term is not defined If the t...

Страница 202: ...tes depends on whether or not you installed memory modules in the analyzer card and the capacity of the memory modules Refer to the Hewlett Packard MC6833x Emulator Analyzer Installation Service Terminal Interface Guidefor details In the 1K analyzer the maximum number of trace states is 1024 when counting is turned off and 512 otherwise In either analyzer the minimum trace depth is 9 Trace data mu...

Страница 203: ... recalls the last trace command The advantage of this command over command recall is that you do not have to move forward and backward over other commands to find the last trace command also the last trace command is always available no matter how many commands have since been entered To repeat the previous trace command Choose Trace Again To continually repeat the last trace choose Trace Repetiti...

Страница 204: ...screen with the keys described below The Up arrow and Down arrow or roll up and roll down keys move the display up or down on the screen one line at a time The PREV and NEXT or page up and page down keys allow you to move the display up or down a page at a time The CTRL f and CTRL g keys allow you to move the display left or right respectively These keys are used when the width of the address or m...

Страница 205: ...e address data and status values in trace expressions Enter a range in a trace expression Trigger on a number of occurrences of some state Break emulator on execution on the analyzer trigger Count states or time Define a storage qualifier Define a prestore qualifier Trace activity leading up to a program halt Expressions in Trace Commands When modifying the analysis specification you can enter exp...

Страница 206: ...ed when expression evaluation occurs The available operators are listed below in the order of evaluation precedence Parentheses are also allowed in expressions to change the order of evaluation Unary two s complement unary one s complement The unary two s complement operator is not allowed on constants containing don t care bits Integer multiply divide and modulo These operators are not allowed on...

Страница 207: ...figured such that these signals are chip selects one of three bus values will be driven based on chip select programming If the chip select programming does not differentiate between user and supervisor the FC value will be 011 BIN If the chip select is supervisor the FC value will be 100 BIN If the chip select is user the FC value will be 000 BIN bit 4 ch 52 R W 0 write bus cycle 1 read bus cycle...

Страница 208: ...essor halt 1 processor is not halted bit 12 ch 60 CODE 0 instruction fetch 1 data transfer bit 13 ch 61 FLUSH 0 first instruction fetch following any program transfer 1 no program transfer bit 14 bit 15 ch 62 ch 63 LOWBYTE HIBYTE These are translation RAM signals which describe the bus cycle 15 14 0 0 use SIZ1 SIZ0 bits status bits 6 5 0 1 low byte transfer 1 0 high byte transfer 1 1 word transfer...

Страница 209: ...s qualifiers for analyzer states by pressing the status softkey you will be given the following softkeys which are predefined values for the qualifiers Qualifier Status Values Description berr 0xxxxx0xxxxxxxxxx BIN bus cycle bus error data 0xxx1xxxxxxxxxxxx BIN bus cycle is a data transfer flush 0xx0xxxxxxxxxxxxx BIN instruction pipe flush and program transfer halt 0xxxx0xxxxxxxxxxx BIN processor ...

Страница 210: ...er words the trigger is positioned at the bottom of the trace Tracing about the trigger state says states that occur before and after the trigger state should be saved in other words the trigger is positioned at the center of the trace When the analyzer counts time or states the actual trigger position is within 1 state of the number specified When counts are turned OFF the actual trigger position...

Страница 211: ...n c line 102 occurs To trigger on this address enter trace after address main main c line 102 set source on inverse_video on symbols on display trace In the preceding trace list line 0 labeled after shows the beginning of the program loop Using the Emulation Analyzer To specify a trigger and set the trigger position 210 ...

Страница 212: ...nter address data and status expressions to specify the bus state You can combine multiple expressions on the same command line to build a complete bus state qualifier You can also use logical operators to build more complex states Refer to the Emulator Analyzer Interface Commands chapter for details The default expression type is address therefore you don t need to specify the address keyword whe...

Страница 213: ...ss ranges to trigger or store on access to a data block such as a lookup table But you can also use data ranges to qualify a trigger or storage on a range of data values There is only one range term available in the trace specification Once it has been used it cannot be reused That is if you specify a range in a trigger specification you can t duplicate it in the storage specification The Terminal...

Страница 214: ...ces of some state Use the occurs TIMES after specifying the trigger state When specifying a trigger state you can include an occurrence count The occurrence count specifies that the analyzer trigger on the Nth occurrence of some state The default base for an occurrence count is decimal You may specify occurrence counts from 1 to 65535 Examples To trigger on the 20th occurrence of the call of the u...

Страница 215: ...ctual break may be several cycles after the analyzer trigger Examples To trace before source line 102 and cause the emulator to break into the monitor when the analyzer triggers trace before address main main c line 102 break_on_trigger To count states or time Create your first specification form on the command line That will enter the proper format in the Trace Specification Selection dialog box ...

Страница 216: ...K analyzer use of the counter restricts the trace memory to a maximum depth of 512 states If you disable the counter in the 1K analyzer using the trace counting off command maximum trace depth is 1024 states When using the 1K analyzer the MC6833x emulator defaults to counting off To count states or time you must configure the analyzer clocks correctly See To configure the analyzer clock in the Con...

Страница 217: ...ifier such as status read in the entry buffer Then choose Trace Only Using the command line store only certain states in the trace list by entering trace only bus_state bus_state represents a combination of address data and status expressions that must be matched to satisfy the storage qualifier Storage qualifiers can help filter unwanted information from program execution and improve your trace m...

Страница 218: ... define a prestore qualifier Place your prestore qualification into the entry buffer Then choose Trace Only Prestore Using the command line enter commands as follows Specify a prestore qualifier by entering trace prestore bus_state bus_state represents a combination of address data and status expressions that must be matched to satisfy the prestore qualifier Disable prestore qualification by enter...

Страница 219: ...les that write to a variable and sometime during execution of your program that variable gets bad data written to it Using a prestore measurement you can find out which module is writing the bad data Store qualify writes to the variable and use prestore to capture the instructions that caused those writes to occur perhaps by prestoring program reads Examples Specify a prestore qualifier trace pres...

Страница 220: ...ssor to halt because the analyzer will continue to capture foreground monitor states after the break When using a foreground monitor you can use the command line to enter a trace command that stores only states outside the range of the foreground monitor program for example trace on_halt only not range mon_start_addr thru mon_end_addr on_halt To capture a continuous stream of program execution no ...

Страница 221: ...eans enable the emulator to break to its monitor program when it receives trig1 Select a value for states before end of memory that allows enough time and or memory space for the emulator to break to its monitor program before the trace memory is filled Otherwise some of your program execution will not be captured in the trace Many states may be executed before the emulation break occurs depending...

Страница 222: ...n trig1 break and or Emulation trace complete to appear on the status line this ensures the trace memory is filled during the trace except for the unfilled space you specified in Step 2 above Note that when you set a delay specification using tgout c or tgout t trigger output delay before trace complete after trigger the trace will indicate complete as soon as the analyzer has captured the state s...

Страница 223: ...name 1 in the above command suggests use of consecutive filenames to store your execution files such as FILENAME1 FILENAME2 etc Repeat steps 8 through 10 above until all program execution has been captured Your destination directory will have a set of files that taken together contain all of your program execution Note that if you did not prevent capture of foreground monitor cycles in step 3 abov...

Страница 224: ...tart state Trace windows of program execution Specify both sequencing and windowing The sequencing and windowing capabilities from within the Softkey Interface are not as powerful or flexible as they are from within the Terminal Interface For example in the Terminal Interface you can specify different restart states for each sequence term and you can set up a windowing trace specification where th...

Страница 225: ...lifier times is the number of times that bus state must occur to satisfy the qualifier The analyzer s sequencer has several levels also called sequence terms Each state in the series of states to be found before triggering as well as the trigger state is associated with a sequence term When triggering using the sequencer the analyzer searches for the state associated with the first sequence term W...

Страница 226: ...cation enter the following trace command trace find_sequence save_points then interrupt_sim trigger about do_sort only data 4e56h set source off Notice the states that contain sq adv in the first column you may have to press PREV in order to see the states captured prior to the trigger These are the states associated with or captured for each sequence term Just as the trigger state is always store...

Страница 227: ...uction or data access occurs For example you might have a complicated trace sequence that searches for an intermittent failure condition You could set the restart term to restart the sequence whenever a bus cycle occurred that ensures that the code segment would perform correctly Thus the trace will be satisfied only when that restart term never occurs and the code segment fails Examples In the de...

Страница 228: ... trigger about do_sort only data 4e56h set source off Notice in the preceding trace you may have to press PREV in order to see the states captured prior to the trigger that in addition to states captured in the sequence sq adv is also shown next to states which cause a sequencer restart Using the Emulation Analyzer To specify a global restart state 227 ...

Страница 229: ...ing of states after some state occurs then to turn off or disable the capturing of states when another state occurs In effect windowing allows you capture windows of code execution Windowing is different than storing states in a range the only range option in the trace command syntax because it allows you to capture execution of all states in a window of code whereas storing states in a range won ...

Страница 230: ...number 241 as the window disable state Set up the windowing trace specification with the following command trace enable main main c line 229 disable main main c line 241 set source on Notice in the resulting trace you have to press the NEXT key that the enable and disable states have the sq adv string in the line number column This is because the windowing feature uses the analyzer s sequencer Usi...

Страница 231: ...s is the number of times that bus state must occur to satisfy the qualifier You can use the sequencing and windowing specifications together to make specification of complex qualifiers easier If you use the windowing specification the sequence specification is limited to four sequence terms Also note that when you use a windowing specification you cannot use a restart term with your sequence speci...

Страница 232: ...single command on the command line to obtain a desired trace display See the display trace and set command descriptions in the Emulator Analyzer Interface Commands chapter for more information This section describes how to Use the Trace Options dialog box Use the trace list popup menu Display the trace about a line number Move through the trace list Disassemble the trace list Specify trace disasse...

Страница 233: ...emory to be unloaded for display or storage in a file Enter a value to be subtracted from addresses and symbol source line references shown in the trace list Enter the desired trace list line number to be placed on screen Click OK to specify the trace options and close the dialog box Click Apply to specify the trace options and leave the dialog box open Click these pushbuttons to select predefined...

Страница 234: ... edit window into the source file that contains the address of the selected line Click to open a display window into memory containing the address of the selected line Note that the format of the memory display will be mnemonic for addresses in the code segment and absolute otherwise Using the Emulation Analyzer To specify both sequencing and windowing 233 ...

Страница 235: ...ed to move to a particular state quickly you can use this command The command places the specified state in the center of the current trace display Examples Display the trace about line number 20 Choose Trace Display Options and in the dialog box enter 20 in the field beside Move to Line Then click the OK or Apply pushbutton Enter the following command on the command line to display the trace abou...

Страница 236: ...56 or more states only 15 lines may be displayed in the interface window depending on your terminal type You can move through the trace list display using various key combinations You can roll the display left and right only if the trace list is wider than 80 columns This may occur if you increased the width of the columns To disassemble the trace list Choose Trace Display Options and in the dialo...

Страница 237: ... specify absolute data display that mode remains in effect until you select the mnemonic option When you identify a particular trace list line where disassembly is to begin be sure to specify a line number that corresponds to an analyzer state with an opcode fetch The analyzer interface disassembles and displays the trace starting with the state you specify Examples To disassemble instruction data...

Страница 238: ...l bus cycles in the trace list enter display trace disassemble_from_line_number LINE all_cycles Normally the MC6833x presents the trace list data as it was stored by the analyzer That is all bus cycles are shown and disassembly starts with the most significant word of the data If you don t want to see operand cycles in the trace list specify the instructions_only option The disassembly options rem...

Страница 239: ...ay trace dequeue on To display the trace list without dequeueing enter display trace dequeue off LINE is a line number corresponding to a state in the trace list STATE is the line number of the data operand that is associated with the instruction at LINE A dequeued trace list is available through the disassembly options In a dequeued trace list unused instruction prefetch cycles are discarded and ...

Страница 240: ...KEN is shown if the dequeuer determines that the branch was definitely not taken TAKEN means the dequeuer was not able to determine whether or not the branch was taken If you read down the trace list and see that the branch was taken use the disassemble_from_line_number command to restart disassembly at the trace list line number of the branch destination Examples Dequeue the trace list Choose Tra...

Страница 241: ...ormat enter display trace absolute status mnemonic For some measurements it may be more convenient for you to view the trace data without instruction disassembly The Data Format Absolute selection in the Trace Display Options dialog box or the display trace absolute command allows you to do this Notice that once you enter this format selection subsequent trace lists will displayed in this format u...

Страница 242: ...e trace list without instruction disassembly and with status information in hexadecimal format make appropriate entries in the Trace Display Options dialog box or enter the following command display trace absolute status hex Display the trace list without instruction disassembly and with status information in mnemonic format make appropriate entries in the Trace Display Options dialog box or enter...

Страница 243: ...ls enter set symbols high To display only low level symbols enter set symbols low To display all symbols both high and low level enter set symbols all When you enable symbol display addresses and operands are replaced by the symbols that correspond to those values The symbol information is derived from the SRU symbol database for that command file See Chapter 6 Using the Emulator for more informat...

Страница 244: ...ollows To display mixed source and assembly language in the trace list enter set source on To display only source language statements in the trace list enter set source only To display only assembly language in the trace list enter set source off If you developed your target programs in a high level language such as C you can display the source code in the trace list with the corresponding assembl...

Страница 245: ...emonic WIDTH To set the column width for source lines in the trace list enter set width source WIDTH WIDTH is an integer between 1 and 80 specifying the width of the column in characters WIDTH is restricted to certain values which are shown if you press the WIDTH softkey You can display more information by widening a column or ignore the information by narrowing the column For example you might wa...

Страница 246: ...ed count information is displayed relative to the previous state When absolute is selected count information is displayed relative to the trigger condition The count information in the trace list is always displayed if count display is turned on To turn on the trace counting function enter a command beginning with trace counting on the command line Refer to To count states or time later in this ma...

Страница 247: ...update_sys counting time Now start the program run then display the trace run from transfer_address display trace count relative Count absolute entries into the get_targets routine of the demo program trace only address range update_sys thru update_sys end counting state get_targets run from transfer_address display trace count absolute Using the Emulation Analyzer To select the type of count info...

Страница 248: ...ield the address that is displayed If code gets relocated and therefore makes symbolic information invalid you can use the Address Offset or offset_by option to change the address information so that it again agrees with the symbolic information You can also specify an offset to cause the listed addresses to match the addresses in compiler or assembler listings Example Trace execution from entry o...

Страница 249: ...deep analyzer the depth of the trace list buffer depends on whether or not you installed memory modules on the analyzer card and the capacity of the memory modules installed Refer to the Hewlett Packard MC6833x Emulator Analyzer Installation Service Terminal Interface Guidefor details If you are using the 1K analyzer the trace list buffer is 512 or 1024 states deep depending on whether or not you ...

Страница 250: ... that emitted the selected trace list line This is the same as placing the program address of the selected trace list line in the entry buffer and choosing Display Memory At in the pulldown menus To open an edit window into the source file associated with a trace list line Using the mouse place the cursor on the line in the trace list whose source file you wish to edit Then press the select mouse ...

Страница 251: ...using the UNIX diff command This section describes how to Store a trace specification Store trace data Load a trace specification Load trace data To store a trace specification Choose File Store Trace Spec In the dialog box select an existing filename or specify a new filename to contain the present trace specification Then click OK Using the command line store the current trace specification by e...

Страница 252: ...click OK Using the command line store the current trace data by entering store trace filename filename is any UNIX file name including paths The trace data file is a binary file The extension TR is automatically added to the file name A trace data file can be reloaded into the interface and displayed like any other trace listing You can store the trace data resulting from a measurement This can be...

Страница 253: ...ame filename is any UNIX file name including paths The extension TS is assumed Once you save a trace specification in a file using the File Store Trace Spec or store trace_spec command you can load it using the appropriate command above To start a trace with the trace specification that you loaded use the Trace Again or trace again command Example Load a trace specification from a file and start t...

Страница 254: ... Trace Trace Display or display trace command Remember that a new trace measurement will overwrite this trace data but not the file from which it was loaded The interface will try to display the trace listing in the display format active when the trace data was stored If the interface needs symbols to replace absolute addresses or to find high level source lines and symbols are not loaded an error...

Страница 255: ...254 ...

Страница 256: ...8 Making Software Performance Measurements 255 ...

Страница 257: ...tion from the analyzer trace list When you end a performance measurement the SPMT dumps the post processed information to a binary file which is then read using the perf32 report generator utility Two types of software performance measurements can be made with the SPMT activity measurements and duration measurements This chapter describes tasks you perform while using the Software Performance Meas...

Страница 258: ...ose an address range being measured for activity contains an opcode that causes a stack push which results in multiple write operations to the stack area outside the range The memory activity measurement will count only the stack push opcode cycle However the program activity measurement will count the stack push opcode cycle and the write operations to the stack By comparing the program activity ...

Страница 259: ...H Memory Activity State Percent Rel 11 72 Abs 11 72 Mean 60 00 Sdv 29 24 Time Percent Rel 10 94 Abs 10 94 Program Activity State Percent Rel 0 00 Abs 0 00 Mean 0 00 Sdv 0 00 Time Percent Rel 0 00 Abs 0 00 Graph of Memory Activity relative state percents 1 prog 57 77 data 30 51 stack 11 72 Graph of Memory Activity relative time percents 1 prog 60 97 data 28 09 stack 10 94 Graph of Program Activity ...

Страница 260: ...2221 20 Program Activity State count Relative count 5120 Mean sample 170 67 Mean Standard Dv 0 58 95 Confidence 0 24 Error tolerance Time count Relative Time Us 2221 20 Absolute Totals Absolute count state 5120 Absolute count time Us 2221 20 This section describes how to Set up the trace command for activity measurements Initialize activity performance measurements Interpret activity measurement r...

Страница 261: ... default trace command triggers on any state and all captured states are stored It is important that time be counted by the analyzer otherwise the SPMT measurements will not be correct Also since states are stored after the trigger state the maximum number of captured states appears in each trace list You can qualify trace commands any way you like to obtain specific information However when you q...

Страница 262: ... a previous performance measurement if the emulation system has been exited and re entered Default Initialization Entering the performance_measurement_initialize command with no options specifies an activity measurement If a valid symbolic database has been loaded the addresses of all global procedures and static symbols will be used otherwise a default set of ranges that cover the entire processo...

Страница 263: ...symbol1 thru the end of symbol2 dir1 dir2 source_file s local_symbol The above defines a range based on the address of local_symbol Initialization with Global Symbols When the performance_measurement_initialize command is entered with no options or with the global_symbols option the global symbols in the symbols database become the address ranges for which activity is measured If the symbols datab...

Страница 264: ...ave not exited and re entered emulation you can add traces to a performance measurement simply by entering another performance_measurement_run command However if you exit and re enter the emulation system you must enter the performance_measurement _initialize restore command before you can add traces to a performance measurement When you restore a performance measurement make sure your current tra...

Страница 265: ...se for the addresses of each label An easy way to create the addr_ranges file is to use the copy global_symbols command to copy the global symbols to a file named addr_ranges then fork a shell to UNIX by entering RETURN on the Softkey Interface command line and edit the file so that it contains the procedure names shown above Enter a CTRL d at the UNIX prompt to return to the Softkey Interface To ...

Страница 266: ... in activity measurement reports is described below Memory Activity All activity found within the address range Program Activity All activity caused by instruction execution in the address range Program activity includes opcode fetches and the cycles that result from the execution of those instructions reads and writes to memory stack pushes etc Relative With respect to activity in all ranges defi...

Страница 267: ...ent a range of addresses or a single address point and it will show the other symbols under either Symbols within range or Additional symbols for address as applicable In the interrupt_sim example it may show either interrupt_sim or _interrupt_sim to represent the range depending on which symbol it finds first The other symbol will be shown below Symbols within range in the report These conditions...

Страница 268: ...accuracy for small samples As the size of the sample increases the Student s T distribution approaches the normal distribution The following equation is used to calculate error tolerance Where Om Mean of the standard deviations t Table entry in Student s T table for a given confidence level N Number of traces in the measurement Pm Mean of the means i e mean sample Examples Consider the following a...

Страница 269: ...t Rel 30 28 Abs 25 00 Mean 128 00 Sdv 227 46 Time Percent Rel 30 44 Abs 25 45 Program Activity State Percent Rel 28 99 Abs 25 02 Mean 128 10 Sdv 227 40 Time Percent Rel 29 29 Abs 25 46 read_conditions Address Range 16EEH thru 177CH Memory Activity State Percent Rel 12 11 Abs 10 00 Mean 51 20 Sdv 157 59 Time Percent Rel 12 18 Abs 10 18 Program Activity State Percent Rel 11 59 Abs 10 00 Mean 51 20 S...

Страница 270: ... Mean 26 00 Sdv 114 41 Time Percent Rel 5 96 Abs 4 98 Program Activity State Percent Rel 5 97 Abs 5 16 Mean 26 40 Sdv 114 35 Time Percent Rel 5 81 Abs 5 05 write_hdwr Address Range 181CH thru 1894H Memory Activity State Percent Rel 6 06 Abs 5 00 Mean 25 60 Sdv 114 49 Time Percent Rel 6 10 Abs 5 10 Program Activity State Percent Rel 5 79 Abs 5 00 Mean 25 60 Sdv 114 49 Time Percent Rel 5 86 Abs 5 10...

Страница 271: ... 06 Abs 0 89 Program Activity State Percent Rel 1 90 Abs 1 64 Mean 8 40 Sdv 37 57 Time Percent Rel 1 80 Abs 1 56 do_sort Address Range 144CH thru 14EAH Memory Activity State Percent Rel 0 47 Abs 0 39 Mean 2 00 Sdv 5 30 Time Percent Rel 0 49 Abs 0 41 Program Activity State Percent Rel 0 70 Abs 0 61 Mean 3 10 Sdv 7 68 Time Percent Rel 0 69 Abs 0 60 gen_ascii_data Address Range 1112H thru 1246H Memor...

Страница 272: ...0 Abs 0 00 Mean 0 00 Sdv 0 00 Time Percent Rel 0 00 Abs 0 00 graph_data Address Range 1988H thru 1A40H Memory Activity State Percent Rel 0 00 Abs 0 00 Mean 0 00 Sdv 0 00 Time Percent Rel 0 00 Abs 0 00 Program Activity State Percent Rel 0 00 Abs 0 00 Mean 0 00 Sdv 0 00 Time Percent Rel 0 00 Abs 0 00 proc_spec_init Address Range 1A48H thru 1A64H Memory Activity State Percent Rel 0 00 Abs 0 00 Mean 0...

Страница 273: ... Abs 0 00 Graph of Memory Activity relative state percents 1 set_outputs 30 28 update_system 30 28 read_conditions 12 11 strcpy8 9 75 interrupt_sim 6 15 write_hdwr 6 06 proc_specific 3 84 combsort 1 06 Graph of Memory Activity relative time percents 1 set_outputs 30 45 update_system 30 44 read_conditions 12 18 strcpy8 9 45 interrupt_sim 5 96 write_hdwr 6 10 proc_specific 3 86 combsort 1 06 Graph o...

Страница 274: ...ort 1 80 Summary Information for 20 traces Memory Activity State count Relative count 8455 Mean sample 30 20 Mean Standard Dv 75 44 95 Confidence 116 98 Error tolerance Time count Relative Time Us 3500 92 Program Activity State count Relative count 8838 Mean sample 31 56 Mean Standard Dv 79 24 95 Confidence 117 55 Error tolerance Time count Relative Time Us 3641 08 Absolute Totals Absolute count s...

Страница 275: ...has the most activity Also you can see that no activity is recorded for several of the functions The histogram portion of the report compares the activity in the functions that account for at least 1 of the activity for all labels defined in the measurement Making Software Performance Measurements To interpret activity measurement reports 274 ...

Страница 276: ...used When using the SPMT to perform duration measurements there should be only two addresses stored in the trace memory the entry address and the exit address Recursion can place several entry addresses before the first exit address and or several exit addresses before the first entry address Duration measurements are made between the last entry address in a series of entry addresses and the last ...

Страница 277: ...ecursive or one that has multiple entry and or exit points you may wind up with invalid information This section describes how to Set up the trace command for duration measurements Initialize duration performance measurements Interpret duration measurement reports To set up the trace command for duration measurements 1 Specify a trace display depth of 512 2 Trace after and store only function star...

Страница 278: ... after interrupt_sim start or interrupt_sim end only interrupt_sim start or interrupt_sim end counting time The trace specification sets up the analyzer to capture only the states that contain the start address of the interrupt_sim function or the end address of the interrupt_sim function Since the trigger state is also stored the analyzer is set up to trigger on the entry or exit address of the i...

Страница 279: ... specifically give the SPMT time ranges to use by placing the information in a file and entering the file name in the performance_measurement_initialize command Time range files may contain comments and time ranges in units of microseconds us milliseconds ms or seconds s An example time range file is shown below Any line which starts with a is a comment 1 us 20 us 10 1 ms 100 6 ms 3 55 s 6 77 s us...

Страница 280: ...rformance_measurement _initialize restore command before you can add traces to a performance measurement When you restore a performance measurement make sure your current trace command is identical to the command used with the restored measurement The restore option checks the emulator software version and will only work if the perf out files you are restoring were made with the same software vers...

Страница 281: ...surement reports is described below Number of Intervals Number of from address and to address pairs after prefetch correction Maximum Time The greatest amount of time between the from address to the to address Minimum Time The shortest amount of time between the from address to the to address Average Time Average time between the from address and the to address The following equation is used to ca...

Страница 282: ...xample if the error is 5 for a confidence level of 95 then you can be 95 confident that the information has an error of 5 or less The Student s T distribution is used in these calculations because it improves the accuracy for small samples As the size of the sample increases the Student s T distribution approaches the normal distribution The following equation is used to calculate error tolerance ...

Страница 283: ...sers guest demo debug_env hp64782 main c Symbolic Reference at interrupt_sim 8A To Address 101E File main module users guest demo debug_env hp64782 main c Symbolic Reference at main interrupt_sim Number of intervals 2550 Maximum Time 73297 920 us Minimum Time 48230 400 us Avg Time 55672 752 us Statistical summary for 10 traces Stdv 11442 64 95 Confidence 0 80 Error tolerance Graph of relative perc...

Страница 284: ...rupt_sim 8A Number of intervals 2550 Maximum Time 342343 680 us Minimum Time 52 320 us Avg Time 36987 751 us Statistical summary for 10 traces Stdv 76924 84 95 Confidence 8 07 Error tolerance Graph of relative percents 1 us 10 us 0 00 10 1 us 100 us 14 82 100 1 us 500 us 5 06 500 1 us 1 ms 0 00 1 001 ms 5 ms 24 82 5 001 ms 10 ms 20 27 10 1 ms 20 ms 10 08 20 1 ms 40 ms 0 00 40 1 ms 80 ms 9 88 80 1 ...

Страница 285: ...s that the average amount of time spent outside the interrupt_sim function is about 55 7 milliseconds The second set of information in the duration measurement report is the module duration measurement The module duration report shows that the amount of time it takes for the interrupt_sim function to execute varies from 52 3 microseconds to 342 3 milliseconds The average amount of time it takes fo...

Страница 286: ...ator utility is used to read the binary information in the perf out file If the performance_measurement_run command is entered without a count the current trace data is processed If a count is specified the current trace command is executed consecutively the number of times specified The data that results from each trace command is processed and combined with the existing processed data The STATUS...

Страница 287: ...o save a performance measurement you must rename the perf out file before performing another measurement The performance_measurement_end command does not affect the current performance measurement data which exists within the emulation system In other words you can add more traces later to the existing performance measurement by entering another performance_measurement_run command Once you have en...

Страница 288: ...hen the perf32 command is used without any options The options available with perf32 allow you to limit the information in the generated report These options are described below h Produce outputs limited to histograms s Produce a summary limited to the statistical data p Produce a summary limited to the program activity m Produce a summary limited to the memory activity f file Produce a report bas...

Страница 289: ... on the contents of reports generated for duration time interval measurements Examples Now to generate a report from the perf out file type the following on the command line to fork a shell and run the perf32 utility perf32 more Making Software Performance Measurements To create a performance measurement report 288 ...

Страница 290: ...9 Using the External State Analyzer 289 ...

Страница 291: ...al analyzer However you can use pod commands to control the independent state analyzer via the terminal interface Refer to the 6833x Emulator User s Guide for the Terminal Interface for information on using the external analyzer when it is configured as an independent state analyzer When the external analyzer is configured as an independent timing analyzer you must use a special Timing Analyzer In...

Страница 292: ... external analyzer mode To connect the external analyzer probe to the target system 1 Assemble the Analyzer Probe The analyzer probe is a two piece assembly consisting of ribbon cable and 18 probe wires 16 data channels and the J and K clock inputs attached to a connector Either end of the ribbon cable may be connected to the 18 wire connector and the connectors are keyed so they may only be attac...

Страница 293: ... is labeled for easy identification Thirty six grabbers are provided for the signal and ground connections of each of the 18 probe wires The signal and ground connections are attached to the pin in the grabber handle Using the External State Analyzer To connect the external analyzer probe to the target system 292 ...

Страница 294: ...er with the probe wire while trying to connect it 3 You can connect the grabbers to pins connectors wires etc in the target system Pull the hilt of the grabber towards the back of the grabber handle to uncover the wire hook When the wire hook is around the desired pin or connector release the hilt to allow the grabber spring tension to hold the connection Using the External State Analyzer To conne...

Страница 295: ...l analyzer channels and you can operate the external analyzer in several different modes The default configuration specifies that the external analyzer is aligned with the emulation analyzer TTL level threshold voltages are defined as well as an external label named xbits which contains all 16 channels In order to configure the external analyzer you must first start the configuration interface and...

Страница 296: ... a dialog box from which to choose configuration sections however you have access to the same configuration options through a series of configuration questions To access the questions in the Figure 25 Using the External State Analyzer To connect the external analyzer probe to the target system 295 ...

Страница 297: ...ion questions At the end of the configuration process the external analyzer mode and threshold voltages will be set existing labels will be deleted and only the labels specified in response to the questions below will be defined Answer no if the emulation emulator analyzer interface shouldn t control the external analyzer If emulation does not control the external bits the external analyzer config...

Страница 298: ... a host computer interface program is used Choose emulation to select the emulation mode In this mode the external analyzer becomes an extension of the emulation analyzer In other words they operate as one analyzer The external bits are clocked with the emulation clock External labels may be used in trace commands to qualify trigger storage prestore or count states External labels may be viewed in...

Страница 299: ...ve clock is off all 16 external bits are clocked with the emulation clock Choose mixed to specify the mixed clock demultiplexing mode In this mode the lower eight external bits 0 7 are latched when the slave clock as specified by your answers to the next four questions is received The upper eight bits and the latched lower eight are then clocked into the analyzer when the emulation clock is receiv...

Страница 300: ...his mode only the lower eight external channels 0 7 are used The slave clock as specified by your answers to the next four questions latches these bits and the emulation clock samples the same channels again The latched bits show up as bits 0 7 in the trace data and the second sample shows up as bits 8 15 see the figure below Figure 27 Using the External State Analyzer To specify the slave clock m...

Страница 301: ...he lower 8 bits of the pod will be the same as the upper 8 bits If more than one slave clock has appeared since the last master clock only the first slave data will be available to the analyzer Figure 28 Using the External State Analyzer To specify the slave clock mode 300 ...

Страница 302: ...onfiguration These external analyzer labels can be used in trace commands and the data associated with these labels can be displayed in the trace list One external analyzer label xbits is defined by the default configuration and is included in the default trace list External labels can be defined with bits in the range of 0 through 15 The start bit may be in the range 0 through 15 but the width of...

Страница 303: ...302 ...

Страница 304: ...10 Making Coordinated Measurements 303 ...

Страница 305: ...ctor labeled TRIGGER IN OUT on the lower left corner of the HP 64700 rear panel to trigger an external instrument for example a logic analyzer or oscilloscope when the analyzer finds its trigger condition Also you can allow an external instrument to arm the analyzer or break emulator execution into the monitor The coordinated measurement tasks you can perform are grouped into the following section...

Страница 306: ...his signal can be driven or received by any HP 64700 connected to the CMB This signal can be used to trigger an analyzer It can be used as a break source for the emulator READY The CMB READY line is high true It is an open collector and performs an ANDing of the ready state of enabled emulators on the CMB Each emulator on the CMB releases this line when it is ready to run This line goes true when ...

Страница 307: ...level signal The BNC trigger line can be used to either drive or receive an analyzer trigger or receive a break request for the emulator Comparison Between CMB and BNC Triggers The CMB trigger and BNC trigger lines have the same logical purpose to provide a means for connecting the internal trigger signals trig1 and trig2 to external instruments The CMB and BNC trigger lines are bi directional Eit...

Страница 308: ...232C signals to the CMB connector is likely to result in damage to the HP 64700 Card Cage To use the CMB you will need one CMB cable for the first two emulators and one additional cable for every emulator after the first two The CMB cable is orderable from HP under product number HP 64023A The cable is four meters long You can build your own compatible CMB cables using standard 9 pin D type submin...

Страница 309: ...1 Connect the cables to the HP 64700 CMB ports Making Coordinated Measurements To connect the Coordinated Measurement Bus CMB 308 ...

Страница 310: ...Emulators using the CMB must use background emulation monitors At least 3 4 of the HP 64700 Series emulators connected to the CMB must be powered up before proper operation of the entire CMB configuration can be assured To connect to the rear panel BNC C AU TI O N The BNC line on the HP 64700 accepts input and output of TTL levels only TTL levels should not be less than 0 volts or greater than 5 v...

Страница 311: ...l It requires a driver that can supply at least 4 mA at 2 volts when used as a receiver The BNC connector is configured as an open emitter structure which allows for multiple drivers to be connected It can be used for cross triggering between multiple HP 64700Bs when no other cross measurements are needed The output of the BNC connector is short circuit protected and is protected from TTL level si...

Страница 312: ...specify run command Note that when the CMB is being actively controlled by another emulator the step command does not work correctly The emulator may end up running in user code NOT stepping Disable CMB interaction see To disable synchronous measurements below while stepping the processor Note that enabling CMB interaction does not affect the operation of analyzer cross triggering You can use the ...

Страница 313: ...ther of these commands When you enable CMB interaction you only specify how the emulator will react to the CMB EXECUTE signal All emulators whose CMB interaction is enabled will break into the monitor when any one of those emulators breaks into its monitor To disable synchronous measurements Enter the specify run disable command You can disable the emulator s interaction with the CMB by using the ...

Страница 314: ... timing analyzer CMB connector or BNC connector Measurements that depend on these connections are called interactive measurements or coordinated measurements This figure below illustrates the possible connections between the internal lines trig1 and trig2 and the emulator analyzer and external devices Note that the External Analyzer connection for Trig2 is only available if you have selected state...

Страница 315: ...the trig1 and trig2 lines to make several type of connections at the same time For example when the analyzer finds its trigger condition a signal is driven on the trig1 line This signal may be used to stop user program execution but the trigger signal may also be driven on the CMB and BNC connectors Also it s possible for signals to be driven and received on the CMB or BNC connectors So for exampl...

Страница 316: ...the Modify interactive measurement specification question This section shows you how to Drive the emulation analyzer trigger signal to the CMB Drive the emulation analyzer trigger signal to the BNC connector Drive the external analyzer trigger signal to the CMB Drive the external analyzer trigger signal to the BNC connector Break emulator execution on signal from CMB Break emulator execution on si...

Страница 317: ...t the CMBT should receive trig2 and that the emulation analyzer should drive trig2 To drive the emulation analyzer trigger signal to the BNC connector Choose receive for the Should BNC drive or receive Trig1 configuration option You could also drive the emulation analyzer trigger to the BNC over the trig2 internal line by specifying that the BNC should receive trig2 and that the emulation analyzer...

Страница 318: ... Trig1 configuration option You could also break emulator execution on a trigger signal from the BNC over the trig2 internal line by specifying that the BNC should drive trig2 and that the emulator break should receive trig2 To break emulator execution on external analyzer trigger 1 Choose yes for the Should Emulator break receive Trig2 configuration option 2 Choose drive for the Should External A...

Страница 319: ...and To arm the emulation analyzer on signal from BNC 1 Choose drive for the Should BNC drive or receive Trig2 configuration option 2 Choose receive for the Should Analyzer drive or receive Trig2 configuration option 3 Use the arm_trig2 option to the trace command To arm the emulation analyzer on external analyzer trigger 1 Choose receive for the Should Analyzer drive or receive Trig2 configuration...

Страница 320: ...rive for the Should BNC drive or receive Trig2 configuration option 2 Choose receive for the Should External Analyzer drive or receive Trig2 configuration option To arm the external analyzer on emulation analyzer trigger 1 Choose drive for the Should Analyzer drive or receive Trig2 configuration option 2 Choose receive for the Should External Analyzer drive or receive Trig2 configuration option Ma...

Страница 321: ...320 ...

Страница 322: ...11 Setting X Resources 321 ...

Страница 323: ...ations from a set of configuration files Resources specifications in later files override those in earlier files Files are read in the following order 1 The application defaults file For example usr lib X11 app defaults HP64_Softkey in HP UX or usr openwin lib X11 app defaults HP64_Softkey in SunOS 2 The XAPPLRESDIR HP64_Softkey file The XAPPLRESDIR environment variable defines a directory contain...

Страница 324: ...urce specifications for different displays computing environments and languages This chapter shows you how to Modify the Graphical User Interface resources Use customized scheme files Set up custom action keys Set initial recall buffer values Set up demos or tutorials Refer to the X Resources and the Graphical Interface section in the Concepts chapter for more detailed information Setting X Resour...

Страница 325: ...User Interface if it is different than the platform where the application is running HP64_Softkey colorScheme BW Color custom Names the color scheme file HP64_Softkey sizeScheme Small Large custom Names the size scheme file which defines the fonts and the spacing used HP64_Softkey labelScheme Label LANG custom Names to use for labels and button text The default uses the LANG environment variable i...

Страница 326: ...oc actionKeysSub keyDefs paired list of strings Specifies the text that should appear on the action key push buttons and the commands that should be executed in the command line area when the action key is pushed Refer to the To set up custom action keys section for more information proc dirSelectSub entries list of strings Specifies the initial values that are placed in the File Context Directory...

Страница 327: ...NIX diff command to check for differences between the new HP64_Softkey application defaults file and the old application defaults file that is saved as usr hp64000 lib X11 HP64_schemes old HP64_Softkey 2 Modify the temporary file Modify the resource that defines the behavior or appearance that you wish to change For example to change the number of lines in the main display area to 36 vi HP64_Softk...

Страница 328: ...re you can check by entering the xrdb query command use the xrdb command to add the resources to the RESOURCE_MANAGER property For example xrdb merge nocpp HP64_Softkey tmp Otherwise if the RESOURCE_MANAGER property does not exist append the temporary file to your HOME Xdefaults file For example cat HP64_Softkey tmp HOME Xdefaults 4 Remove the temporary file 5 Start or restart the Graphical User I...

Страница 329: ...For example cp usr hp64000 lib X11 HP64_schemes HP UX Softkey Color HOME HP64_schemes HP UX Softkey MyColor Note that if your custom scheme file has the same name as the default scheme file the load order requires resources in the custom file to explicitly override resources in the default file 3 Modify the HOME HP64_schemes platform Softkey scheme file For example you could modify the HOME HP64_s...

Страница 330: ... scheme files you must modify these resource settings so that your customized scheme files are used instead of the default scheme files For example to use the HOME HP64_schemes HP UX Softkey MyColor color scheme file you would set the HP64_Softkey colorScheme resource to MyColor HP64_Softkey colorScheme MyColor Refer to the previous To customize Graphical User Interface resources section for more ...

Страница 331: ...can be executed by using an exclamation point prefix A second exclamation point ends the command string and allows additional options on the command line Also command files can be executed by placing the name of the file in the command definition Finally an empty action means to repeat the previous operation whether it came from a pulldown a dialog a popup or another action key Examples To set up ...

Страница 332: ...0 The default number of visible lines in the popup is 12 The entries resource is defined as a list of strings see the following example Up to 40 unique values are saved in each of the recall buffers as specified by the resource settings XcRecall maxDepth 40 and XcRecall onlyUnique True File Context Symbols symSelect textColumns symSelect listVisibleItemCount symSelectSub entries Trace Trace Spec m...

Страница 333: ...Graphical User Interface by modifying the resources described in the following tables Demo Related Component Resources Resource Value Description enableDemo False True Specifies whether Help Demo appears in the pulldown menu demoPopupSub indexFile Xdemo Index topics Specifies the file containing the list of topic and file pairs demoPopup textColumns 30 Specifies the width in characters of the of t...

Страница 334: ...selection buffer The mechanism for providing demos and tutorials in the graphical interface is identical The following steps show you how to set up demos or tutorials in the Graphical User Interface 1 Create the demo or tutorial topic files and the associated command files Topic files are simply ASCII text files You can use I to produce inverse video in the text U to produce underlining in the tex...

Страница 335: ...ul 64742A 3 Set the enableDemo or enableTutorial resource to True 4 Define the demo index file by setting the demoPopupSub indexFile or tutorialPopupSub indexFile resource For example demoPopupSub indexFile users guest gui_demos index You can use absolute paths for example users guest Index paths relative to the directory in which the interface was started for example mydir indexfile or paths rela...

Страница 336: ...Part 3 Reference 335 ...

Страница 337: ...Descriptions of the product in a dictionary or encyclopedia format Part 3 336 ...

Страница 338: ...12 Emulator Analyzer Interface Commands 337 ...

Страница 339: ...figuration load abs_file load abs_file nosymbols load symbols load trace FILE load trace FILE File Store Trace Data File Store Trace Spec File Store BBA Data store trace store trace_spec bbaunload File Copy Display File Copy Memory File Copy Data Values File Copy Configuration Info File Copy Trace File Copy Registers File Copy Breakpoints File Copy Status File Copy Global Symbols File Copy Local S...

Страница 340: ...ocked end release_system Display Context pwd pws Display Memory Display Memory Mnemonic Display Memory Mnemonic at PC Display Memory Mnemonic Previous Display Memory Hex bytes Display Memory Hex words Display Memory Hex long Display Memory Real short Display Memory Real long Display Memory At Display Memory Repetitively display memory display memory EXPR mnemonic display memory mnemonic at_pc disp...

Страница 341: ...splay configuration_info init_source_code Display SIM Register Differences Display Trace Display Registers Display Breakpoints Display Status Display Simulated IO Display Global Symbols Display Local Symbols Display Pod Commands Display Error Log Display Event Log sync_sim_registers difference display trace display registers display software_breakpoints display status display simulated_io display ...

Страница 342: ...nsfer_address run from reset run until EXPR step source step source from EXPR step source from transfer_address step step from EXPR step from transfer_address break reset Breakpoints Display Breakpoints Enable Breakpoints Permanent Breakpoints Temporary Breakpoints Set All Breakpoints Clear Breakpoints Clear All display software_breakpoints modify software_breakpoints enable disable modify softwar...

Страница 343: ...repetitively trace trace before STATE break_on_trigger trace on_halt stop_trace Settings Source Symbol Modes Absolute Settings Source Symbol Modes Symbols Settings Source Symbol Modes Source Mixed Settings Source Symbol Modes Source Only Settings Display Modes Settings Pod Command Keyboard Settings Simulated IO Keyboard Settings Command Line set source off symbols off set source off symbols on set...

Страница 344: ..._on_trigger Breakpoints Display Popup Command Line Set Inactivate Breakpoint Clear delete Breakpoint Enable Disable Software Breakpoints Set All Breakpoints Clear delete All Breakpoints modify software_breakpoints set deactivate EXPR modify software_breakpoints clear EXPR modify software_breakpoints enable disable modify software_breakpoints set modify software_breakpoints clear Symbols Display Po...

Страница 345: ...e display error_log display event_log Command Line Popup Command Line Position Cursor Replace Mode Position Cursor Insert Mode Execute Command Clear to End of Line Clear Entire Line Command Line Off INSERT CHAR key when in insert mode INSERT CHAR key RETURN key CTRL e CTRL u toggles command line Emulator Analyzer Interface Commands 344 ...

Страница 346: ...ferences to other diagrams are shown in all capital letters Also references to expressions are shown in all capital letters for example EXPR and SYMB see those syntax diagrams These appear in the following syntax diagrams as Circles Circles indicate operators and delimiters used in expressions and on the command line as you enter commands These appear in the syntax diagrams as The NORMAL Key The s...

Страница 347: ...mulated_io2 display software_breakpoints display status display trace end forward3 help3 load absolute_file load configuration load emul_mem load fg_mon load trace load trace_spec load user_memory log_commands3 modify configuration modify keyboard_to_simio2 modify memory4 modify register1 modify software_breakpoints1 modify tags name_of_module3 performance_measurement_end performance_measurement_i...

Страница 348: ...hat provide information about program execution during testing It uses a special C preprocessor to add statements that write to a data array when program branches are taken After running the program in the emulator using test input you can use the bbaunload command to store the BBA information to a file Then you can generate reports based on the stored information See Also Refer to the HP Branch V...

Страница 349: ...ng Break diverts the processor from execution of your program to the emulation monitor reset Break releases the processor from reset and diverts execution to the monitor running in monitor The break command does not perform any operation while the emulator is executing in the monitor See Also The reset run and step commands Emulator Analyzer Interface Commands break 348 ...

Страница 350: ...ordinated Measurement Bus CMB connector All emulators connected to the CMB including the one sending the CMB EXECUTE pulse and configured to respond to this signal will take part in the measurement See Also The specify run and specify trace commands Emulator Analyzer Interface Commands cmb_execute 349 ...

Страница 351: ...rious parameters to save or print emulation and analysis information The copy command copies selected information to your system printer or listing file or directs it to an UNIX process Emulator Analyzer Interface Commands copy 350 ...

Страница 352: ...estination HELP_FILE This represents the name of the help file to be copied Available help file names are displayed on the softkey labels UNIX CMD This represents an UNIX filter or pipe where you want to route the output of the copy command UNIX commands must be preceded by an exclamation point An exclamation point following the UNIX command continues command line execution after the UNIX command ...

Страница 353: ...s emulation and analysis status information to This allows you to specify a destination for the copied information trace Copies the current trace listing to the selected destination wait_for_exit Waits for the UNIX command to complete before returning An exclamation point specifies the delimiter for UNIX commands An exclamation point must precede all UNIX commands A trailing exclamation point shou...

Страница 354: ...ls refer to the SYMB syntax pages and the Symbolic Retrieval Utilities User s Guide SYMB is the current working symbol The parameters are as follows SYMB This option represents the symbol whose children are to be listed See the SYMB syntax diagram and the Symbolic Retrieval Utilities User s Guide for information on symbol hierarchy Examples copy local_symbols_in mod_name to printer copy local_symb...

Страница 355: ...ry contents are listed as an asterisk under the following conditions The address refers to guarded memory Runs are restricted to real time the emulator is running a user program and the address is located in user memory Values in emulation memory can always be displayed Initial values are the same as those specified by the command display memory 0 blocked bytes offset_by 0 Defaults are to values s...

Страница 356: ...memory in the command line appends the current copy memory command to the preceding display memory command The data specified in both commands is copied to the destination specified in the current command Data is formatted as specified in the current command The comma is also used as a delimiter between values when specifying multiple memory addresses Examples copy memory start to printer copy mem...

Страница 357: ...registers while the processor is running With no options specified the basic register class is copied This includes the local and global registers The parameters are as follows CLASS Specifies a particular class of the emulator registers REGISTER Examples copy registers global to printer copy registers to reglist See Also The display registers and modify registers commands Emulator Analyzer Interf...

Страница 358: ..._line_number This specifies the trace list line number from which copying will begin LINE Use this with from_line_number and thru_line_number to specify the starting and ending trace list lines to be copied thru_line_number Specifies the last line number of the trace list to include in the copied range Examples copy trace to tlist copy trace from_line_number 0 thru_line_number 5 to longtrac See Al...

Страница 359: ...you select defaults may be the options selected for the previous execution of the display command The parameters are as follows data This allows you to display a list of memory contents formatted in various data types see the display data pages for details error_log This option displays the recorded list of error messages that occurred during the emulation session event_log This option displays th...

Страница 360: ... of emulation processor registers simulated_io This lets you display data written to the simulated I O display buffer after you have enabled polling for simulated I O in the emulation configuration software _breakpoints This option lets you display the current list of software breakpoints status This displays the emulator and trace status trace This displays the current trace list Examples display...

Страница 361: ...lays information about emulator configuration and processor SIM programming You can also display diagnostic information about inconsistencies found in the emulator configuration Emulator Analyzer Interface Commands display configuration_info 360 ...

Страница 362: ...s How the chip select is assigned The base address The block size Other information from the option register bus_interface_ports embus_interface _ports Display bus interface information from the sim processor register set or the emsim emulator register set The resulting display shows the pin assignments for the C E and F ports memory_map When in the memory map section of the emulator configuration...

Страница 363: ...nfiguration_info memory_map See Also The sync_sim_registers and modify configuration commands Also see the Verifying the Emulator Configuration section in the Configuring the Emulator chapter Emulator Analyzer Interface Commands display configuration_info 362 ...

Страница 364: ...h symbol may be displayed You must issue the command set symbols on to see the symbol names displayed In the first display data command after you begin an emulation session you must supply at least one expression specifying the data item s to display Thereafter the display data command defaults to the expressions specified in the last display data command unless new expressions are supplied or app...

Страница 365: ...guage definition typically row major order for most Algol like languages TYPE Specifies the format in which to display the information Data type information is not available from the symbol database so you must specify byte Hex display of one 8 bit location word Hex display of one 16 bit location long Hex display of one 32 bit location Note that byte ordering in word and long displays is determine...

Страница 366: ... data Msg_A thru 17 char Stack long set symbols on set width label 30 display data Msg_B thru 17 char Msg_Dest thru 17 char See Also The copy data and set commands Emulator Analyzer Interface Commands display data 365 ...

Страница 367: ...mbols declared as global in the source file They include procedure names variables constants and file names When the display global_symbols command is used the listing will include the symbol name and its logical address See Also The copy global_symbols command Emulator Analyzer Interface Commands display global_symbols 366 ...

Страница 368: ... s Guide for further explanation of symbols Displaying the local symbols sets the current working symbol to the one specified The parameters are as follows SYMB This option represents the symbol whose children are to be listed See the SYMB syntax diagram and the Symbolic Retrieval Utilities User s Guide for more information on symbol hierarchy and representation Examples display local_symbols_in m...

Страница 369: ...f the specified memory location or series of locations The memory contents can be displayed in mnemonic hexadecimal or real number format In addition the memory addresses can be listed offset by a Emulator Analyzer Interface Commands display memory 368 ...

Страница 370: ...command Initial values are the same as specified by the command display memory 0 blocked bytes offset_by 0 Defaults are values specified in a previous display memory command The symbols and source defaults are set source off symbols off The parameters are as follows absolute Formats the memory listing in a single column at_pc Displays the memory at the address pointed to by the current program cou...

Страница 371: ...vious mnemonic memory display command real Formats memory values in the listing as real numbers NaN in the display list means Not a Number repetitively Updates the memory listing display continuously You should only use this to monitor memory while running user code since it is very CPU intensive To allow updates to the current memory display whenever memory is modified a file is loaded software b...

Страница 372: ...mats display memory 2000h thru 202fh 2100h real long display memory 400h mnemonic set symbols on set source on display memory main mnemonic See Also The copy memory modify memory set and store memory commands Emulator Analyzer Interface Commands display memory 371 ...

Страница 373: ...cessor is running Symbols also may be displayed in the register step mnemonic string see set symbols With no options specified the basic register class is displayed as the default This includes the local and global registers The parameters are as follows CLASS This allows you to display a particular class of emulation processor registers REGISTER This displays an individual register or control reg...

Страница 374: ...on process six simulated I O addresses can be defined You then define files used for standard input standard output and standard error For details about setting up simulated I O refer to the Simulated I O User s Guide Examples display simulated_io See Also The modify configuration and modify keyboard_to_simio commands Emulator Analyzer Interface Commands display simulated_io 373 ...

Страница 375: ...y be displayed for addresses that correspond to a symbol See the set command for details The parameters are as follows EXPR An expression is a combination of numeric values symbols operators and parentheses specifying an offset value for the breakpoint address See the EXPR syntax diagram offset_by This option allows you to offset the listed software breakpoint address value from the actual address...

Страница 376: ...buffer Captured information can be presented as absolute hexadecimal values or in mnemonic form The processor status values captured by the analyzer can be listed mnemonically or in hexadecimal or binary form Emulator Analyzer Interface Commands display trace 375 ...

Страница 377: ...c opcodes count absolute This lists the time count for each event of the trace as the total time measured from the trigger event relative This lists the time count for each event of the trace as the time measured relative to the previous event depth DEPTH This defines the number of states to be uploaded by the interface Note that after you have changed the trace depth execute the command wait meas...

Страница 378: ...ddress value from the address of the instruction By subtracting the offset value from the physical address of the instruction the system makes the listed address match that given in the assembler or compiler listing This option is also useful for displaying symbols and source lines in dynamically relocated programs Note that when using the set source only command the analyzer may operate more slow...

Страница 379: ...ormation in hexadecimal form mnemonic Lists absolute status information in mnemonic form Examples display trace count absolute display trace absolute status binary display trace mnemonic See Also The copy trace store trace and set commands Emulator Analyzer Interface Commands display trace 378 ...

Страница 380: ...ns to the UNIX shell without releasing the emulator The parameters are as follows locked This option allows you to stop all active instances of an emulator analyzer interface session in one or more windows and or terminals This option is not available when operating the emulator in the measurement system release_system This option stops all instances of the emulator analyzer interface in one or mo...

Страница 381: ...ou to enter a range without retyping the original base address or symbol For example you could specify the address range disp_buf thru disp_buf 25 as disp_buf thru 25 The parameters are as follows DON T CARE NUMBER You can include don t care numbers in expressions These are indicated by a number containing an x These numbers may be defined as binary octal decimal or hexadecimal For example 1fxxh 1...

Страница 382: ...lays the last location where the symbol information may be located For example if a particular symbol is associated with a range of addresses end will represent the last address in that range start This displays first memory location where the symbol you specify may be located For example if a particular symbol is associated with a range of addresses start will represent the first address in that ...

Страница 383: ...om tedious repeated entry of long symbols and expressions For example disp_buf thru 25 is the same as disp_buf thru disp_buf 25 Examples 05fxh 0ffffh disp_buf 5 symb_tbl offset 2 start mod_name line 15 end See Also The SYMB syntax description Emulator Analyzer Interface Commands EXPR 382 ...

Страница 384: ...nction code bits p Program space s Supervisor space sd Supervisor data space sp Supervisor program space u User space ud User data space up User program space Examples To copy a portion of user data memory to a file copy memory fcode ud 1000H thru 1fffH to mymem To modify a location in program memory modify memory fcode p 5000h long to 12345678h Emulator Analyzer Interface Commands FCODE 383 ...

Страница 385: ... high level debugger interface emul Forwards command to the emulator analyzer interface perf Forwards commands to the software performance analyzer interface UINAME Forwards commands to a user interface name other than those available on the softkeys Examples To send the Program Run command to the debugger forward debug Program Run To send the profile command to the software performance analyzer f...

Страница 386: ...e help information The parameters are as follows HELP_FILE This represents one of the available options on the softkey labels You can either press a softkey representing the help file or type in the help file name If you are typing in the help file name make sure you use the complete syntax Not all of the softkey labels reflect the complete file name Examples help system_commands run This is a sum...

Страница 387: ...isters expressions EXPR symbols SYMB specify cmb cmb_execute map set wait pod_command bbaunload coverage performance_measurement_initialize performance_measurement_run performance_measurement_end Emulator Analyzer Interface Commands help 386 ...

Страница 388: ...e data load a previously created configuration file and load absolute files with symbols Note that any file specified by FILE cannot be named configuration emul_mem user_mem symbols trace or trace_spec because these are reserved words and are not recognized by the emulator analyzer interface as ordinary file names The absolute file is loaded into emulation memory by default The parameters are as f...

Страница 389: ...solute file If you load an absolute file end emulation then modify the file and relink it the symbol database will not be updated upon reentering emulation and reloading the file The default is to rebuild the database symbols This option causes the file specified to be loaded with symbols trace This option allows you to load a previously generated trace file trace_spec This option allows you to lo...

Страница 390: ...This represents the file where you want to store commands that are executed during an emulation session noappend If the named file is an existing file this option causes the new commands to overwrite any information present in the file If this option is not specified new commands are appended to the existing contents of the file off This option turns off the capability to log commands to This allo...

Страница 391: ...mory as integers strings or real numbers Modify the contents of the processor registers View or edit the current emulation configuration Modify the simulated I O keyboard settings Modify the SIM registers The following pages contain detailed information about the various modify syntax diagrams Emulator Analyzer Interface Commands modify 390 ...

Страница 392: ...default response or the previously entered response You can select the currently displayed response by pressing RETURN Otherwise you can modify the response as you desire then press RETURN The default responses defined on powerup are displayed Examples modify configuration See Also The load configuration command Emulator Analyzer Interface Commands modify configuration 391 ...

Страница 393: ...ation is disabled The emulation softkeys are blank and the suspend softkey is displayed on your screen Pressing suspend RETURN will deactivate keyboard simulated I O and return the keyboard to normal emulation mode For details about setting up simulated I O refer to the Simulated I O User s Guide See Also The display simulated_io command Emulator Analyzer Interface Commands modify keyboard_to_simi...

Страница 394: ...st location in the series to be modified and the values to which the contents of that location and successive locations are to be changed The first value listed will replace the contents of the first memory location The second value replaces the contents of the next memory location in the series and so on until the list is exhausted When more than one value is listed the value representations must...

Страница 395: ... default is to the current display memory mode if one is in effect Otherwise the default is to byte For real memory modifications the default is to the current display memory mode if one is in effect Otherwise the default is word The parameters are as follows bytes Modify memory in byte values EXPR An expression is a combination of numeric values symbols operators and parentheses specifying a memo...

Страница 396: ...anged words Modify memory locations as 32 bit values A comma is used as a delimiter between values when modifying multiple memory addresses Examples modify memory data1 bytes to 0E3H 01H 08H modify memory data1 thru DATA100 to 0FFFFH modify memory 0675H real to 1 303 modify memory temp real long to 0 5532E 8 modify memory buffer string to Test n 0 See Also The copy memory display memory and store ...

Страница 397: ...you can modify the registers The parameters are as follows EXPR An expression is a combination of numeric values symbols operators and parentheses specifying a register value For the floating point registers the value is interpreted as a decimal real number See the EXPR description REGISTER This represents the name of a register to Allows you to specify the values to which the selected registers w...

Страница 398: ...chip selects however have access to the full 24 bit address inside the 6833x You can therefore locate memory using a chip select at an address that is not possible to decode externally If properly programmed the DE SIM can use information in the programming of the chip selects to re create the upper address lines This provides the ability to map emulation memory at these addresses and also provide...

Страница 399: ... to execute the initialization code and use the sync_sim_registers from_6833x_to_config command to configure the emulator to match the 6833x SIM At any time you can verify if the SIM and DE SIM are programmed the same with the sync_sim_registers difference command Any differences between the two register sets will be listed It should be noted that the DE SIM module is programmed solely from the EM...

Страница 400: ...s command is executed Current measurement data existing in the emulation system is not altered by this command Examples performance_measurement_end See Also The performance_measurement_initialize and performance_measurement_run commands Refer to the Making Software Performance Measurements chapter for examples of performance measurement specification and use Emulator Analyzer Interface Commands pe...

Страница 401: ...he addresses of all global procedures and static symbols If a valid database has not been loaded the system will default to a predetermined set of addresses which covers the entire emulation processor address range The measurement will default to activity mode Default values will vary depending on the type of operation selected and whether symbols have been loaded Emulator Analyzer Interface Comma...

Страница 402: ... as the default ranges for the measurement restore This option restores old measurement data so that a measurement can be continued when using the same trace command as previously used SYMB This represents the source file that contains the local symbols to be listed This also can be a program symbol name in which case all symbols that are local to a function or procedure are used See the SYMB synt...

Страница 403: ...e repeated the number of times specified by the COUNT option Note that the trace command must be set up correctly for the requested measurement For an activity measurement you can use the default trace command trace For a duration measurement you must set up the trace specification to store only the points of interest To do this for example you could enter trace only symbol_entry or symbol_exit Ex...

Страница 404: ...mmands will change the operation of the communications channel and are likely to hang the Softkey Interface and the channel echo mac Using these may confuse the communications protocols in use on the channel wait Do not use The pod will enter a wait state blocking access by the emulator analyzer interface init pv These will reset the emulator pod and force an end release_system command t Do not us...

Страница 405: ...have entered keyboard mode Select it to stop interactive access to the Terminal Interface and return to the Graphical User Interface or Softkey Interface Examples This example shows a simple interactive session with the Terminal Interface display pod_command pod_command keyboard cf tsq tcq Click suspend to return to the Graphical User Interface or Softkey Interface See Also The display pod_command...

Страница 406: ...a number Some examples include 1fxxh 17x7o and 011xxx10b Don t care numbers may be entered in binary octal or hexadecimal base The default is to qualify on all states The parameters are as follows or This option allows you to specify multiple states STATE to be captured during a trace measurement See the STATE syntax diagram RANGE This allows you to specify a range of states to be captured during ...

Страница 407: ...y address mod_name read_input trace only address range mod_name read_input thru output trace only address range mod_name clear thru read_input See Also The trace command Emulator Analyzer Interface Commands QUALIFIER 406 ...

Страница 408: ...s follows address The value following this softkey is searched for on the lines that monitor the emulation processor s address bus data The value following this softkey is searched for on the lines that monitor the emulation processor s data bus EXPR An expression is a combination of numeric values symbols operators and parentheses specifying an address data status or executed address value See th...

Страница 409: ...s searched for on the lines that monitor other emulation processor signals thru This indicates that the following address expression is the upper address in a range Examples See the trace command examples See Also The trace command and the QUALIFIER syntax description Emulator Analyzer Interface Commands RANGE 408 ...

Страница 410: ...es initial emulator operating parameters such as reloading control registers The reset signal is latched when the reset command is executed and released by either the run or break command See Also The break and run commands Emulator Analyzer Interface Commands reset 409 ...

Страница 411: ... program counter A run from reset command will reset the processor and then allow it to run It is equivalent to entering a reset command followed by a run command If the emulator is configured to participate in the READY signal on the CMB then this emulator will release the READY signal so that it will go TRUE if all other HP 64700 emulators participating on that signal are also ready See the cmb_...

Страница 412: ...of the function codes available and for an explanation of those codes from This specifies the address from which program execution is to begin reset This option resets the processor prior to running transfer_address This represents the starting address of the program loaded into emulation or target memory The transfer address is defined in the linker map and is part of the symbol database associat...

Страница 413: ...e analyzer default is no sequencing terms If you select the sequencer using the find_sequence parameter you must specify at least one qualifying sequence term The parameters are as follows find_sequence Specifies that you want to use the analysis sequencer You must enter at least one qualifier QUALIFIER Specifies the address data status or executed address value or value range that will satisfy th...

Страница 414: ...Allows you to add multiple sequence terms each with its own qualifier and occurrence count restart Selects global restart If the analyzer finds the restart qualifier while searching for a sequence term the sequencer is reset and searching begins for the first sequence term Examples trace find_sequence Caller_3 then Write_Num restart anly anly c line 57 trigger after Results 0c4h See Also The trace...

Страница 415: ...set Emulator Analyzer Interface Commands set 414 ...

Страница 416: ...les to the UNIX environment The default display format parameters are the same as those set by the commands set update set source off symbols off You can return the display format to this state by entering set default The parameters are as follows default This option restores all the set options to their default settings ENV_VAR Specifies the name of a UNIX environment variable to be set The equal...

Страница 417: ...ate symbols An alternate method for making the langinfo specification is to use the environment variable HP64SYMORDER By making the following entry in your profile the langinfo setting will always be C for example HP64SYMORDER C I want to use the C disambiguating hierarchy export HP64SYMORDER let children processes know about it memory Sets update option for memory displays only noupdate When usin...

Страница 418: ...ist memory software breakpoints and register step mnemonics high Displays only high level symbols such as those available from a compiler See the Symbolic Retrieval Utilities User s Guide for a detailed discussion of symbols low Displays only low level symbols such as those generated internally by a compiler or an assembly symbol all Displays all symbols tabs_are This option allows you to define t...

Страница 419: ...ecify the width in columns of the mnemonic field in memory mnemonics trace list and register step mnemonics displays It also changes the width of the status field in the trace list WIDTH This prompts you for the column width of the source label mnemonic or symbols field Note that CTRL f and CTRL g may be used to shift the display left or right to display information which is off the screen Example...

Страница 420: ...rocessor is reset and no address is specified a cmb_execute command will run the processor from the reset condition Note that the run specification is active until you enter specify run disable The trace specification is active until you enter another trace command without the specify prefix The emulator will run from the current program counter address if no address is specified in the command Th...

Страница 421: ...nts the address from which the program will begin running run This option specifies that the emulator will run from either an expression or from the transfer address when a CMB EXECUTE signal is received TRACE This option specifies that a trace measurement will be taken when a CMB EXECUTE signal is received until Specifies an address where program execution is to stop The emulator will set a softw...

Страница 422: ...arameter to the trace command and allows you to specify a condition for the trace measurement Refer to the Qualifying Trigger and Store Conditions section in the Using the Emulation Analyzer chapter for a list of the predefined values that can be assigned to the status state qualifiers The default STATE expression type is address Emulator Analyzer Interface Commands STATE 421 ...

Страница 423: ... diagram external_label This represents a defined external analyzer label not This specifies that the analyzer will search for the logical not of a specified state this includes any address that is not in the specified state status The value following this softkey is searched for on the lines that monitor other emulation processor signals STATUS This prompts you to enter a status value in the comm...

Страница 424: ... complete when a source line is found Therefore stepping only assembly code may step forever To abort stepping press CTRL c When displaying memory mnemonic and stepping the next instruction that will step is highlighted The memory mnemonic display autopages to the new address if the next PC goes outside of the currently displayed address range This feature works even if stepping is performed in a ...

Страница 425: ...of instructions to be executed can be entered in binary B octal O or Q decimal D or hexadecimal H notation silently When you specify a number of steps this option updates the register step mnemonic only after stepping is complete This will speed up stepping of many instructions The default is to update the register step mnemonic after each assembly instruction or source line executes if stepping i...

Страница 426: ... and stops execution of the current measurement The analyzer stops searching for trigger and trace states If trace memory is empty no states acquired nothing will be displayed See Also The trace command Emulator Analyzer Interface Commands stop_trace 425 ...

Страница 427: ...he parameters are as follows EXPR This is a combination of numeric values symbols operators and parentheses specifying a memory address See the EXPR syntax diagram FCODE The function code used to define the address space being referenced See the syntax diagram for FCODE to see a list of the function codes available and for an explanation of those codes FILE This represents a file name you specify ...

Страница 428: ...specified file with a TR extension trace_spec This option stores the current trace specification in the specified file with a TS extension A comma separates memory expressions in the command line Examples store memory 800H thru 20FFH to TEMP2 store memory EXEC thru DONE to 12 10 store trace TRACE store trace_spec TRACE See Also The display memory display trace and load commands Emulator Analyzer I...

Страница 429: ... SYMB Emulator Analyzer Interface Commands SYMB 428 ...

Страница 430: ...bol database before entering the emulation environment the measurements involving a particular symbol request will occur immediately If you then change a module and re enter the emulation environment without rebuilding the symbol database the emulation software rebuilds the changed portions of the database in increments as necessary Further information regarding the SRU and symbol handling is avai...

Страница 431: ... SEG_NAME Prompts you for entry of the segment name TYPE When two identifier names are identical and have the same scope you can distinguish between them by entering the type in parentheses Do not type a space between the identifier name and the type specification The type will be one of the following filename Specifies that the identifier is a source file module These refer to module symbols For ...

Страница 432: ...process_port port_ptr port_value end main File system project1 porthand c include utils c void process_port int port_num int port_data static int i static int i2 for i 0 i 64 i i2 i 2 port_num port_data i2 delay static int i i 3 port_data port_data i end of process_port File system project1 utils c delay int i j int waste_time for i 0 i 256000 i for j 0 j 256000 j waste_time 0 end delay Emulator A...

Страница 433: ... format and compiler used Note that SRU does not build tree nodes for variables that are dynamically allocated on the stack at run time such as i and j within the delay procedure SRU has no way of knowing where these variables will be at run Emulator Analyzer Interface Commands SYMB 432 ...

Страница 434: ...erencing of include files that generate program code porthand c process_port i porthand c process_port BLOCK_1 i Notice how you can reference different variables with matching identifiers by specifying the complete scope You also can save typing by specifying a scope with cws For example if you are making many measurements involving symbols in the file porthand c you could specify cws porthand c p...

Страница 435: ...s would then strip BLOCK_1 from the current working symbol yielding porthand c process_port i2 which is a valid symbol You also can specify the symbol type if conflicts arise Although not shown in the tree assume that a procedure called port_one is also defined in control c This would conflict with the identifier port_one which declares an integer pointer SRU can resolve the difference You must sp...

Страница 436: ...oprocessor s SIM registers into the emulator s EMSIM registers to_6833x _from_config Copies the emulator s EMSIM registers into the microprocessor s SIM registers difference Displays the differences between the microprocessor s SIM registers and the emulator s EMSIM registers See Also The modify register commands and the Concepts chapter Emulator Analyzer Interface Commands sync_sim_registers 435 ...

Страница 437: ...rting a program run and then specifying the trace parameters or by specifying the trace parameters first and then initiating the program run Once a trace begins the analyzer monitors the system busses of the emulation processor to detect the states specified in the trace command When the trace specification is satisfied and trace memory is filled a message will appear on the status line indicating...

Страница 438: ...HP 64700s or an HP 64700 and another instrument Before arm_trig2 can appear as an option you must modify the emulation configuration interactive measurement specification When doing this you must specify that either BNC or CMBT drive trig2 and that the analyzer receive trig2 See the chapter on Making Coordinated Measurements for more information break_on_trigger This stops target system program ex...

Страница 439: ...ee the SEQUENCING syntax pages for more details TRIGGER This represents the event on the emulation bus to be used as the starting ending or centering event for the trace See the TRIGGER syntax diagram When using this option you cannot include the on_halt option WINDOW Selectively enables and disables analyzer operation based upon independent enable and disable terms This can be used as a simple st...

Страница 440: ...follows about This option captures trace data leading to and following the trigger qualifier The trigger is centered in the trace listing after Trace data is acquired after the trigger qualifier is found before Trace data is acquired prior to the trigger qualifier occurs This specifies a number of qualifier occurrences of a range or state on which the analyzer is to trigger QUALIFIER This determin...

Страница 441: ...Examples trace after MAIN trace after 1000H then data 5 See Also The trace command and examples Also refer to the Making Coordinated Measurements chapter Emulator Analyzer Interface Commands TRIGGER 440 ...

Страница 442: ...TRL c was not executed on your system CTRL c normally defaults to the backspace key See your UNIX system administrator for more details regarding keyboard definitions The parameters are as follows measurement _complete This causes the system to pause until a pending measurement completes a trace data upload process completes or until a CTRL c signal is received If a measurement is not in progress ...

Страница 443: ... if CTRL c is defined as the interrupt signal Subsequent commands in the command file will not execute while the command file is paused You can verify whether the interrupt signal is defined as CTRL c by typing set at the system prompt Examples wait wait 5 wait measurement_complete Emulator Analyzer Interface Commands wait 442 ...

Страница 444: ...recognizing all states If you specify enable you must supply a qualifier term If you then specify disable you must specify a qualifier term The parameters are as follows disable Allows you to specify the term which will stop the analyzer from recognizing states once the enable term has been found enable Allows you to specify the term which will enable the analyzer to begin monitoring states QUALIF...

Страница 445: ...444 ...

Страница 446: ...13 Error Messages 445 ...

Страница 447: ... the error log some messages may be preceded by a number Messages in this chapter that have an error message number associated with them have the number listed in parentheses following the message These are ordered alphabetically by the first letter of the first word s 622 Cause Monitor specific message CONFIGURATION FILENAME does not exist Cause The configuration file you are trying to load does ...

Страница 448: ...all for request request truncated Cause Too small of an address range is specified in a modify memory command Action Specify a larger memory range Adjust PC failed during break 600 Cause System failure or target condition Action Run performance verification Terminal Interface pv command and check target system Ambiguous address s 312 Cause Certain emulators support segmentation or function code in...

Страница 449: ...you have configured the emulator to break on a BNC trigger signal and the BNC trigger line is activated during a program run The emulator is broken to the monitor Break caused by CMB not ready 611 Cause This status message is printed during coordinated measurements if the CMB READY line goes false The emulator breaks to the monitor When CMB READY is false it indicates that one or more of the instr...

Страница 450: ...them Breakpoint disable aborted 671 Cause Occurs when CTRL c is entered when disabling software breakpoints Breakpoint enable aborted 670 Cause Occurs when CTRL c is entered when setting software breakpoints Breakpoint list full not added s 664 Cause The software breakpoint table is already reached the maximum of 32 breakpoints The breakpoint you just requested with address s was not inserted Acti...

Страница 451: ...he emulator Action Ignore this message unless it becomes frequent If it becomes frequent you may have a fatal error call your HP 64700 representative Cannot lock emulator failure in obtaining the accessid Cannot lock emulator failure in ERRNO MSG Cannot modify program counter to an odd value 164 Cause The emulator will not allow you to modify the content of the program counter to an odd value Cann...

Страница 452: ...oning properly before starting a new session Cannot unlock emulator emulator in use by user USER NAME 10328 Cause The emulator is already in use by the named user Action Current user must release the emulator Cannot unlock emulator emulator not locked 10328 Cause You have issued a command to unlock an emulator that is not locked Action The emulator is available now You can start the interface Cann...

Страница 453: ... will be displayed if you have configured the emulator to break on a CMB trigger signal and the CMB trigger line is activated during a program run The emulator is broken to the monitor Command not allowed in ACT mode 156 Cause This command is not applicable or is not allowed in ACT mode Command not applicable in ACT mode 158 Cause This message will appear if you execute an emulator command that do...

Страница 454: ...AL NAME Cause This is a status message The host system is making a communication connection to the emulator whose logical name is defined in usr hp64000 etc 64700tab net or usr hp64000 etc 64700tab Continue load failed Cause The host system could not continue the previous emulation session because it could not load the continue file Action Try again If the failure continues call your HP Service Re...

Страница 455: ...erly and that all Softkey Interface files were loaded properly during the installation process Try starting the emulation session again Could not load default configuration Cause The host system could not load the default configuration into the emulator Action Cycle power on the emulator and run the Terminal Interface pv performance verification command on the emulator to verify that it is functio...

Страница 456: ...ts are programmed for a block size of 1 Mbyte when A19 is not available CS s is used in map spec but not defined as a chip select 172 Cause This error message is a result of the display configuration_info diagnostics command The chip select used in the memory map specification has not been defined as a chip select in the EMCSPAR0 or EMCSPAR1 registers CS s is used in map spec but not enabled byte ...

Страница 457: ...r unexpected Cause While defining an expression in your command you included a don t care number a binary octal decimal or hexadecimal number containing x which was not expected Don t care numbers are not valid for all commands See the EXPR command syntax for more information about expressions Double bus fault fault address register ________ 157 Cause A double bus fault occurred because of multipl...

Страница 458: ... error in file operation Emul700dmn queue full Cause The HP 64700 emulator daemon process command was too large for the host system to process Action You must press end_release_system to exit this emulation session completely then start a new session Make sure the host system is operating properly that all Softkey Interface software has been loaded correctly and the data communication switch setti...

Страница 459: ... Terminal Interface pv command Emulator locked by another user 10326 Cause This message occurs when you try to start an emulation interface but your attempt failed because the emulator is being used by someone else Action The current user must release the emulator Emulator locked by another user interface 10330 Cause You tried to start an emulator interface but your attempt failed because the emul...

Страница 460: ...use Unexpected configuration error Action Verify proper software installation and call your HP 64000 representative Exceeded maximum 64700 command line length 10351 Cause Your command is longer than 240 characters Action Shorten the command Expanded memory map requires more than 12 map resource terms 179 Cause This error message occurs as a result of the display configuration_info diagnostics comm...

Страница 461: ...ered an error from which it cannot recover Action Write down the sequence of commands which caused the error Cycle power on the emulator and re enter the commands If the error repeats call your local HP Sales and Service office for assistance File could not be opened Cause You tried to store or load trace data to a file with incorrect permission Or the analyzer could not find the file you specifie...

Страница 462: ... 64700 then retry the operation Guarded memory access break 614 Cause This message is displayed if the emulation processor attempts to read or write memory mapped as guarded Action Troubleshoot your program or you may have mapped memory incorrectly Guarded memory break s 628 Cause A memory access to a location mapped as guarded memory has occurred during execution of the user program Action Invest...

Страница 463: ...re failure string Cause Semaphore ipc facility not installed Action Reconfigure the kernel to add ipc facility HP64700 I O error connection timed out Cause A user abort occurred while attempting to connect via LAN Action Possibly connecting to an emulator many miles away be patient Illegal status combination Cause You tried to specify combinations of status qualifiers in expressions incorrectly wh...

Страница 464: ...e has been loaded properly Cycle power on the emulator then try starting up the emulation session again Initialization load failed Cause The emulator could not be initialized Action Make sure your data communication switch settings are correct and that all Softkey Interface software has been loaded properly Cycle power on the emulator then try starting up the emulation session again Initializing e...

Страница 465: ...pecified digits that don t correspond to the base specified or you forgot to precede a hexadecimal letter digit with a number even zero 0 Action Re enter the command and the address specification See the ADDRESS and EXPRESSION syntax pages in the Commands chapter for information on address specifications Invalid address range s 147 Cause You specified an invalid address range as an argument to one...

Страница 466: ...sing another emulator and the response differs from the response required for this emulator Action Examine your configuration file to check for inappropriate responses to configuration file questions Invalid auxiliary subsystem product address s 904 Cause For future products Invalid ET subsystem product address s 903 Cause Detects an invalid ET Used only internally Invalid firmware for emulation s...

Страница 467: ...Action Either change to an even address or modify the access mode to bytes if possible Invalid word access for odd number of bytes 3 Cause When the access mode is word and the display mode is byte you have attempted to modify a range of target system memory perhaps as small as a two byte range with an odd number of byte values Action Either specify an even number of bytes or modify the access mode...

Страница 468: ...xiliary subsystem product address s 914 Cause This message should never occur It shows that you have an unreleased firmware version of the auxiliary subsystem Lab firmware for emulation subsystem 911 Cause This message should never occur It shows that you have an unreleased version of emulation firmware Lab firmware subsystem product address s 913 Cause This message should never occur It shows tha...

Страница 469: ...rs if more than 4 chip selects are assigned to a mapped term as defined by the EMSIM registers EMCSOR 0 10 EMCSBR 0 10 EMCSORBT or EMCSBRBT Only the first 4 chip selects will be allowed Measurement system not found Cause You tried to end the current emulation session and select another measurement system module which could not be located by the host system Action Either try the end select measurem...

Страница 470: ...al memory Action Reduce memory display request Message overflow 151 Cause The display configuration_info diagnostics command may emit more messages than the HP 64700 will allow 16 This status message occurs when there are more than 16 messages Need s or chip select for map entry d 174 Cause This error message is a result of the display configuration_info diagnostics command If you have mapped an a...

Страница 471: ...for that emulator No chip selects programmed for address range of map entry d 175 Cause This error message is a result of the display configuration_info diagnostics command It can occur when you have mapped an address range using one of the chip select function codes but have not programmed any of the EMCSBRx registers to set up a chip select for that address range It s also possible that you have...

Страница 472: ...ports only ACT mode does not allow you to configure the emulator for the Normal mode Not a valid trace file load aborted Cause You tried to load a file TR that was not created by the emulation session Action Only load trace data files that were created by the emulator Not an absolute file No absolute file file No absolute file No database file Cause You tried to load a file into the emulator that ...

Страница 473: ...range that is too small Action Display memory mnemonic using a large address range or no address range at all perf out file could not be opened created Cause The performance analyzer failed to open or create a file named perf out in response to your performance_measurement_end command Action Free up some file space or correct the write permissions in your current working directory Perfinit Absolut...

Страница 474: ... will have NULL results Action Either edit the file to add events or use the default setup to start a new measurement Perfinit EXPR ERROR line LINE NUMBER Performance tool must be initialized Cause You tried to make a performance measurement when the Software Performance Measurement Tool SPMT was not initialized Action The Software Performance Measurement Tool SPMT must be initialized before makin...

Страница 475: ... odd value using the modify registers command on a processor which expects even alignment of opcodes Action Modify the program counter only to even numbered values The following error messages are unique to the 6833x emulator Question file missing or invalid Cause Some of the Softkey User Interface files are missing or are corrupted Action Reinstall the host software and try starting the emulation...

Страница 476: ...g a transfer operation Action Retry the transfer If the failure is repeated make sure that the data communications parameters are set correctly on the host and on the HP 64700 Register access aborted 630 Cause Occurs when a CTRL c is entered during register display Register class cannot be modified s 637 Cause You tried to modify a register class instead of an individual register Action You can on...

Страница 477: ...eans that the emulator has lost control of the background monitor Loss of the clock would be one reason this might occur Restricted to real time runs 40 Cause While the emulator is restricted to real time execution you have attempted to use a command that requires a temporary break in execution to the monitor The emulator does not permit the command and issues this error message Action You must br...

Страница 478: ...sure the emulator is unlocked Session cannot be continued ending released Cause The emulation session is ending automatically because it could not be continued from the previous session When the session has ended the emulator will be released meaning that others can access and use it Action When you restart the emulation session later the new session will use all default settings Severe error dete...

Страница 479: ...ng address greater than ending address Cause You specified a starting address that is greater than the ending address Action Specify a starting address that is less than or equal to the ending address Starting new session continue file loaded Cause This is a status message The emulator was started using a new emulation session and the continue file loaded properly Starting new session user interfa...

Страница 480: ... aborted because CTRL c or software breakpoint was hit guarded memory was accessed or some other kind of error occurred Action See the error log display for any abnormal errors Correct those errors and then step again Stepping complete Cause Stepping was completed successfully Stepping failed 680 Cause Stepping has failed for some reason Action Usually this error message will occur with other erro...

Страница 481: ... was unable to perform the requested operation on memory mapped to the target system Action In most cases the problem results from the emulator s inability to break to the monitor to perform the operation See message 608 Timeout receiver failed to respond 415 Cause Communication link or transfer protocol incorrect Action Check link and transfer options Timeout in emul700dmn communication Cause The...

Страница 482: ...and and the analyzer has found the trigger condition while tracing a program run The emulator is broken to the monitor trig2 break 619 Cause This status message will be displayed if you have used the internal trig2 line to connect the analyzer or external analyzer trigger output to the emulator break input and the analyzer has found the trigger condition The emulator is broken to the monitor Trigg...

Страница 483: ... halted try reset and break to get to the monitor If there is a bus grant wait for the requesting device to release the bus before retrying the command If there is no clock input perhaps your target system is faulty It s also possible that you have configured the emulator to restrict to real time runs which will prohibit temporary breaks to the monitor Unable to configure break on software breakpo...

Страница 484: ... error occurs when you attempt to delete an external trace label which is currently being used as a qualifier in the external timing trace specification Action Remove the label from the external timing analyzer specifications and then delete the label Unable to load new memory map old map reloaded 725 Cause There is not enough emulation memory left for this request Action Reduce the amount of emul...

Страница 485: ...he label Unable to redefine label used by external timing analyzer label 1110 Cause This error occurs when you attempt to redefine an emulation or external trace label which is currently being used as a qualifier in the external timing trace specification Action Remove the label from the external timing analyzer specifications and then redefine the label Unable to reload old memory map hardware st...

Страница 486: ...en start a new session Make sure the host system is operating properly that all Softkey Interface software has been loaded correctly and the data communication switch settings on the emulator rear panel match the settings in the usr hp64000 etc 64700tab net or 64700tab file Unexpected software breakpoint 620 Cause If you have enabled software breakpoints this message is displayed if a software bre...

Страница 487: ...g at least one integer truncated to 16 bits Warning at least one integer truncated to 8 bits Cause The number entered was too large for the currently specified display or access size Action Try entering the command again using the correct size of number Width not in range 1 valid width 80 Cause You tried to specify the width of the field outside the range from 1 to 80 Action Try entering the comma...

Страница 488: ...e This status message will be printed if you have enabled breaks on writes to ROM and the emulation processor attempted a write to a memory location mapped as ROM Action None except troubleshooting your program Error Messages 487 ...

Страница 489: ...488 ...

Страница 490: ...Part 4 Concept Guide 489 ...

Страница 491: ...Topics that explain concepts and apply them to advanced tasks Part 4 490 ...

Страница 492: ...14 Concepts 491 ...

Страница 493: ...Concepts This chapter provides conceptual information on the following topics X resources and the Graphical User Interface Concepts of the EMSIM and EMRAM 492 ...

Страница 494: ...d The resource name is Application form row done background and the value is red Resource Names Follow Widget Hierarchy A widget is an OSF Motif graphic device from which X applications are built For example pushbuttons and menu bars are Motif widgets Applications are built using a hierarchy of widgets and the application s X resource names follow this hierarchy For example Application form row do...

Страница 495: ...et the background color for a hypothetical Done pushbutton only in the applic1 application you can use applic1 form row done background red Note that instance names are more specific than class names That is class names may apply to many instances of the widget The class and instance names for the widgets in the Graphical User Interface can be displayed by choosing Help X Resource Names and clicki...

Страница 496: ...f microprocessor m6833x resource value for the 6833x m68020 resource value for the 68020 Apply to a specific HP64_Softkey application connected to a specific processor perf m6833x resource value for the 6833x perf analyzer emul m68020 resource value for the 68020 emulator If all four examples above are used for a particular resource 3 will override 2 for all applications connected to a 6833x emula...

Страница 497: ...ser Defined Resource Specifications User defined resources for any X application are located in the X server s RESOURCE_MANAGER property or in the user s HOME Xdefaults file Load Order Resource specifications are loaded from the following places in the following order The application defaults file For example usr lib X11 app defaults HP64_Softkey when the operating system is HP UX or usr openwin l...

Страница 498: ...chemes There are five X resources that identify scheme files HP64_Softkey labelScheme Names the scheme file to use for labels and button text Values can be Label LANG or a custom scheme file name The default uses the LANG environment variable if it is set and if a scheme file named Softkey LANG exists in one of the directories searched for scheme files otherwise the default is Label HP64_Softkey p...

Страница 499: ...and similar text are in this file If the LANG environment variable is set the scheme file Softkey LANG is loaded if it exists otherwise the file Softkey Label is loaded Softkey BW Defines the color scheme for black and white displays This file is chosen if the display cannot produce at least 16 colors Softkey Color Defines the color scheme for color displays This file is chosen if the display can ...

Страница 500: ...nd changing the resource specifications in the file For example if you wish to modify the color scheme and your platform is HP UX you can copy the usr hp64000 lib X11 HP64_schemes HP UX Softkey Color file to HOME HP64_schemes HP UX Softkey Color and modify its resource specifications You can create custom scheme files by modifying the X resource for the particular scheme and by placing the custom ...

Страница 501: ...rol signals are always maintained What is seen external to the processor is determined by the current contents of the SIM register set Most of the 6833x processors also have internal on board static RAM which can be configured to be addressable anywhere within the address range The processor RAM register set is used to enable this on board RAM and to define where it is currently positioned in the ...

Страница 502: ...ined in the executable file The concept of register copies has been implemented in order to accomplish external bus decoding As part of the emulator configuration the user can indicate the desired SIM and RAM values by loading the EMSIM and EMRAM copy registers Once these register copies have been loaded memory resources either emulation or target memory can be accessed in the same manner that the...

Страница 503: ...emulator as part of the EMRAM copy The emulator uses this information to determine where memory accesses should be routed based on the current emulator memory map The emulator cannot emulate internal RAM modules when the internal RAM is enabled Internal RAM accesses will typically not be seen outside the processor and therefore emulation memory will be ignored The only way to get the processor to ...

Страница 504: ...ies the DS signal is programmed as a portE I O pin the processor is not able to indicate a show cycle and the analyzer will not be able to display show cycles in a trace The external bus decoder within the emulator will automatically decode these show bus cycles so the emulation bus analyzer can correctly capture them Note that the external bus decoder can only correctly decode one internal RAM sp...

Страница 505: ...ut you don t know its values In this case you can use the default configuration run from reset to execute the initialization code and then configure the emulator to match the processor SIM Display SIM Register Differences This shows current differences between the SIM registers and the EMSIM registers This presents a list of all registers whose values are different between the SIM and the EMSIM Us...

Страница 506: ...a table Use this to see the SIM register values that will be loaded into the processor SIM when the monitor is entered from emulation reset Display Configuration Info Memory Map This displays detailed information about the memory map in a table Use this to check the way the memory map has been configured Display Configuration Info Reset Mode Value This displays the reset mode configuration value a...

Страница 507: ...506 ...

Страница 508: ...Part 5 Installation Guide 507 ...

Страница 509: ...Instructions for installing and configuring the product Part 5 508 ...

Страница 510: ...15 Installation 509 ...

Страница 511: ...or Series 9000 300 and Series 9000 400 workstations the minimum supported version of the operating system is 7 03 or later For Series 9000 700 workstations the minimum supported version of the operating system is version 8 01 Motif OSF For Series 9000 700 workstations you must also have the Motif 1 1 dynamic link libraries installed They are installed by default so you do not have to install them ...

Страница 512: ...e uses the QIC 24 data format 64700 Operating Environment The Graphical User Interface requires version A 04 10 or greater of the 64700 Operating Environment The Graphical User Interface version is A 04 00 Hardware and Memory Any workstation used with the Graphical User Interface should have a minimum of 16 megabytes of memory A color display is also highly recommended From here you should proceed...

Страница 513: ...HP 64700 Series Installation Service Guide for instructions on connecting the HP 64700 to a host computer via RS 422 or RS 232 or LAN and setting the HP 64700 s configuration switches RS 422 and RS 232 are only supported on HP 9000 Series 300 400 machines 512 ...

Страница 514: ...ou can choose to install selected filesets If you plan on using the Softkey Interface instead of the Graphical User Interface you can save about 3 5 megabytes of disk space by not installing the XUI suffixed filesets in the 64700 Operating Environment and processor type Emulation Tools partitions Also if you choose not to install the Graphical User Interface you will not have to use a special comm...

Страница 515: ... Select Item At the next menu press the softkey Select Item again Answer the last prompt with y It takes about 20 minutes to read the tape 9 When the installation is complete read tmp update log to see the results of the update Step 2 Set the necessary environment variables The DISPLAY environment variable must be set before the Graphical User Interface will start Also you should modify the PATH e...

Страница 516: ... hp64000 then you would enter HP64000 usr hp64000 export HP64000 If you did not install relative to the root directory or do not wish to establish a symbolic link you can set the HP64000 variable to the full path that contains the HP 64000 software Again if you installed relative to users team you would enter HP64000 users team usr hp64000 export HP64000 3 Set the PATH environment variable to incl...

Страница 517: ... verifies that you loaded the correct fileset and also verifies that the customize scripts executed because this file is created from other files during the customize process 2 Examine hp64000 X11 app defaults HP64_Softkey near the end of the file to confirm that there are resources specific to your emulator Near the end of the file there will be resource strings that contain references to specifi...

Страница 518: ... Consult the X Window documentation supplied with the HP UX operating system documentation if you do not know about using X Windows and the X server After starting the X server and Motif Window Manager continue with step 2 of these instructions Step 4b Start HP VUE If you are running the X server under HP VUE and have not started HP VUE do so now HP VUE is a window manager for the X Window system ...

Страница 519: ...a The tape that contains the Graphical User Interface software may contain several products Usually you will want to install all of the products on the tape However to save disk space or for other reasons you can choose to install selected filesets If you plan on using the conventional Softkey Interface instead of the Graphical User Interface you can save about 3 5 megabytes of disk space by not i...

Страница 520: ... directory other than you need to set the HP64000 environment variable The following instructions show you how to set these variables at the UNIX prompt Modify your profile or login file if you wish these environment variables to be set when you log in The following instructions also assume that you re using csh if you re using sh environment variables are set in the VARIABLE value export VARIABLE...

Страница 521: ...lative to users team you would enter setenv HP64000 users team usr hp64000 setenv LD_LIBRARY_PATH LD_LIBRARY_PATH HP64000 lib 3 Set the PATH environment variable to include the usr hp64000 bin directory by entering setenv PATH PATH HP64000 bin Including usr hp64000 bin in your PATH relieves you from prefixing HP 64700 executables with the directory path 4 Set the MANPATH environment variable to in...

Страница 522: ...ill attempt to symbolically link them from the HP64000 install directory to their proper locations Run the script HP64000 bin envinstall Step 5 Map your function keys If you are using the conventional Softkey Interface map your function keys by following the steps below 1 Copy the function key definitions by typing cp HP64000 etc ttyswrc ttyswrc This creates key mappings in the ttyswrc file in you...

Страница 523: ...ble If you use OpenWindows type setenv KEYMAP sun 2 9 If you use xterm windows the xterm window program is located in the directory usr openwin demo type setenv KEYMAP xterm 2 9 Reminder If you are using OpenWindows add usr openwin bin to the end of the PATH definition and add the following line to your profile setenv OPENWINHOME usr openwin After you have mapped your function keys you must start ...

Страница 524: ... HP UX prompt 2 Page through the file until you find the emulator you are going to use This step will require some matching of information to an emulator but it should not be difficult to determine which emulator you want to address Examples A typical entry for a 6833x emulator connected to the LAN would appear as follows Channel Logical Processor Remainder of Information for the Channel Type Name...

Страница 525: ... path If you are running the X server if the Graphical User Interface is installed and if your DISPLAY environment variable is set the emul700 command will start the Graphical User Interface Otherwise emul700 starts the conventional Softkey Interface You should include an ampersand with the command to start the Graphical User Interface as a background process Doing so frees the terminal window whe...

Страница 526: ...Interface 1 Position the mouse pointer over the pulldown menu named File on the menu bar at the top of the interface screen 2 Press and hold the command select mouse button until the File menu appears 3 While continuing to hold the mouse button down move the mouse pointer down the menu to the Exit menu item 4 Display the Exit cascade menu by moving the mouse pointer to the right edge of the Exit m...

Страница 527: ...526 ...

Страница 528: ...16 Installing Updating Emulator Firmware 527 ...

Страница 529: ...ncluded with the 6833x emulator probe on an MS DOS format floppies The floppies are for users that do not have hosted interface software Before you can update emulator firmware you must have already installed the emulator into the HP 64700 connected the HP 64700 to a host computer or LAN and installed the emulator analyzer interface and HP B1471 software as described in the Installation chapter Th...

Страница 530: ...eractive If you don t include the emul_name option it displays the logical names in the usr hp64000 etc 64700tab net file and asks you to choose one If you don t include the products option it displays the products which have firmware update files on the system and asks you to choose one In the interactive mode only one product at a time can be updated You can abort the interactive progflash comma...

Страница 531: ... subject to restrictions as set forth in subparagraph c 1 II of the Rights in Technical Data and Computer Software clause at DFARS 52 227 7013 HEWLETT PACKARD Company 3000 Hanover St Palo Alto CA 94304 1181 Logical Name Processor 1 em68k m68000 2 em80960 i80960 3 em6833x m6833x Number of Emulator to Update intr usually cntl C or DEL to abort To update firmware in the HP 64700 that contains the 683...

Страница 532: ...OM width 16 Programming voltage control address 2FFFFEH Programming voltage control value FFFFH Programming voltage control mask 0H Rebooting HP64700 Checking Hardware id code Erasing Flash ROM Downloading ROM code usr hp64000 inst update 64782 X Code start 280000H should equal control ROM start Code size 2348CH must be less than control ROM size Finishing up Rebooting HP64700 Flash programming SU...

Страница 533: ...on similar to Copyright c Hewlett Packard Co 1987 All Rights Reserved Reproduction adaptation or translation without prior written permission is prohibited except as allowed under copyright laws HP64700B Series Emulation System Version B 01 00 20Dec93 Location Flash System RAM 1 Mbyte HP64782C Motorola 68332 Emulator Version A 03 00 Control HP 64748C Emulation Control Board Speed 20 1 MHz Memory 1...

Страница 534: ...HP 64700 that will not boot up Repeat the firmware update process If the HP 64700 is connected to the LAN in this situation and you are unable to connect to the HP 64700 after the power glitch try repeating the firmware update with the HP 64700 connected to an RS 232 or RS 422 interface Installing Updating Emulator Firmware If there is a power failure during a firmware update 533 ...

Страница 535: ...534 ...

Страница 536: ...mulation processor when it is operating in the background mode Background memory does not take up any of the microprocessor s address space display mode When displaying memory this mode tells the emulator the size of the memory locations to display When modifying memory the display mode tells the emulator the size of the values to be written to memory embedded microprocessor system The microproces...

Страница 537: ...laces in the program you can qualify the trace so that only accesses of that variable are stored and turn on prestore to find out where accesses of that variable originate from primary sequencer branch Occurs when the analyzer finds the primary branch state specified at a certain level and begins searching for the states specified at the primary branch s destination level real time Refers to conti...

Страница 538: ...croprocessor system which the emulator plugs into trace A collection of states captured on the emulation bus in terms of the emulation bus analyzer or on the analyzer trace signals in terms of the external analyzer and stored in trace memory trigger The captured analyzer state about which other captured states are stored The trigger state specifies when the trace measurement is taken Glossary 537 ...

Страница 539: ...538 ...

Страница 540: ...emory 535 tracing 121 background execution tracing 121 bases number 204 bbaunload command syntax 347 before trigger position specification 209 210 binary numbers 204 BKPT breakpoint vector generally 160 161 blocks emulation memory size of 109 BNC connector 5 304 trigger signal 306 break command 157 166 167 syntax 348 breakpoints 34 copying to a file 188 disabling execution breakpoints 163 displayi...

Страница 541: ... entry buffer 68 70 copying breakpoints to a file 188 configuration info to a file 188 data values to a file 188 display area to file 188 emulator status to a file 189 error log to file 189 event log to file 189 global symbols to file 189 local symbols to file 189 memory to file 188 pod commands to a file 189 registers to file 188 trace listing to file 188 count states 214 215 count time 214 215 c...

Страница 542: ...stem 535 emul700 command to start the emulator analyzer interface 55 emulation bus analyzer 535 emulation memory 8 bit substituting for 110 block size 109 dual port 106 loading absolute files 140 emulation monitor 535 emulation session exiting 62 emulation external analyzer mode 297 emulator 536 configuring the 94 device table file 32 55 56 general description 4 limitations DMA support 109 multipl...

Страница 543: ...7 119 memory mapping 117 need for separately linked modules 117 functions step over 173 G global restart qualifier 536 global symbols 33 205 366 copy command 351 display command 144 366 initializing the SPMT measurement with 262 to file 189 grabbers connecting to analyzer probe 292 guarded memory accesses 111 118 H halfbright 78 79 hand pointer 25 68 hardware HP 9000 memory needs 510 HP 9000 minim...

Страница 544: ...command line with popup 79 hand pointer means popup 25 68 pulldown operation with keyboard 66 67 pulldown operation with mouse 65 66 mixed slave clock mode 298 mixing pod commands with high level commands 219 222 mnemonic memory display 33 173 setting the source symbol modes 180 modes source symbol 180 modify command 390 configuration 391 keyboard_to_simio 392 memory 393 395 register 171 396 SIM r...

Страница 545: ...ton select mouse button 27 Q QUALIFIER in trace command 405 406 qualifiers 208 simple trigger 209 210 slave clock 298 300 R RAM mapping emulation or target 111 range resource note on 407 RANGE in trace command 407 408 READY CMB signal 305 real time runs 536 commands not allowed during 106 restricting the emulator to 105 106 recall buffer 25 columns 331 initial content 331 lines 331 recalling entri...

Страница 546: ...lines display in trace list 243 set command 417 symbol display 145 source symbol modes setting 180 SPARCsystems installing software 518 minimum system requirements overview 511 SunOS minimum version 511 specify command 419 420 specify trace disassembly options 237 SPMT Software Performance Measurement Tool See software performance measurements sq adv captured sequence state 225 SRU Symbolic Retrie...

Страница 547: ...46 trace counting time command 214 215 trace depth how to change 201 trace disassembly specifying options 237 trace display 231 depth SPMT measurements 260 positioning 203 source symbol modes 180 trace expression range 212 trace expressions address values 211 data values 211 status values 211 trace list disassembly 235 236 display around specific line number 234 display source lines 243 move throu...

Страница 548: ... modified graphical interface resources 324 defined 493 general form 493 instance name for applications 494 instance name for widgets 493 loading order 496 modifying resources generally 324 327 RESOURCE_MANAGER property 496 scheme file system directory 499 scheme files Graphical User Interface 497 scheme files named 498 schemes forcing interface to use certain 497 Softkey BW 498 Softkey Color 498 ...

Страница 549: ...548 ...

Страница 550: ...cal outlet or used with a three contact to two contact adapter with the grounding wire green firmly connected to an electrical ground safety ground at the power outlet The power jack and mating plug of the power cable meet International Electrotechnical Commission IEC safety standards Do Not Operate In An Explosive Atmosphere Do not operate the instrument in the presence of flammable gases or fume...

Страница 551: ...ny unauthorized modification of the instrument Return the instrument to a Hewlett Packard Sales and Service Office for service and repair to ensure that safety features are maintained Dangerous Procedure Warnings Warnings such as the example below precede potentially dangerous procedures throughout this manual Instructions contained in the warnings must be followed WARNING Dangerous voltages capab...

Страница 552: ...electrical shock in case of a fault Used with field wiring terminals to indicate the terminal which must be connected to ground before operating the equipment Low noise or noiseless clean ground earth terminal Used for a signal common as well as providing protection against electrical shock in case of a fault A terminal marked with this symbol must be connected to ground in the manner described in...

Страница 553: ...ar situation which if not correctly performed or adhered to could result in damage to or destruction of part or all of the product Warning The Warning sign denotes a hazard It calls your attention to a procedure practice condition or the like which if not correctly performed could result in injury or death to personnel ...

Страница 554: ...o HP and HP shall pay shipping charges to return the product to Buyer However Buyer shall pay all shipping charges duties and taxes for products returned to HP from another country HP warrants that its software and firmware designated by HP for use with an instrument will execute its programming instructions when properly installed on that instrument HP does not warrant that the operation of the i...

Отзывы: