Entry into the foreground monitor can be traced by using the following trigger
specification. The interrupt acknowledge signal is not shown to the target system
and is also not shown to the analyzer unless background cycles are being traced.
tck -ub
tp c
tg stat=11xxxxxxxx1x111xy
t
b
Line addr,H 68040 Mnemonic
----- -------- ------------------------------------------
-2 00000008 $60FE0000 phy sprog long read
-1 0000000c $00000000 phy sprog long read
0 ffffffff $------FF mon int7 ack <- acknowledge
1 00000200 $0000040B mmu twalk data long read <- twalk stack
2 00000400 $0000060B mmu twalk data long read
3 0000063c $0000F01B mmu twalk data long read
4 0000f0ee $----007C phy sdata word write <- stack format
5 0000f0ea $----0000 phy sdata word write <- stack PC high
6 0000f0ec $0008---- phy sdata word write <-stack PC low
7 00000200 $0000040B mmu twalk data long read <- twalk vector
8 00000400 $0000060B mmu twalk data long read
9 00000600 $0000009F mmu twalk data long read
10 0000007c $000016C2 phy sdata long read <- vector fetch
11 0000f0e8 $2700---- phy sdata word write <- stack SR
12 00000200 $0000040B twalk prog long read <- twalk monitor
13 00000400 $0000060B twalk prog long read
14 00000600 $0000101b twalk prog long read
15 000016c0 $4E732F0D phy sprog long read <- monitor
16 000016c4 $4BFAFB10 phy sprog long read
If you have problems trying to break into the monitor, the most likely causes are
that the stack pointers or vector base register do not point to valid memory. Any
exceptions during monitor entry will cause the break to fail. Access errors during
stacking or vector fetches are the most common causes of failures. The target
system can respond with a bus error, or if the MMU is running, the MMU can
signal an access error. The MMU will signal an error if a translation is not
available, if a bus error occurs during translation lookup, or if a write-protection
error occurs.
The break will also fail if accesses to the monitor cause an exception. This includes
bus errors and access errors signaled by the MMU. It is possible for the monitor to
execute correctly until the MMU is enabled, and then have problems. Keep in
mind that the monitor must be translated logical=physical and located in address
space that is not write-protected.
Chapter 18: Connecting the Emulator to a Target System
Installing Emulator Features
659
Содержание 64783A
Страница 1: ...User s Guide for the Graphical User Interface MC68040 EC040 LC040 Emulator Analyzer HP 64783A B ...
Страница 30: ...xxx ...
Страница 31: ...Part 1 Quick Start Guide 1 ...
Страница 33: ...1 Getting Started 3 ...
Страница 70: ...40 ...
Страница 71: ...2 Solving Quick Start Problems Solutions to problems you might face during the Getting Started procedures 41 ...
Страница 75: ...Part 2 Using The Emulator 45 ...
Страница 140: ...110 ...
Страница 141: ...4 Using the Emulator How to control the processor and view system resources 111 ...
Страница 227: ...5 Using the Emulation Bus Analyzer How to record program execution in real time 197 ...
Страница 290: ...260 ...
Страница 311: ...7 Making Software Performance Measurements How to make software performance measurements on your programs 281 ...
Страница 331: ...8 Configuring the Emulator 301 ...
Страница 382: ...352 ...
Страница 383: ...9 Solving Problems What to do when the emulator doesn t behave as expected 353 ...
Страница 397: ...Part 3 Reference 367 ...
Страница 399: ...10 Using Memory Management Understanding logical and physical emulation and analysis 369 ...
Страница 429: ...11 Emulator Commands The command syntax reference for the emulator softkey interface 399 ...
Страница 443: ...copy Chapter 11 Emulator Commands copy 413 ...
Страница 451: ...display Chapter 11 Emulator Commands display 421 ...
Страница 457: ...DISPLAY MEMORY Chapter 11 Emulator Commands DISPLAY MEMORY 427 ...
Страница 461: ...DISPLAY MMU Chapter 11 Emulator Commands DISPLAY MMU 431 ...
Страница 464: ...DISPLAY TRACE Chapter 11 Emulator Commands DISPLAY TRACE 434 ...
Страница 470: ...Examples end end locked end release_system See Also emul700 emulator_name help end Chapter 11 Emulator Commands end 440 ...
Страница 480: ...modify Chapter 11 Emulator Commands modify 450 ...
Страница 501: ...set Chapter 11 Emulator Commands set 471 ...
Страница 514: ... SYMB Chapter 11 Emulator Commands SYMB 484 ...
Страница 582: ...552 ...
Страница 583: ...13 Setting X Resources 553 ...
Страница 598: ...568 ...
Страница 606: ...576 ...
Страница 607: ...15 Microtec Language Tools Used With MC68040 Emulators Using the emulator analyzer with Microtec language tools 577 ...
Страница 613: ...16 Specifications and Characteristics 583 ...
Страница 627: ...Part 4 Concept Guide 597 ...
Страница 629: ...17 X Resources and the Graphical User Interface 599 ...
Страница 639: ...Part 5 Installation and Service Guide 609 ...
Страница 645: ...Chapter 18 Connecting the Emulator to a Target System Plugging The Emulator Into A Target System 615 ...
Страница 697: ...19 Installation and Service 667 ...
Страница 746: ...Chapter 19 Installation and Service Verifying the Installation 716 ...
Страница 755: ...20 Installing Updating Emulator Firmware 725 ...
Страница 762: ...732 ...
Страница 778: ...748 ...
Страница 810: ...X server 554 604 X Window System 54 Index 780 ...