English
Language : 

SH7211 Datasheet, PDF (992/1228 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family
Section 21 Flash Memory
(8) Programming
Programming is performed by issuing a programming-selection command and the 256-byte
programming command.
Firstly, the host issues the programming-selection command to select the MAT to be programmed.
Two programming-selection commands are provided for the selection of either of the two target
areas.
1. Selection of user boot MAT programming
2. Selection of user MAT programming
Next, the host issues a 256-byte programming command. 256 bytes of data for programming by
the method selected by the preceding programming selection command are expected to follow the
command. To program more than 256 bytes, repeatedly issue 256-byte programming commands.
To terminate programming, the host should send another 256-byte programming command with
the address H'FFFFFFFF. On completion of programming, the boot program waits for the next
programming/erasure selection command.
To then program the other MAT, start by sending the programming select command.
The sequence of programming by programming-selection and 256-byte programming commands
is shown in figure 21.23.
Host
Programming selection (H'42, H'43)
Repeat
ACK
256-byte programming (address and data)
ACK
Boot program
Transfer the program
that performs
programming
Programming
256-byte programming (H'FFFFFFFF)
ACK
Figure 21.23 Sequence of Programming
Rev. 2.00 May. 08, 2008 Page 968 of 1200
REJ09B0344-0200