NEC V850ES/KE1+ User Manual page 623

32-bit single-chip microcontrollers
Table of Contents

Advertisement

CHAPTER 24 ROM CORRECTION FUNCTION
Figure 24-2. ROM Correction Operation and Program Flow
Reset & start
Initialize microcontroller
Set CORADn register
Load program for judgment
of ROM correction and
correction codes
Set CORCN register
CORENn bit = 1?
Fetch address
= CORADn?
Change fetch code to
DBTRAP instruction
Execute DBTRAP instruction
Jump to address 00000060H
Branch to ROM correction
judgment address
CORADn = DBPC − 2?
Branch to correction code address
of corresponding channel n
Execute correction code
Write return address to
DBPC.
Write value of PSW to
DBPSW as necessary.
Execute DBRET instruction
Remarks 1.
: Processing by user program (software)
: Processing by ROM correction (hardware)
2. n = 0 to 3
User's Manual U16896EJ2V0UD
Read data for setting ROM
correction from external memory
No
Yes
Execute fetch code
No
Yes
Execute fetch code
No
ILGOP processing
Yes
623

Advertisement

Table of Contents
loading

This manual is also suitable for:

?pd70f3302?pd703302?pd70f3302y?pd703302y

Table of Contents