2.3 Set the Type of the Output File

Set the type of the file to be output as the product of the build.

(1)

For the application project

A load module file is generated.

The load module file will be the debug target.

Select the type of the convert file to be output as the product of the build other than the load module file.

 

Select the build tool node on the project tree and select the [Hex Output Options] tab on the Property panel. Select the file type in the [Hex file format] property in the [Hex Format] category.

Figure 2.4

[Hex file format] Property

 

-

When [Hex file (-FOrm=Hexadecimal)] is selected

A hex file is output from the generated load module file.

-

When [S record file (-FOrm=Stype)] is selected (default)

A Motorola S type file is output from the generated load module file.

-

When [Binary file (-FOrm=Binary)] is selected

A binary file is output from the generated load module file.

(2)

For the library project

Select the build tool node on the project tree and select the [Librarian Options] tab on the Property panel. Select the file type in the [Output file type] property in the [Output] category.

Figure 2.5

[Output file type] Property

 

-

When [User library file (-FOrm=Library=U)] is selected (default)

A user library file is generated.

-

When [System library file (-FOrm=Library=S)] is selected

A system library file is generated.

-

When [Relocatable module file (-FOrm=Relocate)] is selected

A relocatable module file is generated.

 

If the extension of output files is changed, the following message dialog box will open.

Figure 2.6

Message Dialog Box

 

Clicking [Yes] in the dialog box replaces the current file extension with the one for the output file type. Clicking [No], on the other hand, does not replace the current file extension.