RX13T Group
31.11.6
Procedure to Erase the User Area and Data Area
Procedure to erase blocks that are programmed in the user area and data area to program a user program and data is as
follows.
(1) Send an erase preparation command (48h).
(2) Send a block erase command (59h).
(3) To place the MCU in the program/erase host command wait state, send a block erase command for ending the
erasure (59h 04h FFh FFh FFh FFh A7h).
Repeat until all blocks for
programming the user
program are erased.
Figure 31.33
Procedure to Erase the User Area and Data Area
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
Serial
programmer
48h (erase preparation command)
59h (block erase command for end of erase)
06h (ACK)
59h (block erase command)
06h (ACK)
D9h, XXh (error code)
06h (ACK)
31. Flash Memory (FLASH)
MCU
(1)
Erase
(2)
(3)
Page 980 of 1041