
(
14/24
)
EFP-LC TypeE Supplementary manual
(For RX66T)
7.8
Program command
The content of the Hxw file is written with built-in MCU ROM.
Format:
P,[Hxw file name],[start address],[end address],[lock bit form]
* Hxw file name : Please specify the name of the Hxw files that have been downloaded to EFP -LC.
* start address : Start address of the area to be written
* end address : End address of the area to be written
* lock bit form : 0 : lock bit effective, 1 : Lock bit invalidity
Description example:
P,SAMPLE.Hxw,FFFFF000,FFFFFFFF,1
Detail:
Write Hxw data from the start address to the end address in the MCU built-in ROM.
If the lock bit is enabled, an error occurs if there is a locked area.
If the lock bit is invalid, writing can be performed even if there is a locked area if the data has been erased.
Note:
* The maximum size of the Hxw file that can be stored in the EFP -LC is 2 MB, so when writing data of 2 MB or more,
split the Hxw file and save it.
* An error will occur if an address outside the address range of the Hxw file is described in the start address and end
address.
* In the RX66T series, the write execution unit differs between the code flash area and data flash area. Specify the start /
end address according to the execution unit shown in Table7.4 of “7.7 Blank Check Command”
* When the end address of the MOT file is not xxxxxxFFh, in the case of the conversion from MOT in RC -Downloader
to Hxw file, please set "Setting type" in "Manual" in an item of "Hxw data domain setting". Ple ase convert top address
into xxxxxx00h with an end address as xxxxxxFFh.
MOT file area that does not exist in the source file at this time, 0xFF is set as data.
* If the program prohibition of the protection function is enabled or if the area is set to TM (trusted memory), a
protection error will occur.
* When writing to the configuration area (120000h – 1200FFh) of the option setting memory, use the O command (P.17)