m37905 Renesas Electronics Corporation., m37905 Datasheet - Page 394

no-image

m37905

Manufacturer Part Number
m37905
Description
Mitsubishi 16-bit Single-chip Microcomputer 7700 Family / 7900 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m37905F8CSP
Manufacturer:
MIT
Quantity:
20 000
Fig. 17.3.3 Example of ROM correct processing using address matching detection mode (2)
TOP_BUG1
TOP_RTN1
TOP_BUG2
TOP_RTN2
Address matching detection 2 selected
Former program
Former program
TOP_BUG1 : The start address of defective or former program
TOP_RTN1 : The address next to the defective or former program
TOP_BUG2 : The start address of defective or former program
TOP_RTN2 : The address next to the defective or former program
Notes 1: When an address matching detection interrupt request has been accepted, the interrupt
Main routine
Defective
Defective
or
or
2: Each status of PG, PC, and PS immediately before acceptance of an address matching
3: Make sure that this instruction is executed in the absolute long addressing mode. The
disable flag (I) is set to “1.” If another interrupt requests is required to be accepted under
the same conditions as those of the defective or former program, be sure to clear the
interrupt disable flag (I) to “0” at the start of an address matching detection interrupt
routine.
detection interrupt request is saved onto the stack area. (The contents of PG, PC, and
PS are saved onto the stack area in this order.) Refer to section “6.7 Sequence from
acceptance of interrupt request until execution of interrupt routine.”
above is just an example. In an actual programming, be sure to refer to the format of the
assembler description to be used.
This address is to be set in the address compare register 0, in advance.
This address is to be set in the address compare register 1, in advance.
7905 Group User’s Manual Rev.1.0
The interrupt disable flag (I)
The contents of PG and PC
detection interrupt routine
saved onto the stack area
(address TOP_BUG1) are
STAB A, LG : 0h (Note 3)
is cleared to “0” (Note 1)
detection 2 decision bit?
TOP_RTN1 (Note 2).
17.3 Address matching detection mode
rewritten to address
Updated program
Address matching
Address-matching-
Modified
RTI
or
0
.
.
.
.
DEBUG FUNCTION
1
The contents of PG and PC
(address TOP_BUG2) are
saved onto the stack area
TOP_RTN2 (Note 2).
rewritten to address
Updated program
Modified
or
17-9

Related parts for m37905