PG-FP6 V1.06 7. Usage of Communications Commands
R20UT4469EJ0800 Rev.8.00 Page 91 of 188
Oct.01.21
7.4.10 lod command
Downloads the program file, DLM key, and user key to the active programming area of the FP6.
Input format
'lod' ('add') ('key' <type> (<address>)) (fname="<filename>") ('ftime="<date and time>")
Description of the function
Downloads the program file, DLM key, and user key to an active programming area. After this command is
executed, the program file must be downloaded to the FP6 in ASCII format using communications software.
If using the terminal software, select [Transfer], and then select the program file. The options are to delete or
not to delete the file before downloading, the file name, and the creation date. If this command is executed
without any options, the file name and creation date will not be stored. Use the FP6 Terminal.
Caution: In V1.04.00 and later versions, the CRC of the program file in the range of the ROM space of the
target device is calculated and displayed before the program file is downloaded. Data outside the
range of the ROM space are not in the scope of CRC calculation.
Specifying the add option omits the erasure of data that have been stored in the FP6 before downloading of
the file for programming.
<type>
Specifying the type of key.
seckey: SECDBG key
nonseckey: NONSECDBG key
rmakey: RMA key
userkey: User key
<type>
Specifying the start address when the user key is specified.
Notes: 1. The name of the file for programming and the date and time of its creation are specified as fname
and ftime at the time of saving when the command is executed with the add option.
2. If the amount of data in the file from the target address for downloading overlaps earlier data, the
later data to have been downloaded become valid.
fname = “filename”:
Designates the file name of the program file that is downloaded. The maximum number of characters is 31. If
32 or more characters are specified, the first 31 characters are used.
ftime = “date and time”:
Designates the creation date and time of the downloaded program file. The format is YYYY-MM-DD HH:MM.
YYYY: Year; MM: Month; DD: Date; HH: Hour; MM: Minute