Everything
 

CRC Operations dialog box


This dialog box is used to set the CRC operation.

Figure A.10

CRC Operations Dialog Box

 

The following items are explained here.

[How to open]

-

On the Property panel, select the following property, and then click the [...] button.

-

From the [Hex Output Options] tab, [CRC Operations] in the [CRC Operation] category

[Description of each area]

(1)

Output address list area

(a)

Output address list

A list of output addresses is displayed.

The output address is a key for recognizing multiple CRC operation settings.

(b)

Button

Add

Opens the Character String Input dialog box.

The address specified in the dialog box is appended to the end of a list of output addresses.

The address is entered as a hexadecimal value from 0 to FFFFFFFE.

Remove

Deletes the selected output address from the list.

Edit

Opens the Character String Input dialog box to change the output address selected in the list.

The address is entered as a hexadecimal value from 0 to FFFFFFFE.

(2)

[CRC operation property] area

Displays and sets the properties of the CRC operation for the output address selected in the Output address list area.

(a)

[CRC Operations]

The detailed information on CRC operation is displayed and the configuration can be changed.

Target range

Specify the CRC calculation range in the format of "start address - end address" or "section name".

Specify the address in hexadecimal without 0x.

The range of specifiable address values is 0 to FFFFFFFF.

This property corresponds to the -CRc option of the rlink command.

Default

Blank

How to change

Edit by the Text Edit dialog box which appears when clicking the [...] button.

For the subproperty, you can enter directly in the text box.

Restriction

Up to 32767 characters

Up to 65535 items can be specified.

Type of CRC

Select the method of CRC operation.

See the user's manual of the device and "CC-RH Compiler User's Manual" for details about each operation.

This property corresponds to the -CRc option of the rlink command.

Default

32-ETHERNET type

How to change

Select from the drop-down list.

Restriction

CRC-CCITT(MSB) type

Outputs the calculation result of CRC-16-CCITT-MSB first operation.

CRC-CCITT(MSB,LITTLE,4 bytes) type

Outputs the calculation result of CRC-16-CCITT-MSB first operation with the input specified as 4-byte units in little-endian mode.

CRC-CCITT(MSB,LITTLE,2 bytes) type

Outputs the calculation result of CRC-16-CCITT-MSB first operation with the input specified as 2-byte units in little-endian mode.

32-ETHERNET type

Outputs the calculation result of CRC-32-ETHERNET operation.

CCITT type

Outputs the calculation result of CRC-16-CCITT-MSB first operation with an initial value of 0xffff and inverse of XOR.

CRC-CCITT(LSB) type

Outputs the calculation result of CRC-16-CCITT-LSB first operation.

16

Outputs the calculation result of CRC-16-LSB first operation.

SENT(MSB) type

Outputs the calculation result of operation conforming to SENT.

Initial value

Specify the initial value for the CRC operation in the format of "initial value".

This property corresponds to the -CRc option of the rlink command.

Default

Blank

How to change

Directly enter to the text box.

Restriction

-

When other than [32-ETHERNET type] is selected in the [Type of CRC] property

0 to FFFF (hexadecimal number)

-

When [32-ETHERNET type] is selected in the [Type of CRC] property

0 to FFFFFFFF (hexadecimal number)

Endian

Select the endian for CRC output.

This property corresponds to the -CRc option of the rlink command.

Default

Little endian

How to change

Select from the drop-down list.

Restriction

Little endian

Outputs the value in little-endian mode.

Big endian

Outputs the value in big-endian mode.

Output size

Specify the output size for the CRC code.

This property corresponds to the -CRc option of the rlink command.

Default

Blank

How to change

Directly enter to the text box.

Restriction

2, 4, or blank

[Function Buttons]

 

Button

Function

OK

Reflects the settings to the property that opened this dialog box and closes this dialog box.

Cancel

Cancels the settings and closes this dialog box.

Help

Displays the help of this dialog box.