beautypg.com

4 detecting initialization-omitted, Detecting initialization-omitted – Renesas R0E530640MCU00 User Manual

Page 202

background image

R0E530640MCU00 User’s Manual

5. Debugging Functions

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



The Violation of access protection dialog box will be displayed.
The rest is the same as you opened it from the Hardware Break dialog box.


5.14.4 Detecting Initialization-Omitted
This is the function to determine the case where an access for read is performed before being write accessed when both
histories of read access and write access do not exist to be “initialization omitted” and output an error.
In the emulator, the blocks 0-31 (maximum 16 Kbytes) can be specified as a detection area of the initialization-omitted.

(1) Detection method

An initialization-omitted is detected by the RAM monitor function.
Allocate a RAM monitor area to a given address range and enable error detection in that area.


Detection

circuit

Both histories of
read access and
write access do
not exist

-> ->

Detected

Whether accessed for read before

being write accessed

Figure 5.145 Outline of the initialization omitted


(2) Actions taken when an initialization-omitted is detected

The following actions can be set:

- Display a warning

Selecting the Read from uninitialized memory check box on the Exception Warning page of the Configuration properties
dialog box, you can display a warning in the Status window and in a status bar balloon.

Color display in the RAM Monitor window

- Set the detection of an initialization-omitted as a condition of a hardware breakpoint
- Set the detection of an initialization-omitted as a condition of a trace point

This manual is related to the following products: