beautypg.com

3 displaying memory contents in real time, 1 displaying memory contents in real time, Displaying memory contents in real time – Renesas R0E530640MCU00 User Manual

Page 94

background image

R0E530640MCU00 User’s Manual

5. Debugging Functions

REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 94 of 229


5.3 Displaying Memory Contents in Real Time


5.3.1 Displaying Memory Contents in Real Time
To monitor memory contents while the user program is running, use the RAM Monitor window.
The RAM monitor function permits the memory content and access status in an allocated monitor area to be recorded and
inspected in real time without obstructing execution of the user program.
The RAM Monitor window shows access statuses (read, write, uninitialized or uninspected) in different colors.

(1) Allocating a RAM monitor area

A 16-Kbyte RAM monitor area is provided.
This RAM monitor area can be allocated to selected contiguous addresses or divided 32 blocks in 512-byte units.
With initial settings, a maximum 16 Kbytes of area from the beginning address of the internal RAM is allocated as a RAM
monitor area.

(2) Monitor display

The access statuses are displayed in different background colors depending on access attributes, as listed below. (The
background colors are customizable.)
The read and write accesses show the last accesses made.
Error detection can be displayed by choosing Show Error Detection from the context menu. In this case, the read and write
accesses are not displayed.

Table 5.6 Access attribute and background color

Access attribute

Background color

1 Read

access

Green

2 Write

access

Red

3

Uninitialized memory (Area not yet write
accessed is accessed for read)

Yellow

4

When
errors
detected

Uninspected memory (A write accessed area
is not yet accessed for read)

Sky blue

5 No

access

White


CAUTION
The contents shown in the RAM Monitor window are the data acquired from bus accesses. Therefore, changes made by
accessing memory via other than the user program, as when memory is rewritten directly from external I/O, are not reflected in
the displayed memory content.

This manual is related to the following products: