English
Language : 

SH7137 Datasheet, PDF (994/1160 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 22 Flash Memory
• Programming
Programming is performed by issuing a programming-selection command and the 128-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 128-byte programming command. 128 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 128 bytes, repeatedly issue 128-byte programming commands.
To terminate programming, the host should send another 128-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 128-byte programming commands
is shown in figure 22.26.
Host
Programming selection (H'42, H'43)
Repeat
ACK
128-byte programming (address and data)
ACK
Boot program
Transfer the program
that performs
programming
Programming
128-byte programming (H'FFFFFFFF)
ACK
Figure 22.26 Sequence of Programming
Rev. 2.00 Sep. 10, 2008 Page 968 of 1130
REJ09B0402-0200