Renesas H8S Series Hardware Manual page 820

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

Section 21 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.
• If a flash memory access by the DTC is requested during downloading, the operation cannot be
guaranteed. Therefore, access by the DTC must not occur.
(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. 3.00 Jul. 14, 2005 Page 772 of 986
REJ09B0098-0300

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2100 seriesH8s/2114rR4f2114r

Table of Contents