R01UH0822EJ0100 Rev.1.00
Page 981 of 1041
Jul 31, 2019
RX13T Group
31. Flash Memory (FLASH)
31.11.7
Procedure to Program the User Area and Data Area
Procedure to program a user program and data in the user area and data area is as follows.
(1) Send the user/data area program preparation command (43h).
(2) Send the program command (50h) or the data area program command (51h).
(3) To place the MCU in the program/erase host command wait state, send the program command (50h FFh FFh FFh
FFh B4h) or the data area program command (51h FFh FFh FFh FFh 00h B3h) for ending the programming.
Figure 31.34
Procedure to Program the User Area and Data Area
06h (ACK)
D0h, XXh (error code)
06h (ACK)
Repeat until the user
program is completely
written.
06h (ACK)
Serial
programmer
MCU
Program
(2)
(1)
(3)
43h (user/data area program preparation command)
50h (program command) or 51h (data area program)
50h (program command for end of program)
or 51h (program command for end of program)