|
7220 Datasheet, PDF (192/303 Pages) Renesas Technology Corp – 8-BIT SINGLE-CHIP MICROCOMPUTER | |||
|
◁ |
APPLICATION
5.3 Usage example of ROM correction function (M37221M8/MA-XXXSP)
5.3.4 General flowchart
Figure 5.3.6 shows the general flowchart when using ROM correction function. E2PROM addresses in the
flowchart corresponds to E2PROM map (refer to âFigures 5.3.4 and 5.3.5â).
START
After reset release, read the data
from E2PROM
⢠ROM correction function 1 (address 000 16)
Valid/invalid
⢠ROM correction function 2 (address 023 16)
Valid/invalid
â5516: valid, others: invalid
Yes
No
Use ROM correction function 1 ?
⢠ROM correction address 1 (high-order)
address 021716â 00116 of E2PROM
⢠ROM correction address 1 (low-order)
address 021816â 00216 of E2PROM
ROM correction enable register
(b0 at address 021B 16)â â0â (disabled)
Store execution address
into ROM correction address 1.
Disable block 1 enable bit.
address 02C016 to 02DF16
â 00316 to 02216 of E2PROM
Store correction codes of ROM
correction function 1 into ROM
correction memory 1 (block 1).
ROM correction enable register
(b0 at address 021B 16)â â1â (enabled) Enable block 1 enable bit.
Yes
No
Use ROM correction function 2 ?
⢠ROM correction address 2 (high-order)
address 021916â 02416 of E2PROM
⢠ROM correction address 1 (low-order)
address 021A16â 02516 of E2PROM
ROM correction enable register
(b1 at address 021B 16)â â0â (disabled)
Store execution address
into ROM correction address 2.
Disable block 2 enable bit.
address 02E0 16 to 02FF16
â 02616 to 04516 of E2PROM
Store correction codes of ROM
correction function 2 into ROM
correction memory 2 (block 2).
ROM correction enable register
(b1 at address 021B 16)â â1â (enabled) Enable block 2 enable bit.
END
Fig. 5.3.6 General flowchart when using ROM correction function
7220 Group Userâs Manual
5-19
|
▷ |