Renesas H8S/2100 Series Hardware Manual page 772

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

Advertisement

Section 24 Flash Memory
4. When the program preparation notice is received, the state of waiting for program data is
entered. The start address of the programming destination and program data must be
transmitted after the programming command is transmitted. When programming is finished,
the start address of the programming destination must be set to H'FFFFFFFF and transmitted.
Then the state of waiting for program data is returned to the state of waiting for
programming/erasing command. When reprogramming an erase block including an area on
which the programming end command is issued, erase the erase block. An example of the
erase block is shown in figure 24.9. When the erasure preparation notice is received, the state
of waiting for erase block data is entered. The erase block number must be transmitted after the
erasing command is transmitted. When the erasure is finished, the erase block number must be
set to H'FF and transmitted. Then the state of waiting for erase block data is returned to the
state of waiting for programming/erasing command. Erasure must be executed when the
specified block is programmed without a reset start after programming is executed in boot
mode. When programming can be executed by only one operation, all blocks are erased before
entering the state of waiting for programming/erasing command or another command. Thus, in
this case, the erasing operation is not required. The commands other than the
programming/erasing command perform check sum, blank check (erasure check), and memory
read of the user MAT and acquisition of current status information.
Memory read of the user MAT can only read the data programmed after all user MAT has
automatically been erased. No other data can be read.
Figure 24.9 Example of Erase Block Including Programmed Area
Rev. 1.00 May 09, 2008 Page 746 of 954
REJ09B0462-0100
EB5
EB6
Programming
end area
EB7
EB8
Before reprogramming erase blocks EB6 and
EB7 on which the programming end command
is issued, erase the blocks (EB6 and EB7).

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2112r

Table of Contents