Using the 166Bug Debugger

If your application enables translation through the Memory Management Units (MMUs), and if your application utilizes resources of the debugger (e.g., system calls), your application must create the necessary translation tables for the debugger to have access to its various resources. The debugger honors the enabling of the MMUs; it does not disable translation.

166Bug Vector Table and Workspace

4

As described in the Memory Requirements section in Chapter 3, 166Bug needs 64KB of read/write memory to operate. The 166Bug reserves a 1024-byte area for a user program vector table area and then allocates another 1024-byte area and builds an exception vector table for the debugger itself to use. Next, 166Bug reserves space for static variables and initializes these static variables to predefined default values. After the static variables, 166Bug allocates space for the system stack, then initializes the system stack pointer to the top of this area.

With the exception of the first 1024-byte vector table area, you must be extremely careful not to use the above-mentioned memory areas for other purposes. You should refer to the Memory Requirements section in Chapter 3 to determine how to dictate the location of the reserved memory areas. If, for example, your program inadvertently wrote over the static variable area containing the serial communication parameters, these parameters would be lost, resulting in a loss of communication with the system console terminal. If your program corrupts the system stack, then an incorrect value may be loaded into the processor Program Counter (PC), causing a system crash.

Hardware Functions

The only hardware resources used by the debugger are the EIA-232-D ports, which are initialized to interface to the debug terminal. If these ports are reprogrammed, the terminal characteristics must be modified to suit, or the ports should be restored to the debugger-set characteristics prior to reinvoking the debugger.

4-10

MVME166 Single Board Computer Installation Guide

Page 80
Image 80
Motorola MVME166IG/D2, MVME166D2 manual 166Bug Vector Table and Workspace, Hardware Functions

MVME166IG, MVME166D2, 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.