334
Chapter 9
ROM Correction Function (ROMC)
Siemens VDO Preliminary User’s Manual U17566EE1V2UM00
S
iemens
VDO
spe
ci
fic
JCP
document
Figure 9-2
ROM correction operation and program flow
Reset & start
Fetch address
= CORADm?
CORADm = DBPC-2?
CORENm bit = 1?
Initialize microcontroller
Set CORADm register
Change fetch code to
DBTRAP instruction
Branch to DBTRAP
evaluation routine
Branch to correction code address
of corresponding channel m
Execute fetch code
Read data for setting ROM
correction from external
Execute DBTRAP instruction
Jump to address 0000 0060
H
Execute correction code
Set CORCN register
Yes
Yes
Yes
No
No
Notes:
: Processing by user program (software)
: Processing by ROM correction (hardware)
Load DBTRAP exception
handler and
ROM correction code
Execute fetch code
ILGOP processing
No
Execute DBRET instruction
If necessary, correct:
- return address in DBPC
- flags in DBPSW
electronic components distributor