English
Language : 

SH7125_08 Datasheet, PDF (664/774 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 17 Flash Memory
• Programming/Erasure State
In this state, the boot program must select the form of programming corresponding to the
programming-selection command and then write data in response to 128-byte programming
commands, or perform erasure in block units in response to the erasure-selection and block-
erasure commands.
The programming and erasure commands are listed in table 17.13.
Table 17.13 Programming and Erasure Commands
Command
H'43
H'50
H'48
H'58
H'52
H'4B
H'4D
H'4F
Command Name
Function
Selection of user MAT Selects transfer of the program for user MAT programming.
programming
128-byte programming Executes 128-byte programming.
Erasure selection
Selects transfer of the erasure program.
Block erasure
Executes erasure of the specified block.
Memory read
Reads from memory.
Sum checking of user Executes sum checking of the user MAT.
MAT
Blank checking of user Executes blank checking of the user MAT.
MAT
Inquiry on boot
program state
Requests information on the state of boot processing.
• 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
and programming by the method.
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.
Rev. 4.00 Jul. 25, 2008 Page 644 of 750
REJ09B0243-0400