Detecting A Trace Memory Overflow; Detecting A Task Stack Access Violation - Renesas M16C/64 User Manual

Emulator mcu unit for m16c/64 group
Table of Contents

Advertisement

R0E530640MCU00 User's Manual
5. Debugging Functions

5.14.7 Detecting a Trace Memory Overflow

This is a function to detect that trace memory capacity (4MB cycle) overflowed and output an error.
(1) Actions taken when a trace memory overflow is detected
The following actions can be set:
- Display a warning
Selecting the Trace memory overflow 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.
- Set the detection of a trace memory overflow as a condition of a hardware breakpoint

5.14.8 Detecting a Task Stack Access Violation

This function is enabled when a load module that includes the OS is downloaded. It detects that a write to the relevant task
stack was attempted from another task.
(1) Initial settings at startup
At startup, the check box labeled "Automatically set address areas at downloading" is selected (flagged by a check mark).
However, because address information is nonexistent, the function does not work until a program is downloaded.
(2) Actions taken when a task stack access violation is detected
The following actions can be set:
- Display a warning
Selecting the Task stack access violation 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.
- Set the detection of a task stack access violation as a condition of a hardware breakpoint
- Set the detection of a task stack access violation as a condition of a trace point
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 204 of 229

Advertisement

Table of Contents
loading

This manual is also suitable for:

R0e530640mcu00

Table of Contents