Rom Correction Operation And Program Flow - NEC V850/SB1 User Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

START (reset vector)
CORRQn = 0?
Microcontroller initialization
Data for ROM correction setting is loaded
from an external memory into the internal
RAM to initialize ROM correction function.
If there is a correction code, it is loaded in
the internal RAM.
Executes internal ROM
Correction address?
CORENn = 1?
CORRQn flag set
: Executed by a program stored in the internal ROM
: Executed by a program stored in the internal RAM
: Executed by the ROM correction function
Caution Check the ROM correction generation from the vector table with a high interrupt level
when executing ROM correction during a vector interrupt routine.
conflicts with ROM correction, processing is branched to an interrupt vector, where, if
ROM correction is being re-executed, CORRQn is set (1) again and multiple CORRQn
flags are set (1).
determined by the interrupt level.
Remark n = 0 to 3
522
CHAPTER 17
ROM CORRECTION FUNCTION
Figure 17-2. ROM Correction Operation and Program Flow
No
Yes
program
No
Yes
No
Yes
JMP r0
The channel for which ROM correction is to be executed is
User's Manual U13850EJ6V0UD
Clears CORRQn flag.
JMP channel n correct code address
The address of the internal RAM that
stores the correction code of channel n
should be preset before the instruction
that makes the program jump to this
address is stored in the internal ROM.
Executes correction program code
Jumps to internal ROM
If an interrupt

Advertisement

Table of Contents
loading

This manual is also suitable for:

V850/sb2

Table of Contents