Using the 166Bug Debugger

Example: Trace one instruction using debugger.

 

166Bug>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

4

 

A0

=00000000

A1

 

=00000000

A2

=00000000

A3

=00000000

 

A4

=00000000

A5

 

=00000000

A6

=00000000

A7

=0000FFFC

 

00010000 203C0000

0001

MOVE.L

#$1,D0

 

 

 

166Bug>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

 

 

 

166Bug>

 

 

 

 

 

 

 

 

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 166Bug or it may create a separate exception vector table of its own. The two following sections detail these two methods.

Using 166Bug Target Vector Table

The 166Bug 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.

4-12

MVME166 Single Board Computer Installation Guide

Page 82
Image 82
Motorola MVME166IG/D2 manual Using 166Bug Target Vector Table

MVME166IG/D2 specifications

The Motorola MVME166IG/D2 is a pioneering embedded computer designed for high-performance applications in industrial and telecom sectors. This versatile computing platform is based on the PowerPC architecture, which ensures efficient processing capabilities and transfer of data, making it suitable for a wide range of applications, including real-time control, data acquisition, and system monitoring.

One of the main features of the MVME166IG/D2 is its powerful processor. The system is equipped with a PowerPC 603e processor, which offers a remarkable performance rate with a clock speed of up to 250 MHz. This high-speed processing capability allows for rapid data handling and processing, which is critical for demanding applications in real-time environments.

The MVME166IG/D2 also stands out due to its modular design. It supports multiple expansion slots that make it adaptable for different user needs. The system can accommodate additional cards or memory modules, allowing for increased versatility and capability in various operational scenarios.

In terms of connectivity, this embedded computer includes multiple communication interfaces such as Ethernet and serial ports, which facilitate seamless data transfer and communication within larger systems. This connectivity is crucial for integrating the device into existing industrial networks or for connecting with sensors and other equipment.

Another noteworthy characteristic of the MVME166IG/D2 is its robust build quality, which is essential for operation in challenging environments. The device is designed to endure high levels of shock and vibration, making it suitable for deployment in applications such as transportation or heavy machinery.

Additionally, the MVME166IG/D2 offers a range of software support which includes various real-time operating systems. This compatibility allows developers to choose the OS that best fits their application's requirements, enhancing the overall utility of the system.

In summary, the Motorola MVME166IG/D2 is a powerful, flexible embedded computing solution that excels in performance, modularity, and reliability. Its advanced features and durable design make it an ideal choice for industries that require precision, speed, and robustness in their computing solutions.