[Hex Output Options] tab


This tab shows the detailed information on the Hex output phase categorized by the following and the configuration can be changed.

 

(1) [Output File]

(2) [Hex Format]

(3) [Others]

Caution 1.

This tab is not displayed for the library project.

Caution 2.

This tab is displayed when [Always latest version which was installed] in the [Using compiler package version] property in the [Version Select] category from the [Common Options] tab is selected and the latest version is V2.00.00 or higher or when V2.00.00 or higher is selected in the [Using compiler package version] property.
When the version of the compiler package is V2.00.00 or lower, the properties from this tab are included in the [Convert Load Module File] category from the [Link Options] tab.

Figure A.6

Property Panel: [Hex Output Options] Tab

Remark

This figure is the image when the version of the compiler package is V2.00.00 or higher.

[Description of each category]

(1)

[Output File]

The detailed information on output files is displayed and the configuration can be changed.

Output hex file

Specifies whether hex file is output.

Default

Yes

How to change

Select from the drop-down list.

Restriction

Yes

Outputs a hex file.

No

Does not output a hex file.

Output folder

Specifies path of the output folder.

The following placeholders are supported.

%BuildModeName%: Replaces with the build mode name.

%ProjectName%: Replaces with the project name.

%MicomToolPath%: Replaces with the absolute path of the install folder of this product.

If this is blank, it is assumed that the project folder has been specified.

This corresponds to the -output option of the linker.

This property is displayed only when [Yes] in the [Output hex file] property is selected.

Default

%BuildModeName%

How to change

Directly enter in the text box or edit by the Browse For Folder dialog box which appears when clicking the [...] button.

Restriction

Up to 247 characters

Output file name

Specifies the output file name.

The default extensions depends on [Load module file convert format] property when extension omitted.

The default extensions are as follows:

"Hex file (-FOrm=Hexadecimal)" : .hex

"S record file (-FOrm=Stype)" : .mot

"Binary data file (-FOrm=Binary)" : .bin.

The following placeholders are supported.

%ActiveProjectName%: Replaces with the active project name.

%BuildModeName%: Replaces with the build mode name.

%MainProjectName%: Replaces with the main project name.

%ProjectName%: Replaces with the project name.

This corresponds to the -output option of the linker.

This property is displayed only when [Yes] in the [Output hex file] property is selected.

Default

%ProjectName%.mot

How to change

Directly enter in the text box.

Restriction

Up to 255 characters

Division output file

Specifies the division conversion file.

Specifies in the format of "file name=start address-end address" or "file name=section name", with one file name per line.

Specifies an address in the hexadecimal notation (example: file2.mot=400-ffff).

To define multiple sections, use a colon to separate each entry written, as in "file name=section name:section name" (example: file1.mot=stack:istack).

The default extensions depends on [Load module file convert format] property when extension omitted.

The default extensions are as follows:

"Hex file (-FOrm=Hexadecimal)" : .hex

"S record file (-FOrm=Stype)" : .mot

"Binary data file (-FOrm=Binary)" : .bin.

The following placeholders are supported.

%BuildModeName%: Replaces with the build mode name.

%ProjectName%: Replaces with the project name.

%MicomToolPath%: Replaces with the absolute path of the install folder of this product.

This corresponds to the -output option of the linker.

This property is displayed only when [Yes] in the [Output hex file] property is selected.

Default

Division conversion file[number of defined items]

How to change

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

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

Restriction

Up to 255 characters

Up to 65536 items can be specified.

(2)

[Hex Format]

The detailed information on output files are displayed and the configuration can be changed.

Hex file format

Selects the load module file convert format.

This corresponds to the -form option of the linker.

This property is displayed only when [Yes] in the [Output hex file] property in the [Output File] category is specified.

Default

S record file (-FOrm=Stype)

How to change

Select from the drop-down list.

Restriction

Intel expanded hex file (-FOrm=Hexadecimal)

Outputs a Intel expanded hex file.

Motorola S type file (-FOrm=Stype)

Outputs a Motorola S-type file.

Binary file (-FOrm=Binary)

Outputs a binary file.

Unifies the record size

Selects whether to output data with the specified data record regardless of the address range.

