p2125vps20 Renesas Electronics Corporation., p2125vps20 Datasheet - Page 535

no-image

p2125vps20

Manufacturer Part Number
p2125vps20
Description
16-bit Single-chip Microcomputer H8s Family / H8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
(l)
There is an entry point for the programming program in the area from the start address of a
download destination specified by FTDAR + 16 bytes. The subroutine is called and programming
is executed by using the following steps.
• The general registers other than R0L are saved in the programming program.
• R0L is a return value of the FPFR parameter.
• Since the stack area is used in the programming program, a 128-byte stack area at the
(m) The return value in the programming program, FPFR (general register R0L) is
(n) Determine whether programming of the necessary data has finished.
If more than 128 bytes of data are to be programmed, specify FMPAR and FMPDR in 128-byte
units, and repeat steps (l) to (n). Increment the programming destination address by 128 bytes and
update the programming data pointer correctly. If an address that has already been programmed is
written to again, not only will a programming error occur, but also flash memory will be damaged.
(o)
If this LSI is restarted by a reset immediately after user MAT programming has finished, secure a
reset period (period of RES = 0) of 100 µs which is longer than normal.
MOV.L
JSR
NOP
maximum must be allocated in RAM.
Programming
determined.
After programming finishes, clear FKEY and specify software protection.
#DLTOP+16,ER2
@ER2
; Set entry address to ER2
; Call programming routine
Section 19 Flash Memory (0.18-µm F-ZTAT Version)
Rev. 1.00 Sep. 21, 2006 Page 497 of 658
REJ09B0310-0100

Related parts for p2125vps20