never executed because the processor immediately starts interrupt processing. The
interrupt processing proceeds the same as in a normal break.
Before exiting for a step, the monitor checks to make sure that the trace vector is
valid and that it points to accessable memory. If the vector is not even, or if the
memory it points to responds with a bus error or hangs, the emulator temporarily
modifies the trace vector to point to the start of the vector table. Because the
instructions of the trace handler will not be executed, the content of the address
locations is not important.
If the emulator modifies the trace vector, the following status message is given:
!STATUS 155! Vector table modified for single stepping
If the emulator finds it must modify the trace vector for single stepping to complete,
but the modification attempt fails, an error message similar to the following is
displayed:
!ERROR 170! Target bus error: 0ff800024@sd
!ERROR 156! Unable to modify trace vector to ff800000h for single stepping
!ERROR 680! Stepping failed
If this error occurs, the vector table must be modified so that the trace vector
contains an address that points to accessable memory. If the vectors are in ROM,
perhaps the memory can be copied into emulation memory where you can modify it.
One way to watch what the emulator is doing during a step, is to set up the analyzer
to trace only foreground cycles and to store everything. This lets you watch the
emulator check and possibly modify the trace exeception vector. Use the following
commands:
tck -u
tsto any
tg any
t
s
The emulator may experience problems when stepping over instructions that
modify the VBR. This is because the check of the trace exception vector is made
using the old VBR value, but the actual stacking will use the new value of the
VBR. If the new VBR value changes the trace exception vector to something that
would require modification, then stepping can fail.
!ERROR 680! Stepping failed
Chapter 18: Connecting the Emulator to a Target System
Installing Emulator Features
649
Summary of Contents for 64783A
Page 30: ...xxx ...
Page 31: ...Part 1 Quick Start Guide 1 ...
Page 33: ...1 Getting Started 3 ...
Page 70: ...40 ...
Page 75: ...Part 2 Using The Emulator 45 ...
Page 140: ...110 ...
Page 141: ...4 Using the Emulator How to control the processor and view system resources 111 ...
Page 227: ...5 Using the Emulation Bus Analyzer How to record program execution in real time 197 ...
Page 290: ...260 ...
Page 331: ...8 Configuring the Emulator 301 ...
Page 382: ...352 ...
Page 383: ...9 Solving Problems What to do when the emulator doesn t behave as expected 353 ...
Page 397: ...Part 3 Reference 367 ...
Page 399: ...10 Using Memory Management Understanding logical and physical emulation and analysis 369 ...
Page 429: ...11 Emulator Commands The command syntax reference for the emulator softkey interface 399 ...
Page 443: ...copy Chapter 11 Emulator Commands copy 413 ...
Page 451: ...display Chapter 11 Emulator Commands display 421 ...
Page 457: ...DISPLAY MEMORY Chapter 11 Emulator Commands DISPLAY MEMORY 427 ...
Page 461: ...DISPLAY MMU Chapter 11 Emulator Commands DISPLAY MMU 431 ...
Page 464: ...DISPLAY TRACE Chapter 11 Emulator Commands DISPLAY TRACE 434 ...
Page 480: ...modify Chapter 11 Emulator Commands modify 450 ...
Page 501: ...set Chapter 11 Emulator Commands set 471 ...
Page 514: ... SYMB Chapter 11 Emulator Commands SYMB 484 ...
Page 582: ...552 ...
Page 583: ...13 Setting X Resources 553 ...
Page 598: ...568 ...
Page 606: ...576 ...
Page 613: ...16 Specifications and Characteristics 583 ...
Page 627: ...Part 4 Concept Guide 597 ...
Page 629: ...17 X Resources and the Graphical User Interface 599 ...
Page 639: ...Part 5 Installation and Service Guide 609 ...
Page 697: ...19 Installation and Service 667 ...
Page 746: ...Chapter 19 Installation and Service Verifying the Installation 716 ...
Page 755: ...20 Installing Updating Emulator Firmware 725 ...
Page 762: ...732 ...
Page 778: ...748 ...
Page 810: ...X server 554 604 X Window System 54 Index 780 ...