R01UH0823EJ0100 Rev.1.00
Page 1730 of 1823
Jul 31, 2019
RX23W Group
50. Flash Memory (FLASH)
50.11 Serial Programmer Operation in Boot Mode (SCI Interface)
The following describes the procedure for the serial programmer to program/erase the user area and data area in boot
mode (SCI Interface).
1. Automatically adjust the bit rate
2. Receive the MCU information
3. Select the device and change the bit rate
4. Enter the program/erase host command wait state
5. Unlock boot mode ID code protection
6. Erase the user area and data area
7. Program the user area and data area
8. Check data in the user area
9. Check data in the data area
10. Set the access window in the user area
11. Reset the MCU
Note 1. If the necessary information has been already received, step 2 can be skipped.
Note 2. Processing steps from 6 to 10 can be proceeded as necessary, and their order can be changed.
Note 3. When a timeout occurs or invalid response data is received, stop the operation and perform step 11 (reset the
MCU).
section 50.10.5, Inquiry Commands
section 50.10.6, Setting Commands
,
section 50.10.8, Program/Erase Commands
for details on the commands used in the above steps 2 to 10.