English
Language : 

SH7125_08 Datasheet, PDF (667/774 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 17 Flash Memory
The specified address should be on a boundary corresponding to the unit of programming
(programming size). For example, when programming 128 bytes of data, the lowest byte of the
address should be either H'00 or H'80. When less than 128 bytes of data are to be programmed, the
host should transmit the data after padding the vacant bytes with H'FF.
To terminate programming of a given MAT, send a 128-byte programming command with the
address field H'FFFFFFFF. This informs the boot program that all data for the selected MAT have
been sent; the boot program then waits for the next programming/erasure selection command.
Command H'50
Address for programming
SUM
 Command H'50 (1 byte): 128-byte programming
 Address for programming (4 bytes): Terminating code (H'FF, H'FF, H'FF, H'FF)
 SUM (1 byte): Checksum
Response H'06
 Response H'06 (1 byte): Response to 128-byte programming
This ACK code is returned on completion of the requested programming.
Error
response
H'D0
ERROR
 Error response H'D0 (1 byte): Error response to 128-byte programming
 ERROR (1 byte): Error code
H'11: Sum-check error
H'53: Programming error
Rev. 4.00 Jul. 25, 2008 Page 647 of 750
REJ09B0243-0400