m37905 Renesas Electronics Corporation., m37905 Datasheet - Page 393

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
DEBUG FUNCTION
17.3 Address matching detection mode
Fig. 17.3.2 Example of ROM correct processing using address matching detection mode (1)
17-8
TOP_BUG : The start address of defective or former program.
TOP_RTN : The address next to the defective or former program.
Notes 1: When an address matching detection interrupt request has been accepted, the interrupt
TOP_BUG
TOP_RTN
Address matching detection 0 or 1 selected
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
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.
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.
This address is to be set in the address compare register 0 or 1, in advance.
Former program
Main routine
Defective
or
7905 Group User’s Manual Rev.1.0
The interrupt disable flag (I)
The contents of PG and PC
saved onto the stack area
detection interrupt routine
STAB A, LG : 0h (Note 3)
(address TOP_BUG) are
is cleared to “0” (Note 1)
TOP_RTN (Note 2).
rewritten to address
Address matching
Updated program
Modified
RTI
or

Related parts for m37905