Renesas H8S/2437 Hardware Manual page 599

Renesas 16-bit single-chip microcomputer h8s family / h8s / 2600 series
Table of Contents

Advertisement

MOV.L
#DLTOP+16,ER2
JSR
@ER2
NOP
• The general registers other than R0L are retained in the programming program.
• R0L is a return value of FPFR.
• Since the stack area is used in the programming program, a stack area of 128 bytes at the
maximum must be saved in RAM.
13. Check the return value in the programming program, FPFR (general register R0L)
14. Determine whether programming of the necessary data has finished
If more than 128 bytes of data needs to be programmed, specify FMPAR and FMPDR in 128-
byte units, and repeat steps 12 to 14. Increment the programming destination address by 128
bytes and update the programming data pointer correctly. If an address which has already been
programmed is programmed again, not only will a programming error occur, but also flash
memory will be damaged.
15. After programming is finished, clear FKEY and specify software protection
If this LSI is restarted by a reset immediately after user MAT programming has finished,
secure the reset period (period of RES = 0) of 100 µs which is longer than normal.
; Set entry address to ER2
; Call programming routine
Rev. 1.00, 09/03, page 561 of 704

Advertisement

Table of Contents
loading

Table of Contents