11-28
EPSOn
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
11 OTHEr TOOlS
11.6 moto2ff.exe
11.6.1 function
The moto2ff loads a Motorola S3 format file with a given start address and block size and fills the unused area of
the file with 0xff to generate an output file.
In applications development for the S1C17 Family, the moto2ff is used to retrieve ROM area data from the
Motorola S3 format file generated by objcopy.
The ROM area data generated by moto2ff should be processed with sconv32 and winmdc17 to generate the mask
data to be submitted to Seiko Epson. For the mask data generation procedure, refer to Section 3.3.7, "Creating
ROM Data."
note:
To generate mask data, select [Build Mask file (.psa)] in [Build goal switch] of the [Properties]
dialog box and generate the mask data according to the procedures described in Section 3.3.7,
"Creating ROM Data." Generating the mask file incorrectly or with the wrong settings may
generate malfunctioning mask data. Always proceed carefully when generating mask data.
11.6.2 input/Output files
input file
HEX file
File format: Motorola S3 format file
File name:
<filename>
.sa
Description: A Motorola S3 format HEX file converted from an elf format executable file by the
objcopy
.
Output file
rOM area data file
File format: Motorola S3 format file
File name:
<filename>
.saf
Description: A data file of the specified ROM area in which the unused area is filled with 0xff.
11.6.3 Startup format
moto2ff
<data start address>
<data block size>
<input file name>
<data start address>
: Specify the data output start address in the input file using a hexadecimal number.
<data block size>
:
Specify the output data block size in bytes using a hexadecimal number.
<input file name>
:
Specify the file name of the Motorola S3 format file to be filled with 0xff.
The file name must be within 128 characters including a path and an extension. Path can be
specified for the input file, note, however, that the output file will be located in the current
directory.
•
Usage will be displayed when no parameters are specified.
•
If the output file already exists, it will be overwritten.
•
When an error occurs, an error message is displayed and the output file is not generated.
•
If the input Motorola S3 file contains data that exceeds the range specified by a start address and a block size, the
following message appears and the output file is not generated.
Error: FILENAME contains data outside of specified range (STARTADDR:SIZE)
•
If Motorola S3 data records are in the same address, the first data is overwritten by the last.
•
Make sure that the data start address and data block size are correct values for the model by referring its technical
manual. If an incorrect value is input, an error will occur in the
winmdc17
process to generate final mask data.
Summary of Contents for S5U1C17001C
Page 6: ......
Page 17: ...1 General S5U1C17001C Manual 1 General ...
Page 18: ......
Page 21: ...1 2 Install S5U1C17001C Manual 2 Installation ...
Page 22: ......
Page 29: ...3 SoftDev S5U1C17001C Manual 3 Software Development Procedures ...
Page 30: ......
Page 103: ...4 SrcFiles S5U1C17001C Manual 4 Source files ...
Page 104: ......
Page 121: ...5 IDE S5U1C17001C Manual 5 gnU17 iDE ...
Page 122: ......
Page 365: ...6 Compiler S5U1C17001C Manual 6 C Compiler ...
Page 366: ......
Page 385: ...7 Library S5U1C17001C Manual 7 library ...
Page 386: ......
Page 405: ...8 Assemblr S5U1C17001C Manual 8 assembler ...
Page 406: ......
Page 439: ...9 Linker S5U1C17001C Manual 9 linker ...
Page 440: ......
Page 449: ...10 Debugger S5U1C17001C Manual 10 Debugger ...
Page 450: ......
Page 626: ...11 Tools S5U1C17001C Manual 11 Other Tools ...
Page 627: ......
Page 696: ...S1C17 Family C Compiler Package Quick Reference Reference ...