This corresponds to the -record option of the linker.

This property is displayed only when [Hex file (-FOrm=Hexadecimal)] in the [Hex file format] property is selected.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes (HEX record) (-REcord=H16)

Outputs the HEX record for the data records.

Yes (Expansion HEX record) (-REcord=H20)

Outputs the Expansion HEX record for the data records.

Yes (32-bit HEX record) (-REcord=H32)

Outputs the 32-bit HEX record for the data records.

No

Outputs various data records according to each address.

Unifies the record size

Selects whether to output data with the specified data record regardless of the address range.

This corresponds to the -record option of the linker.

This property is displayed only when [S record file (-FOrm=Stype)] in the [Hex file format] property is selected.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes (S1 record) (-REcord=S1)

Outputs the S1 record for the data records.

Yes (S2 record) (-REcord=S2)

Outputs the S2 record for the data records.

Yes (S3 record) (-REcord=S3)

Outputs the S3 record for the data records.

No

Outputs various data records according to each address.

Fills unused areas in the output ranges with the value

Selects whether to fill the unused areas in the output ranges with the value.

This corresponds to the -space option of the linker.

This property is displayed only when an output file name in the [Division conversion file] property in the [Output File] category is specified.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes (Random) (-SPace=Random)

Fills the unused areas in the output ranges with random values.

Yes (Specification value) (-SPace=<numerical value>)

Fills the unused areas in the output ranges with user-specified hexadecimal value.

No

Does not fill the unused areas in the output ranges with data.

Output padding data

Specifies the output padding data.

This corresponds to the -space option of the linker.

This property is displayed only when [Yes (Specification value) (-SPace=<numerical value>)] in the [Fills unused areas in the output ranges with the value] property is specified.

Default

FF (hexadecimal number)

How to change

Directly enter in the text box.

Restriction

0 to FFFFFFFF (hexadecimal number)

Specifies byte count for data record

Selects whether to specify the maximum byte count for a data record.

This corresponds to the -byte_count option of the linker.

This property is displayed only when [Hex file (-FOrm=Hexadecimal)] in the [Load module file convert format] property is selected.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-BYte_count)

Specifies the maximum byte count for a data.

No

Does not specify the byte count for a data.

Maximum byte count for a data record

Specifies the maximum byte count for a data record.

This corresponds to the -byte_count option of the linker.

This property is displayed only when [Yes(-BYte_count)] in the [Specifies byte count for data record] property is specified.

Default

FF (hexadecimal number)

How to change

Directly enter in the text box.

Restriction

1 to FF (hexadecimal number)

Outputs the calculation result of CRC

Selects whether to generate CRC code.

This corresponds to the -crc option of the linker.

This property is displayed only when [Hex file (-FOrm=Hexadecimal)] or [S record file (-FOrm=Stype)] in the [Load module file convert format] property is selected.

The following item is displayed when [Always latest version which was installed] in the [Using compiler package version] property in the [Version Select] category from the [Common Options] tab is selected and the latest version is V2.04.00 or higher or when V2.04.00 or higher is selected in the [Using compiler package version] property.

-

Yes(-CRc)

 

The following items are displayed when [Always latest version which was installed] in the [Using compiler package version] property in the [Version Select] category from the [Common Options] tab is selected and the latest version is V2.04.00 or lower or when V2.04.00 or lower is selected in the [Using compiler package version] property.

-

Yes (Polynomial expression: CRC-CCITT, Endian: Automatic) (-CRc)

-

Yes (Polynomial expression: CRC-CCITT, Endian: Big-endian data) (-CRc)

-

Yes (Polynomial expression: CRC-CCITT, Endian: Little-endian data) (-CRc)

-

Yes (Polynomial expression: CRC-16, Endian: Automatic) (-CRc)

-

Yes (Polynomial expression: CRC-16, Endian: Big-endian data)(-CRc)

-

Yes (Polynomial expression: CRC-16, Endian: Little-endian) data (-CRc)

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-CRc)

Performs the CRC operation on the hex-format objects in the specified range, from low address to high address, and outputs the results of the operation to the specified address.

