Datasheet

Section 22 Flash Memory
Page 1190 of 1408 R01UH0309EJ0500 Rev. 5.00
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
Where the sequence of programming operations that is executed includes programming with
another method or of another ROM, the procedure must be repeated from the programming
selection command.
The sequence for programming-selection and 128-byte programming commands is shown in
figure 22.14.
Transfer of the
programming
program
Host Boot program
Programming selection (H'42, H'43, H'44)
ACK
Programming
128-byte programming (address, data)
ACK
128-byte programming (H'FFFFFFFF)
ACK
Repeat
Figure 22.14 Programming Sequence
(a) User-Program Programming Selection
The boot program will transfer a program for programming. The data is programmed to the user
ROMs by the transferred program for programming.
Command H'43
Command, H'43, (1 byte): User-program programming selection
Response H'06
Response, H'06, (1 byte): Response to user-program programming selection
When the programming program has been transferred, the boot program will return ACK.
Error response H'C3 ERROR
Error response, H'C3, (1 byte): Error response for user-program programming selection
ERROR: (1 byte): Error code
H'54: Selection processing error (transfer error occurs and processing is not completed)