Method For Using Objcopy - Epson S5U1C17001C Manual

Cmos 16-bit single chip microcomputer, c compiler package for s1c17 family
Hide thumbs Also See for S5U1C17001C:
Table of Contents

Advertisement

11.4.3 Method for Using objcopy

Startup format
objcopy <option> <input file name> [<output file name>]
[ ] indicates the possibility to omit.
<input file name>:
Specify an elf format object file name to be converted.
<output file name>: Specify the Motorola S3 format HEX file name after conversion.
note: When <output file name> is omitted, objcopy creates a temporary file used to output the
converted data, and renames it with the input file name after the process has been completed.
Therefore, the input file is destroyed.
Options
The following options are mainly used in application development for the S1C17 Family:
-I elf32-little
Function:
Specifies the input file format.
Explanation: Specifies elf as the input file format.
-O srec
Output in Motorola format
Function:
Explanation: Specifies the Motorola format as the output file format. This option must be specified together
with '-I elf32-little'.
-O binary
Output in binary format
Function:
Explanation: Specifies binary format as the output file format. This option must be specified together with
'-I elf32-little'.
--srec-forceS3
Specify Motorola S3 format
Function:
Explanation: Specifies the Motorola S3 format as the output file format. This option must be specified with the
-O srec option.
Example: ... -O srec --srec-forceS3 ...
-R SectionName
Remove section
Function:
Explanation: Specifies that the section named SectionName should not be included in the output file. This
option can be specified multiple times in a command line. This option must be specified together
with '-I elf32-little'.
-v (or --verbose)
Function:
Verbose output mode
Explanation: Displays the converted object file names.
-V (or --version)
Display version number
Function:
Explanation: Displays the version number of objcopy, and then terminates the process.
--help
Function:
Usage display
Explanation: Displays the usage of objcopy, and then terminates the process.
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
EPSOn
11 OTHEr TOOlS
11
Tools
11-23

Advertisement

Table of Contents
loading

Table of Contents