English
Language : 

H8S2189R Datasheet, PDF (636/812 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family / H8S/2100 Series
Section 18 Flash Memory (0.18-µm F-ZTAT Version)
• The user MAT space is switched to the embedded program storage MAT.
• After the selection condition of the download program and the FTDAR address setting are
checked, the transfer processing to the on-chip RAM specified by FTDAR is executed.
• The SCO bit in FPCS, FECS, and FCCS is cleared to 0.
• The return value is set to the DPFR parameter.
• After the embedded program storage MAT is returned to the user MAT space, execution
returns to the user procedure program.
• In the download processing, the values of CPU general registers are retained.
• In the download processing, all interrupts are not accepted. However, interrupt requests except
for NMI are held. Therefore, when execution returns to the user procedure program, the
interrupts will occur.
• When the level-detection interrupt requests are to be held, interrupts must be input until the
download is ended.
• When hardware standby mode is entered during the download processing, normal download to
the on-chip RAM cannot be guaranteed. Therefore, download must be executed again.
• Since a stack area of 128 bytes at the maximum is used, the stack area must be allocated before
setting the SCO bit to 1.
(d) Clear FKEY to H'00 for protection.
(e) Check the value of the DPFR parameter to confirm the download result.
• Check the value of the DPFR parameter (single byte of start address of the download
destination specified by FTDAR). If the value is H'00, download has been performed
normally. If the value is not H'00, the source that caused download to fail can be investigated
by the description below.
• If the value of the DPFR parameter is the same as before downloading (e.g. H'FF), the address
setting of the download destination in FTDAR may be abnormal. In this case, confirm the
setting of the TDER bit in FTDAR.
• If the value of the DPFR parameter is different from before downloading, check the SS bit and
FK bit in the DPFR parameter to ensure that the download program selection and FKEY
setting were normal, respectively.
Rev. 2.00 Aug. 03, 2005 Page 594 of 766
REJ09B0223-0200