EasyManua.ls Logo

Renesas PG-FP6 V1.06

Renesas PG-FP6 V1.06
188 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PG-FP6 V1.06 7. Usage of Communications Commands
R20UT4469EJ0800 Rev.8.00 Page 87 of 188
Oct.01.21
7.4.6 fcks command
Gets a checksum value of the program file that was downloaded to the active programing area of the FP6.
Input format
'fcks' (<type> (<start1> <end1> (<start2> <end2> (<start3> <end3> (<start4> <end4> (<start5> <end5>))))))
Description of the function
Gets a checksum value of the program file in the active programming area.
Specifies the calculation method, start address and number of bytes in the options.
If this command is specified without options, an appropriate calculation method for the target MCU is used
for all the areas.
type:
Specifies one of the following calculation methods.
crc: 32-bit CRC method
crc16: 32-bit CRC method
ari:
16-bit subtraction calculation method (When a V850, RL78, or 78K is selected)
32-bit subtraction calculation method (When a RX, RH850, SuperH, or R8C is selected)
k0s_sp: Division method (original)
startx: The start address is specified in hexadecimal. (A maximum of five ranges can be specified.)
endx: Specifies the end address in hexadecimal. (A maximum of five ranges can be specified.)
Example of usage
Example of Communication Software Terminal Display
> fcks crc 0 3fffff
Checksum Code Flash 1 : 000000-3FFFFF = 26218DD4
> fcks ari 0 3fffff 400000 41ffff
Checksum Code Flash 1 : 000000-3FFFFF = 61C0
Checksum Data Flash 1 : 400000-41FFFF = 0200
Checksum Total : 63C0

Table of Contents

Related product manuals