Yes (Polynomial expression: CRC-CCITT, Endian: Automatic) (-CRc)

Selects CRC-CCITT as a polynomial expression.

Yes (Polynomial expression: CRC-CCITT, Endian: Big-endian data) (-CRc)

Selects the CRC-CCITT as a polynomial expression and selects the BIG as an endian.

Yes (Polynomial expression: CRC-CCITT, Endian: Little-endian data) (-CRc)

Selects the CRC-CCITT as a polynomial expression and selects the LITTLE as an endian.

Yes (Polynomial expression: CRC-16, Endian: Automatic) (-CRc)

Selects CRC-16 as a polynomial expression.

Yes (Polynomial expression: CRC-16, Endian: Big-endian data)(-CRc)

Selects the CRC-16 as a polynomial expression and selects the BIG as an endian.

Yes (Polynomial expression: CRC-16, Endian: Little-endian data) (-CRc)

Selects the CRC-16 as a polynomial expression and selects the LITTLE as an endian.

No

Does not generate the CRC code.

Output address

Specifies the address where the result is output.

Specifies an address in hexadecimal.

This corresponds to the -crc option of the linker.

This property is not displayed when [No] in the [Outputs the calculation result of CRC] property is specified.

Default

0

How to change

Directly enter in the text box.

Restriction

0 to FFFFFFFF (hexadecimal number)

Target range

Specifies the target range.

Specifies in the format of "start address-end address" or "section name". However, "section name" can be specified in only CC-RX V2.04.00 or higher version.

Specifies an address in the hexadecimal notation (example: 400-ffff).

This corresponds to the -crc option of the linker.

This property is not displayed when [No] in the [Outputs the calculation result of CRC] property is specified.

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 corresponds to the -CRc option of the linker.

This property is displayed only in the following cases.

-

When [Yes(-CRc)] in the [Outputs the calculation result of CRC] property is selected.

-

When [Always latest version which was installed] in the [Using compiler package version] property in the [Version Select] category from the [Common Options] tab is selected and the latest version is 2.04.00 or higher or when 2.04.00 or higher is selected in the [Using compiler package version] property

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 code in the format of "initial value".

This corresponds to the -CRc option of the linker.

This property is displayed only when [Yes(-CRc)] in the [Outputs the calculation result of CRC] property is selected.

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 corresponds to the -CRc option of the linker.

This property is displayed only when [Yes(-CRc)] in the [Outputs the calculation result of CRC] property is selected.

Default

Little endian

How to change

Select from the drop-down list.

Restriction

Not specify(None)

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 corresponds to the -CRc option of the linker.

This property is displayed only when [Yes(-CRc)] in the [Outputs the calculation result of CRC] property is selected.

Default

Blank

How to change

Directly enter to the text box.

Restriction

2, 4, or blank

Outputs the S9 record at the end

Selects whether to output the S9 record at the end.

This corresponds to the -s9 option of the linker.

This property is displayed only when [Motorola S type file (-FOrm=Stype)] in the [Hex file format] property is specified.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes (-S9)

Outputs the S9 record at the end.

No

Does not output the S9 record at the end.

Suppress outputting data to unused area made by .OFFSET

Selects whether to suppress outputting data to the unused area made by .OFFSET.

This property is automatically set by the selection of the [Suppress outputting data to unused area made by .OFFSET] property in the [Object] category of the [Assemble Options] tab or [Individual Assemble Options] tab.

This corresponds to the -create_unfilled_area option of the linker.

This property is displayed when [Always latest version which was installed] in the [Using compiler package version] property in the [Version Select] category from the [Common Options] tab is selected and the latest version is V2.03.00 or lower or when V2.03.00 or lower is selected in the [Using compiler package version] property.

Default

No

How to change

Changes not allowed

(3)

[Others]

Other detailed information on linking are displayed and the configuration can be changed.

Use same message-related settings as Link Options tab

Selects whether to make the message-related settings the same as those of the [Link Options] tab.

Default

Yes

How to change

Select from the drop-down list.

Restriction

Yes

Makes the message-related settings the same as those of the [Link Options] tab.

No

Makes the message-related settings in the property of the [Hex Output Options] tab.

Enables information-level message output

