4-12
Computer Group Literature Center Web Site
Using The 162Bug Debugger
4
Example: Trace one instruction using debugger.
162Bug>
RD
PC =00010000 SR =2700=TR:OFF_S._7_..... VBR =00000000
USP =0000DFFC MSP =0000EFFC ISP* =0000FFFC SFC =0=F0
DFC =0=F0 CACR =0=........
D0 =00000000 D1 =00000000 D2 =00000000 D3 =00000000
D4 =00000000 D5 =00000000 D6 =00000000 D7 =00000000
A0 =00000000 A1 =00000000 A2 =00000000 A3 =00000000
A4 =00000000 A5 =00000000 A6 =00000000 A7 =0000FFFC
00010000 203C0000 0001 MOVE.L #$1,D0
162Bug>
T
PC =00010006 SR =2700=TR:OFF_S._7_..... VBR =00000000
USP =0000DFFC MSP =0000EFFC ISP* =0000FFFC SFC =0=F0
DFC =0=F0 CACR =0=........
D0 =00000001 D1 =00000000 D2 =00000000 D3 =00000000
D4 =00000000 D5 =00000000 D6 =00000000 D7 =00000000
A0 =00000000 A1 =00000000 A2 =00000000 A3 =00000000
A4 =00000000 A5 =00000000 A6 =00000000 A7 =0000FFFC
00010006 D280 ADD.L D0,D1
162Bug>
Notice that the value of the target stack pointer register (A7) has not
changed even though a trace exception has taken place. Your program may
either use the exception vector table provided by the 162Bug or it may
create a separate exception vector table of its own. The two following
sections detail these two methods.
Using 162Bug Target Vector Table
The 162Bug initializes and maintains a vector table area for target
programs. A target program is any program started by the bug, either
manually with GO or TR type commands or automatically with the BO
command. The start address of this target vector table area is the base
address of the debugger memory. This address is loaded into the target-
state VBR at power up and cold-start reset and can be observed by using
the RD command to display the target-state registers immediately after
power up.
Summary of Contents for MVME162LX 200 Series
Page 1: ...MVME162LX 200 300 Series Embedded Controller Installation and Use V162LX2 3A IH3 ...
Page 6: ......
Page 14: ...xiv ...
Page 66: ...1 52 Computer Group Literature Center Web Site Board Level Hardware Description 1 ...
Page 84: ...2 18 Computer Group Literature Center Web Site Hardware Preparation and Installation 2 ...
Page 108: ...3 24 Computer Group Literature Center Web Site Debugger General Information 3 ...
Page 158: ...C 2 Computer Group Literature Center Web Site C ...
Page 164: ...Ethernet Interconnections E 2 Computer Group Literature Center Web Site E ...
Page 200: ...J 4 Computer Group Literature Center Web Site J ...
Page 208: ...Index IN 8 Computer Group Literature Center Web Site I N D E X ...