Debugging
© PHYTEC Meßtechnik GmbH 2002 L-462e_2
55
The following figure (see Figure 5) depicts the memory layout that is
configured by the Keil monitor for 64 kByte RAM.
Figure 5:
Memory Model for Use with the Keil Monitor (64 kByte RAM)
Note:
When using the von Neumann memory architecture, ensure that the
CODE and XDATA areas within the application program do not
overlap. This is important because otherwise portions of the program
(CODE) will be overwritten by e.g. variables (XDATA), resulting in
an error when executing user code.
I/O Area (for details
see Hardware Manual)
RAM for application CODE and
XDATA portions
von Neumann XDATA portion of
target Monitor firmware (mon51.hex)
CODE access
XDATA access
E000H
0000H
FFFFH
RAM U5
DFFFH
Write-Only
Read-Write
Read-Only
Flash U4
Monitor firmware
(mon51.hex)
CODE portions
DF00H
FC00H
RAM for additional
application XDATA
portions
von Neumann
Harvard