English
Language : 

HD64F2168 Datasheet, PDF (726/874 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer
• Programming
Programming is executed by a programming-selection command and a 128-byte programming
command.
Firstly, the host should send the programming-selection command and select the programming
method and programming MATs. There are two programming selection commands, and
selection is 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.
Where the sequence of programming operations that is executed includes programming with
another method or of another MAT, the procedure must be repeated from the programming
selection command.
The sequence for programming-selection and 128-byte programming commands is shown in
figure 20.23.
Host
Repeat
Programming selection (H'42, H'43)
ACK
128-byte programming (address, data)
ACK
128-byte programming (H'FFFFFFFF)
ACK
Boot program
Transfer of the
programming
program
Programming
Figure 20.23 Programming Sequence
Rev. 3.00, 03/04, page 686 of 830