R01UH0823EJ0100 Rev.1.00
Page 1737 of 1823
Jul 31, 2019
RX23W Group
50. Flash Memory (FLASH)
50.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 50.39
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)