English
Language : 

SH7080 Datasheet, PDF (1360/1644 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 23 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 23.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 23.26 Sequence of Programming
Rev. 3.00 May 17, 2007 Page 1302 of 1582
REJ09B0181-0300