English
Language : 

R0E417250MCU00 Datasheet, PDF (186/228 Pages) Renesas Technology Corp – E100 Emulator MCU Unit for H8SX/1700 Series
R0E417250MCU00 User’s Manual
5. Debugging Functions
5.14 Detecting Exceptional Events
5.14.1 Detecting Exceptional Events
The E100 emulator permits you to detect the occurrence of various exceptional events during user program execution.
Exceptional events include abnormal behavior of the user program, as well as an overflow of the measurement counter for
break, trace, or performance analysis. Detection of a specific exceptional event can be set as a condition of a breakpoint or
trace point.
(1) Exceptional events
The E100 emulator detects the exceptional events listed below.
- Violation of access protection: An error is detected when access in violation of a specified access attribute is attempted.
- Reading from non-initialized memory: An error is detected when a non-initialized area (not written) is read.
- Stack access violation: An error is detected when the value of the stack register is beyond a boundary of the stack area.
- Performance-measurement overflow: An error is detected when the time measurement counter for a section has overflowed.
- Realtime profile overflow: An error is detected when the maximum measurable time or maximum measurable number of
passes is exceeded during profile measurement of a function (or a task).
- Trace memory overflow: An error is detected when the trace memory has overflowed.
- Task stack access violation: An error is detected when one task attempts writing to the task stack of another task.
- OS dispatch: An error is detected if a task dispatch has occurred.
5.14.2 Detecting Violations of Access Protection
Violations of access protection such as writing to a ROM area or access to an unused area (for reading, writing, or execution of
an instruction) can be detected as an error.
(1) Access attributes
The following attributes are specifiable in word units for any area.
Read/Write: Accessible for both reading and writing
Read Only: Only accessible for reading
Write Only: Only accessible for writing
Disable: Access prohibited
Disable (OS): Access other than from the OS is prohibited (this attribute is automatically assigned when a program that
includes an OS is downloaded).
(2) Protected areas
Any area in the entire memory space can be protected.
At the time the emulator is booted up, all areas are assigned the Read/Write attribute by default.
REJ10J1831-0200 Rev.2.00 Jun.1, 2009
Page 186 of 228