Specifies whether to enable information-level message output.

This corresponds to the -message and -nomessage options of the linker.

This property is displayed only when [No] in the [Use same message-related settings as Link Options tab] property is specified.

Default

No (-NOMessage)

How to change

Select from the drop-down list.

Restriction

Yes (-Message)

Outputs information level messages.

No (-NOMessage)

Disables the output of information level messages.

Suppresses the number of information-level messages

Specifies suppresses the number of information-level messages.

If multiple message numbers are specified, delimit them with comma (example: 4,200).

Also, the range can be set using hyphen (example: 4,200-203,1300).

This corresponds to the -nomessage option of the linker.

This property is displayed only when [No] in the [Use same message-related settings as Link Options tab] property and [No (-NOMessage)] in the [Enables information-level message output] property is selected.

Default

Blank

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

Changes the warning-level messages to information-level messages

Selects whether to change the warning-level messages to information-level messages.

This corresponds to the -change_message option of the linker.

This property is displayed only when [No] in the [Use same message-related settings as Link Options tab] property is specified.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(All) (-change_message=information)

Changes all warning-level messages to the information-level messages.

Yes(Specifies error number) (-change_message=information=<ErrorNumber>)

Changes the warning-level messages with the specified error numbers to the information-level messages.

No

Does not change the warning-level messages to the information-level messages.

Error number of warning-level message

Specifies error number of warning-level message.

If multiple message numbers are specified, delimit them with comma (example: 4,200).

Also, the range can be set using hyphen (example: 4,200-203,1300).

This corresponds to the -change_message option of the linker.

This property is displayed only when [No] in the [Use same message-related settings as Link Options tab] property and [Yes(Specifies error number) (-change_message=information=<ErrorNumber>)] in the [Changes the warning-level messages to information-level messages] property is specified.

Default

Blank

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

Changes the information-level messages to warning-level messages

Selects whether to change the information-level messages to warning-level messages.

This corresponds to the -change_message option of the linker.

This property is displayed only when [No] in the [Use same message-related settings as Link Options tab] property is specified.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(All) (-change_message=warning)

Changes all information-level messages to warning-level messages.

Yes(Specifies error number) (-change_message=warning=<ErrorNumber>)

Changes the information-level messages with the specified error numbers to warning-level messages.

No

Does not change the information-level messages to warning-level messages.

Error number of information-level message

Specifies error number of information-level message.

If multiple message numbers are specified, delimit them with comma (example: 4,200).

Also, the range can be set using hyphen (example: 4,200-203,1300).

This corresponds to the -change_message option of the linker.

This property is displayed only when [No] in the [Use same message-related settings as Link Options tab] property and [Yes(Specifies error number) (-change_message=warning=<ErrorNumber>)] in the [Changes the information-level messages to warning-level messages] property is specified.

Default

Blank

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

Changes the information-level and warning-level messages to error-level messages

Selects whether to change the information-level and warning-level messages to error-level messages.

This corresponds to the -change_message option of the linker.

This property is displayed only when [No] in the [Use same message-related settings as Link Options tab] property is specified.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(All) (-change_message=error)

Changes all information-level and warning-level messages to error-level messages.

Yes(Specifies error number) (-change_message=error=<ErrorNumber>)

Changes the information-level and warning-level messages with the specified error numbers to error-level messages.

No

Does not change the warning-level messages to information-level messages.

Error number of information-level and warning-level message

Specifies error number of information-level and warning-level message.

If multiple message numbers are specified, delimit them with comma (example: 4,200).

Also, the range can be set using hyphen (example: 4,200-203,1300).

This corresponds to the -change_message option of the linker.

This property is displayed only when [No] in the [Use same message-related settings as Link Options tab] property and [Yes(Specifies error number) (-change_message=error=<ErrorNumber>)] in the [Changes the information-level and warning-level messages to error-level messages] property is specified.

Default

Blank

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

Other additional options

Inputs the link options to be added additionally.

The options set here are added at the end of the link options group.

Default

Blank

How to change

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

Restriction

Up to 259 characters

Command line

The specified option is displayed.

Default

Command line[number of defined items]

How to change

Changes not allowed