Analyzing Program Execution When The Mmu Is Enabled; To Program The Demmuer In A Static Memory System - HP MC68040 User Manual

Emulator, graphical user interface
Table of Contents

Advertisement

Analyzing Program Execution When The MMU Is Enabled

Analyzing Program Execution When The MMU Is
Enabled
Most emulation and analysis commands that require an address as part of the
command use logical addresses. When the MC68040 MMU is enabled, physical
addresses are placed on the emulation bus. The physical addresses may not be the
same as the logical addresses. The deMMUer reverse translates the physical
addresses back to logical addresses and supplies these to the analyzer so that the
analyzer can:
accept commands expressed in source file symbols.
display trace lists with addresses expressed in source file symbols.
display appropriate portions of source code preceding lists of trace data.
Refer to Chapter 10, "Using Memory Management", for detailed information to
help you use the deMMUer more efficiently.
To program the deMMUer in a static memory
system
1 Run your program to the point where you are sure the MMU is set up.
2 Break to the monitor program by choosing Execution→Break.
Using the command line, enter:
break
3 Choose Settings→DeMMUer→Load from Memory.
If you want the emulator to override one or more of the MMU register values with
values you specify during the load process, choose Settings→DeMMUer→Load
from Memory..., and specify the desired values in the dialog box.
Chapter 5: Using the Emulation-Bus Analyzer
229

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ec040Lc04064783a64783b

Table of Contents