HD6417021 Hitachi Semiconductor, HD6417021 Datasheet - Page 104

no-image

HD6417021

Manufacturer Part Number
HD6417021
Description
SuperH RISC engine
Manufacturer
Hitachi Semiconductor
Datasheet
6.5.3
If a break is attempted at the task A return destination instruction fetch, task B is activated before
the UBC interrupt by interrupt B generated during task A processing, and the UBC interrupt is
handled after the interrupt B exception handling.
(1) Cause
The SH7032/SH7034 chip operates as follows.
It actually takes at least two cycles for the UBC interrupt generated by the address 0x00011a0c
instruction fetch cycle to be sent to the interrupt controller and interrupt exception handling to
begin. However, as shown in figure 6.3, when the UBC interrupt is generated, previously
generated interrupt B initiated by task B is accepted first, and the UBC interrupt is accepted after
completion of the interrupt B exception handling.
(2) Remedy
There is no way of preventing this operation by hardware. A software solution, such as the use of
a flag, must be employed.
Break
condition
Instruction Fetch Break
0x02000030
0x00011a0a
0x00011a0c
<Address>
(0xf000978 Overrun fetch)
0xf000974
Interrupt
Instruction replaced by interrupt
exception handling
Task B first instruction fetch
UBC first instruction fetch
Overrun fetch
<Description>
(instruction replaced by interrupt
exception handling)
F D
Figure 6.3
B accepted
F
E E
Interrupt exception
handling
M M E
UBC Operation
UBC interrupt accepted
M E E
F
D E E
f
Interrupt exception
M M
handling
E
M
HITACHI 87
E E
F

Related parts for HD6417021