Renesas M16C/64 Network Card User Manual


 
R0E530640MCU00 User’s Manual 5. Debugging Functions
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 204 of 229
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