beautypg.com

FUJITSU F2MCTM-16LX User Manual

Page 537

background image

521

CHAPTER 22 ADDRESS MATCH DETECTION FUNCTION

Figure 22.4-5 Flow of Patch Processing for Patch Program

E

2

PROM :

0000

H

= 0

INT9

INT9

NO

YES

NO

YES

MB90360

ROM

RAM

E

2

PROM

000000

H

000100

H

000400

H

000480

H

000900

H

FF0000

H

FF8000

H

FF8050

H

FFFFFF

H

0000

H

0001

H

0002

H

0003

H

0010

H

0090

H

FFFF

H

I/O area

Register/RAM area

Patch program

RAM area

Stack area

Detection address setting

register

Program error

Patch program byte count : 80

H

Detect address (Low): 00

H

Detect address (Middle): 80

H

Detect address (High): FF

H

Patch program

Reset

Read the 00

H

of

E

2

PROM

Read detect address

E

2

PROM:

0001

H

to 0003

H

Å´

MCU: Set to PADR0

Read patch program

E

2

PROM:

0010

H

to 008F

H

Å´

MCU:

000400

H

to 000047F

H

Enable address match

detection

(PACSR: AD0E = 1)

Execution of normal

program

Program address

= PADR0

Branch to patch program

JMP 000400

H

Execution of patch program

000400

H

to 000480

H

End of patch program

JMP FF8050

H