[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 you have selected [Always latest version which was installed] or V2.00.00 or a later version for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V2.00.00 or a later version of the CC-RX compiler has been installed.
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.08.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 property 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 property 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 property corresponds to the -output option of the linker.

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

Caution

If you prefer the output of a single file and thus need not enter the start and end addresses or section names, delete the setting of this property and use the [Output folder] and [Output file name] properties instead.

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 property 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 property 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 property 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 property 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 property 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)

Output hex file with fixed record length from aligned start address

Select whether to output the hex file with the fixed record length from an aligned start address.

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

This property is displayed only in the following cases.

-

When you have selected [Always latest version which was installed] or V2.08.00 or a later version for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V2.08.00 or a later version of the CC-RX compiler has been installed

-

When other than [Binary file(-FOrm=Binary)] in the [Hex file format] property is selected

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-FIX_RECORD_LENGTH_AND_ALIGN)

Outputs the hex file with the fixed record length from an aligned start address.

No

Does not output the hex file with the fixed record length from an aligned start address.

Alignment of start address

Specify the alignment of the start address.

You can enter 1 or a greater value for the alignment.

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

This property is displayed only when [Yes(-FIX_RECORD_LENGTH_AND_ALIGN)] in the [Output hex file with fixed record length from aligned start address] property is selected.

Default

1

How to change

Directly enter to the text box.

Restriction

1 to 99999 (decimal number)

Specify byte count for data record

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

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

This property is displayed only in either of the following cases.

-

When you have selected [Always latest version which was installed] or V2.08.00 or a later version for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V2.08.00 or a later version of the CC-RX compiler has been installed

-

When other than [Binary file(-FOrm=Binary)] in the [Hex file format] property is selected

-

Other than above

-

When [Intel 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(-BYte_count)

Specifies the maximum byte count for a data.

No

Does not specify the byte count for a data.

Maximum byte count for data record

Specifies the maximum byte count for a data record.

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

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

Default

-

When [Intel HEX file(-FOrm=Hexadecimal)] in the [Hex file format] property is selected

FF

-

When [Motorola S-record file(-FOrm=Stype)] in the [Hex file format] property is selected

10

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 property 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 you have selected [Always latest version which was installed] or V2.04.00 or a later version for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V2.04.00 or a later version of the CC-RX compiler has been installed.

-

Yes(-CRc)

 

This following item is displayed when [Always latest version which was installed] or a version number earlier than V2.04.00 is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where a version of the CC-RX compiler earlier than V2.04.00 has been installed.

-

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 property 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 property 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 property 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] or V2.04.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V2.04.00 or a later version of the CC-RX compiler has been installed

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 property 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 property 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 property 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

Specify end record

Selects the end record of the Motorola S-record file.

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

This property is displayed in the following cases.

-

When [Always latest version which was installed] or V2.07.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V2.07.00 or a later version of the CC-RX compiler has been installed

-

When [Motorola S-record file(-FOrm=Stype)] in the [Hex file format] property is selected

Default

Not specify(None)

How to change

Select from the drop-down list.

Restriction

S7(-END_RECORD=S7)

Outputs the end record as a 32-bit S-record file.

S8(-END_RECORD=S8)

Outputs the end record as a 24-bit S-record file.

S9(-END_RECORD=S9)

Outputs the end record as a 16-bit S-record file.

Not specify(None)

Outputs the end record to suit the address of the entry point.

Output S9 record at the end

Selects whether to output the S9 record at the end.

This property 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 property corresponds to the -create_unfilled_area option of the linker.

This property is displayed when you have selected [Always latest version which was installed] or V2.03.00 or a later version for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V2.03.00 or a later version of the CC-RX compiler has been installed.

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 property 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 a comma (example: 23043,23042).

Also, the range can be set using hyphen (example: 23044-23045,23046-23048).

This property 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 and error-level messages to information-level messages

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

This property 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 and error-level messages to the information-level messages.

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

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

No

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

Error number of warning-level and error-level message

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

If multiple message numbers are specified, delimit them with a comma (example: 23043,23042).

Also, the range can be set using hyphen (example: 23044-23045,23046-23048).

This property 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 and error-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 and error-level messages to warning-level messages

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

This property 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 and error-level messages to warning-level messages.

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

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

No

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

Error number of information-level and error-level message

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

If multiple message numbers are specified, delimit them with a comma (example: 23043,23042).

Also, the range can be set using hyphen (example: 23044-23045,23046-23048).

This property 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 and error-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 property 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 a comma (example: 23043,23042).

Also, the range can be set using hyphen (example: 23044-23045,23046-23048).

This property 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