English
Language : 

SH7059 Datasheet, PDF (798/1042 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
24. ROM (SH7058S)
Table 24.19 Programming/Erasing Commands
Command
H'42
Command Name
User boot MAT programming selection
H'43
H'50
H'48
H'58
H'52
H'4A
H'4B
H'4C
User MAT programming selection
128-byte programming
Erasing selection
Block erasing
Memory read
User boot MAT checksum
User MAT checksum
User boot MAT blank check
H'4D
User MAT blank check
H'4F
Boot program status inquiry
Description
Transfers the user boot MAT programming
program
Transfers the user MAT programming program
Programs 128 bytes of data
Transfers the erasing program
Erases a block of data
Reads the contents of memory
Checks the checksum of the user boot MAT
Checks the checksum of the user MAT
Checks whether the contents of the user boot
MAT are blank
Checks whether the contents of the user MAT
are blank
Inquires into the boot program's state
Programming: Programming is executed by a programming selection command and a 128-byte programming command.
First, the host should send the programming selection command and select the programming method and programming
MATs. There are three programming selection commands used according to the area and method for programming.
(1) User boot MAT programming selection
(2) User MAT programming selection
After issuing the programming selection command, the host should send the 128-byte programming command. The 128-
byte programming command that follows the selection command represents the data programmed according to the method
specified by the selection command. When more than 128-byte data is programmed, 128-byte commands should
repeatedly be executed. Sending a 128-byte programming command with H'FFFFFFFF as the address will stop the
programming. On completion of programming, the boot program will wait for selection of programming or erasing.
To continue programming with another method or of another MAT, the procedure must be repeated from the
programming selection command.
The programming selection command and sequence for the 128-byte programming commands are shown in figure 24.30.
Rev.3.00 Mar. 12, 2008 Page 708 of 948
REJ09B0177-0300