Everything
 

CRC Operations dialog box


This dialog box is used to set the CRC operation.

Figure A.1

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

Specifies the target range.

Specifies in the format of "start address-end address" or "section name".

Specifies an address in the hexadecimal notation (example: 400-ffff).
The range of specifiable address values is 0 to FFFFFFFF

This property corresponds to the -crc option of the linker.

Default

Target range[number of defined items]

How to change

Directly enter in the text box or edit by the Character String Input dialog box which appears when clicking the [...] button.

Restriction

Up to 32767 characters

Up to 65536 items can be specified.

Type of CRC

Selects the method of CRC operation.

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

This property corresponds to the -CRc option of the linker.

Default

CCITT type

How to change

Select from the drop-down list.

Restriction

CCITT type

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

16

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

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.

CRC-CCITT(LSB) type

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

SENT(MSB) type

Outputs the calculation result of operation conforming to SENT.

32-ETHERNET type

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

Initial value

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

This property corresponds to the -CRc option of the linker.

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

Selects the endian for CRC output.

This property corresponds to the -CRc option of the linker.

Default

Not specify

How to change

Select from the drop-down list.

Restriction

Not specify

Does not specify the endian. Depends on the endian type of the input object.

Little endian

Outputs the value in little-endian mode.

Big endian

Outputs the value in big-endian mode.

Output size

Specifies the output size for the CRC code.

This property corresponds to the -CRc option of the linker.

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.