4-10
Computer Group Literature Center Web Site
Using The 162Bug Debugger
4
Preserving the Debugger Operating
Environment
This section explains how to avoid contaminating the operating
environment of the debugger. 162Bug uses certain of the MVME162LX
onboard resources and also offboard system memory to contain temporary
variables and exception vectors. If you disturb resources upon which
162Bug depends, then the debugger may function unreliably or not at all.
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.
162Bug Vector Table and Workspace
As described in the Memory Requirements section in Chapter 3, the
162Bug needs 64KB of read/write memory to operate. The 162Bug
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, 162Bug reserves space for static variables
and initializes these static variables to predefined default values. After the
static variables, 162Bug 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.
Содержание MVME162LX 200 Series
Страница 1: ...MVME162LX 200 300 Series Embedded Controller Installation and Use V162LX2 3A IH3 ...
Страница 6: ......
Страница 14: ...xiv ...
Страница 66: ...1 52 Computer Group Literature Center Web Site Board Level Hardware Description 1 ...
Страница 84: ...2 18 Computer Group Literature Center Web Site Hardware Preparation and Installation 2 ...
Страница 108: ...3 24 Computer Group Literature Center Web Site Debugger General Information 3 ...
Страница 156: ...IOT Command Parameters for Supported Floppy Types B 6 Computer Group Literature Center Web Site B ...
Страница 158: ...C 2 Computer Group Literature Center Web Site C ...
Страница 164: ...Ethernet Interconnections E 2 Computer Group Literature Center Web Site E ...
Страница 200: ...J 4 Computer Group Literature Center Web Site J ...
Страница 208: ...Index IN 8 Computer Group Literature Center Web Site I N D E X ...