Справочник Пользователя для Renesas R0E530640MCU00

Скачать
Страница из 229
R0E530640MCU00 User’s Manual 
5. Debugging Functions 
REJ10J1733-0100  Rev.1.00  Apr. 01, 2008 
Page 116 of 229 
 
 
 
 
5.8    Setting Hardware Break Conditions 
 
5.8.1  Setting Hardware Break Conditions 
A hardware break causes the user program to stop running a specified number of cycles after a set event or phenomenon is 
detected (i.e., a hardware breakpoint is encountered). Up to 16 events can be specified as hardware breakpoint conditions. 
 
 
5.8.2  Setting Hardware Breakpoints 
(1)  Setting Hardware Breakpoints 
For hardware breakpoints, you can set an OR condition, other condition (AND (Accumulation), AND (Simultaneous), 
subroutine, sequential or state transition) and detection of exception events. 
The OR condition, other condition and the detection of exception events can be set all at the same time, or only one at a time. 
 
 
 
 
 
Program execution 
 
 
 
 
 
 
OR condition 
->
 
 
 
 
 
 
Other conditions 
 
 
 
 
AND (Accumulation) 
 
 
 
 
AND (Simultaneous) 
->
Hardware Breakpoint is met
 
 
Subroutine 
 
 
 
 
Sequential 
 
 
 
 
State transitions 
 
 
 
 
 
 
 
Exception event 
->
 
 
 
 
 
↓ 
} Delay value 
 
 
 
Break 
 
Figure 5.42 Outline of the hardware break