PG-FP5 CHAPTER 8 USAGE COMMUNICATION COMMANDS
R20UT0008EJ0400 Rev. 4.00 Page 150 of 240
Jul 15, 2010
8.4.6 fcks command
Executes the programming GUI [File] menu -> [Checksum...] command.
Input format
'fcks' <type> <(code)start> <(code)end> (<data_start> <data_end>)
Description of the function
Executes a similar function to the programming GUI [File] menu -> [Checksum...] command.
Specifies the calculation method, starting address and number of bytes in the options.
type: Specifies the calculation method.
crc: 32-bit CRC method
ari: 16-bit subtraction calculation method
k0s_sp: Division method (original)
start: The starting address is specified in hexadecimal. If a PR5 file that supports data flash is downloaded, then
the code area and data area can be specified.
end: Specifies the end address in hexadecimal. If a PR5 file that supports data flash is downloaded, then the
code area and data area can be specified.
Example of usage
Command Screen output
fcks crc 0 3fffff Checksum Code : 000000-3FFFFF = 26218DD4
fcks ari 0 3fffff Checksum Code : 000000-3FFFFF = 61C0
fcks k0s_sp 0 3fffff Checksum Code : 000000-3FFFFF = 060E
fcks ari 0 3fffff 400000 41ffff Checksum Code : 000000-3FFFFF = 61C0
Checksum Data : 400000-41FFFF = 0200
Checksum Total : 63C0