English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (1008/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
Function
Details of
Function
APPENDIX C LIST OF CAUTIONS
Cautions
(36/39)
Page
Flash
Security settings After the security setting for the batch erase is set, erasure cannot be performed for p.843 †
memory
the device. In addition, even if a write command is executed, data different from that
which has already been written to the flash memory cannot be written, because the
erase command is disabled.
If a security setting that rewrites boot cluster 0 has been applied, boot cluster 0 of p.843 †
that device will not be rewritten, and the entire flash memory of the device will not be
erased in batch.
Flash memory The self-programming function cannot be used when the CPU operates with the p.845 †
programming by subsystem clock.
self-
In the self-programming mode, call the self-programming start library (FlashStart). p.845 †
programming
To prohibit an interrupt during self-programming, in the same way as in the normal p.845 †
operation mode, execute the self-programming library in the state where the IE flag
is cleared (0) by the DI instruction. To enable an interrupt, clear (0) the interrupt
mask flag to accept in the state where the IE flag is set (1) by the EI instruction, and
then execute the self-programming library.
In low-power-consumption mode, use the regulator with fCLK fixed to 1 MHz when p.845 †
executing self programming. For details of the low-power-consumption mode, see
CHAPTER 25 REGULATOR.
Disable DMA operation (DENn = 0) during the execution of self programming library p.845 †
functions.
Flash shield
If the rewrite-prohibited area of the boot cluster 0 overlaps with the flash shield p.849 †
window function window range, prohibition to rewrite the boot cluster 0 takes priority.
On-chip Connecting QB- The 78K0R/Lx3 microcontrollers have an on-chip debug function, which is provided p.851 †
debug
MINI2 to
for development and evaluation. Do not use the on-chip debug function in products
function 78K0R/Lx3
designated for mass production, because the guaranteed number of rewritable times
of the flash memory may be exceeded when this function is used, and product
reliability therefore cannot be guaranteed. Renesas Electronics is not liable for
problems occurring when the on-chip debug function is used.
BCD
Addition
The value read from the BCDADJ register varies depending on the value of the A p.855 †
correction
register when it is read and those of the CY and AC flags. Therefore, execute the
circuit
instruction <3> after the instruction <2> instead of executing any other instructions.
To perform BCD correction in the interrupt enabled state, saving and restoring the A
register is required within the interrupt function. PSW (CY flag and AC flag) is
restored by the RETI instruction.
Subtraction
The value read from the BCDADJ register varies depending on the value of the A p.856 †
register when it is read and those of the CY and AC flags. Therefore, execute the
instruction <3> after the instruction <2> instead of executing any other instructions.
To perform BCD correction in the interrupt enabled state, saving and restoring the A
register is required within the interrupt function. PSW (CY flag and AC flag) is
restored by the RETI instruction.
Instruction PREFIX
Set the ES register value with MOV ES, A, etc., before executing the PREFIX p.859 †
set
instruction
instruction.
R01UH0004EJ0501 Rev.5.01
992
Jun 20, 2011