Everything
2.7.1 Set the output of a hex file

Select the build tool node on the project tree and select the [Hex Output Options] tab on the Property panel.

(1)

Set the output of a hex file

The setting to output a hex file is made with the [Output hex file] property in the [Output File] category.

To output a hex file, select [Yes], to not output a hex file, select [No].

Figure 2.54

[Output hex file] Property

 

When outputting a hex file, you can set the output folder and output file name.

(a)

Set the output folder

Setting the output folder is made with the [Output folder] property by directly entering to the text box or by the [...] button.

Up to 247 characters can be specified in the text box.

This property supports the following placeholder.

 

%ActiveProjectDir%: Replaces with the absolute path of the active project folder.

%ActiveProjectName%: Replaces with the active project name.

%BuildModeName%: Replaces with the build mode name.

%MainProjectDir%: Replaces with the absolute path of the main project folder.

%MainProjectName%: Replaces with the main project name.

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

%ProjectDir%: Replaces with the absolute path of the project folder.

%ProjectName%: Replaces with the project name.

%TempDir%: Replaces with the absolute path of the temporary folder.

%WinDir%: Replaces with the absolute path of the Windows system folder.

 

"%BuildModeName%" is set by default.

(b)

Set the output file name

Setting the output file is made with the [Output file name] property by directly entering to the text box.

Up to 259 characters can be specified in the text box.

This property supports the following placeholders.

 

%ActiveProjectName%: Replaces with the active project name.

%MainProjectName%: Replaces with the main project name.

%ProjectName%: Replaces with the project name.

 

"%ProjectName%.mot" is set by default.

(2)

Set the hex file format

Select the format in the [Hex file format] property in the [Hex Format] category.

Figure 2.55

[Hex file format] Property

 

You can select any of the formats below.

Format

Configuration

Intel HEX file(-FOrm=Hexadecimal)

Outputs an Intel HEX file.

Motorola S-record file(-FOrm=Stype)

Outputs a Motorola S-record file.

Binary file(-FOrm=Binary)

Outputs a binary file.

Remark

See "CC-RH Compiler User's Manual" for details about the Intel Hex file and Motorola S-record file.