h8s-2646 Renesas Electronics Corporation., h8s-2646 Datasheet - Page 159

no-image

h8s-2646

Manufacturer Part Number
h8s-2646
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
6.3
The operation flow from break condition setting to PC break interrupt exception handling is
shown in sections 6.3.1, PC Break Interrupt Due to Instruction Fetch, and 6.3.2, PC Break
Interrupt Due to Data Access, taking the example of channel A.
6.3.1
1. Initial settings
2. Satisfaction of break condition
3. Interrupt handling
 Set the break address in BARA. For a PC break caused by an instruction fetch, set the
 Set the break conditions in BCRA.
 When the instruction at the set address is fetched, a PC break request is generated
 After priority determination by the interrupt controller, PC break interrupt exception
address of the first instruction byte as the break address.
BCRA bit 6 (CDA): With a PC break caused by an instruction fetch, the bus master must
be the CPU. Set 0 to select the CPU.
BCRA bits 5 to 3 (BAMA2 to BAMA0): Set the address bits to be masked.
BCRA bits 2, 1 (CSELA1, CSELA0): Set 00 to specify an instruction fetch as the break
condition.
BCRA bit 0 (BIEA): Set to 1 to enable break interrupts.
immediately before execution of the fetched instruction, and the condition match flag
(CMFA) is set.
handling is started.
Operation
PC Break Interrupt Due to Instruction Fetch
Rev. 5.00 Sep 22, 2005 page 133 of 1136
Section 6 PC Break Controller (PBC)
REJ09B0257-0500

Related parts for h8s-2646