Renesas RH850 Manuale Utente

Pagina di 71
PG-FP5 V2.13 
 
R20UT2924EJ0200  Rev.2.00 
 
Page 31 of 71 
Mar 02, 2015 
(7)  [Checksum] command 
The [Checksum] command displays the checksum in the target device in the action log window.  As the calculation 
method, either 32-bit addition or 32-bit CRC can be selected.  For more information, refer to 1.3.3 (14)(b). 
 
Note 
The checksum read by this command differs from the one displayed in the [File checksum] area in the 
programmer parameter window.  For details on the [File checksum] area, refer to 1.3.1 (3) [Checksum] 
command. 
 
The checksum is calculated as follows.  Note that this is the result when the [Enable Checksum Compare Function] 
check box of the FP5 manager dialog box is not selected. 
 
Method:  Subtraction (32-bit arithmetic (addition)) 
Range:   The whole of areas (user, data, and user boot areas) selected in the [Operation Area] area on the [Advanced] 
tab in the Device Setup dialog box 
Note 
If at least one block of an area is selected, the entire area is subjected to calculation. 
 
>sum 
Code flash:     0x0FF169A0 
User Boot area: 0x007F8000 
Data flash:     0x003FF1D9 
Total:          0x10B0DB79 
PASS 
Checksum operation finished. 
 
Figure 1.41  Action Log Window After [Checksum] Command Execution 
Note 
With the 32-bit arithmetic (Addition) mode, the lower 8 digits of the result from which a value is subtracted from 
00h in 1-byte units are displayed. 
 
Method:  32-bit CRC 
Range: 
Area set in the [Operation Area] area on the [Advanced] tab in the Device Setup dialog box 
 
>sum 
Code flash:     0xA19FB353 
User Boot area: 0x42A83D27 
Data flash:     0x1D047738 
Total:          0x014C67B2 
PASS 
Checksum operation finished. 
 
Figure 1.42  Action Log Window After [Checksum] Command Execution 
Note 
32-bit CRC displays the 8-digit result of CRC32 function operation.  For the calculation specifications, refer to 
Common APPENDIX B SUPPLEMENTARY INFORMATION Figure B.2 32-bit CRC Calculation Specifications.