If there are many cycles in the trace list before the processor stalled, use a different
method of triggering. There are a number of different approaches that can be used.
The most direct method is to trigger on a condition of TIP low and TA high for a
period of time greater than the length of a memory cycle. Another method is to
determine if the system always stops at the same address. This address can then be
used as the trigger. One drawback to this method is that you may have to probe a
large number of signals to get a unique address.
A better way would be to use the emulation-bus analyzer to generate a trigger.
Unfortunately, because the cycle never finishes, the emulation-bus analyzer will not
capture this address, so something preceding this event must be used as the trigger.
Examine the trace list to find a unique event to use as the trigger. Once you have
specified the trigger, you need to configure the emulator to drive the trigger out.
The real trick to crosstriggering is to correlate the trigger event to the captured data.
In this type of measurement, the correlation is easy because the signals of interest
stop transitioning shortly after the trigger occurs.
tg addr=00badad00
tp c
tgout trig2
bnct -r trig2
t
Once you have a trace of the offending cycle, verify that TA is present for a valid
rising clock edge, taking into account a wait state if running faster than 25 MHz. If
TA looks reasonably correct, verify the setup and hold specifications. If TA occurs
but on an invalid clock edge, you may need to make modifications to the target
system to ensure that there is at least one wait state in target cycles. If TA is not
asserted at all, it could be an indication that the target system missed the TS. Set up
your oscilloscope or logic analyzer to make a measurement on your cycle start
circuitry to determine why the target system did not respond to the cycle.
If the cycle where processing stops is part of a burst cycle, as indicated by the line
access type in the status display, there are several things to check.
w>es
M68040--CPU in wait state; 000000000@sd line read
w>
A burst cycle is shown below. The main characteristic of a burst cycle is that there
are four data transfers as part of one cycle. The processor puts out an address and
asserts TS only once during the cycle. A burst request is indicated by the SIZx
signals. The target memory system can inhibit the burst cycle by asserting the TBI
signal. If the cycle is inhibited, the timing becomes just like a normal cycle. If the
cycle is not inhibited, once TS has been asserted, the process starts sampling TA for
Chapter 18: Connecting the Emulator to a Target System
Verifying Operation Of The Emulator In Your Target System
626
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 ...