English
Language : 

SH7730 Datasheet, PDF (1051/1188 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7780 Series
Section 30 User Break Controller (UBC)
Hardware operations
Exception/interrupt
is generated
SPC ← PC
SSR ← SR
SR.BL ← B'1
SR.MD ← B'1
SR.RB ← B'1
Exception
EXPEVT ← Exception code
Exception/interrupt/trap?
Interrupt
INTEVT ← Interrupt code
Trap
EXPEVT ← H'160
TRA ← TRAPA (imm)
SGR ← R15
No
Reset exception?
Yes
(CBCR.UBDE == 1)
No
&& (user break)?
PC ← DBR
PC ← VBR + vector offset
Yes
PC ← H'A000 0000
Debugging program
R15 ← SGR
(STC instruction)
Exception handling routine
Execute RTE instruction
PC ← SPC
SR ← SSR
Exception operation ends
Figure 30.2 Flowchart of User Break Debugging Support Function
Rev. 1.00 Sep. 19, 2007 Page 1003 of 1136
REJ09B0359-0100