Section 17 Flash Memory
Rev. 3.00 Sep. 27, 2007 Page 642 of 758
REJ09B0243-0300
•
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 Command
Name
Function
H'43
Selection of user MAT
programming
Selects transfer of the program for user MAT programming.
H'50
128-byte programming Executes 128-byte programming.
H'48
Erasure selection
Selects transfer of the erasure program.
H'58
Block erasure
Executes erasure of the specified block.
H'52
Memory read
Reads from memory.
H'4B
Sum checking of user
MAT
Executes sum checking of the user MAT.
H'4D
Blank checking of user
MAT
Executes blank checking of the user MAT.
H'4F
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.
Summary of Contents for SH7124 R5F7124
Page 2: ...Rev 3 00 Sep 27 2007 Page ii of xx ...
Page 8: ...Rev 3 00 Sep 27 2007 Page viii of xx ...
Page 36: ...Section 1 Overview Rev 3 00 Sep 27 2007 Page 16 of 758 REJ09B0243 0300 ...
Page 68: ...Section 2 CPU Rev 3 00 Sep 27 2007 Page 48 of 758 REJ09B0243 0300 ...
Page 108: ...Section 5 Exception Handling Rev 3 00 Sep 27 2007 Page 88 of 758 REJ09B0243 0300 ...
Page 166: ...Section 7 User Break Controller UBC Rev 3 00 Sep 27 2007 Page 146 of 758 REJ09B0243 0300 ...
Page 724: ...Section 20 List of Registers Rev 3 00 Sep 27 2007 Page 704 of 758 REJ09B0243 0300 ...
Page 772: ...Rev 3 00 Sep 27 2007 Page 752 of 758 REJ09B0243 0300 ...
Page 778: ...Rev 3 00 Sep 27 2007 Page 758 of 758 REJ09B0243 0300 ...
Page 781: ......