
(
21/24
)
EFP-LC TypeE Supplementary manual
(For RX66T)
8
Reference script
The script for reference when writing and erasing the RX66T series is described below.
Refer to “7.Command descriptions for RX” for details of the script command.
<Reference script (ROM capacity: User area 512KB)>
Script format
Command description
; MCU type set
T=38
; Baud rate setting
S=1
; Mode entry
M,oco
; ID verification
i,1,0102030405060708090A0B0C0D0E0F00,1
; Erase all area
e,,1
e,FF7FFFFF,1
; Blank check
b,FFF80000,FFFFFFFF
b,00100000,00107FFF
b,FF7F8000,FF7FFFFF
; program
p,User_Prog.hxw,FFF80000,FFFFFFFF,1
p,Data_Program.hxw,00100000,00107FFF,1
p,Boot_Program.hxw,FF7F8000,FF7FFFFF,1
; Verify check
v,User_Prog.hxw,FFF80000,FFFFFFFF
v,Data_Program.hxw,00100000,00107FFF
v,Boot_Program.hxw,FF7F8000,FF7FFFFF
38: Select RX (little endian)
Set communication baud rate to 1.5Mbps
Works with on-chip oscillator, no log output
Verification of boot ID authentication code
(If the ID code is not set, the ID code will be set.)
Erase user area and data area
Erase user boot area
Blank check of user area
Blank check of data area
Blank check of user boot area
Write program to user area
Write program to data area
Write program to user boot area
Verify check with “User_Prog.hxw”
Verify check with "Data_Program.hxw"
Verify check with "Boot_Program.hxw"