S5U1C17001C ManUal
EPSOn
11-29
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
11 OTHEr TOOlS
11
Tools
•
When
moto2ff
has completed successfully, the following message is shown in the standard output.
moto2ff : Convert Completed
•
[-f]: Forced output option. Even when the input Motorola S3 format file has data in the range beyond that
specified by the start address and the block size, the specified range is cut out, and the output file is generated
with the unused area filled by 0xff. If out-of-range data is present, a warning is output.
11.6.4 Error/Warning Messages
The following shows the error and warning messages generated by the
moto2ff
:
Table 11.6.4.1 Error messages
Error message
Description
Input filename is over 128 letters.
The input file name has exceeded 128 characters.
Cannot open input file "
FILENAME
".
The input file
FILENAME
cannot be opened.
Cannot open output file "
FILENAME
".
The output file
FILENAME
cannot be opened.
Motorola S3 checksum error.
A checksum error occurred while reading Motorola S3
format file.
Cannot allocate memory.
Cannot allocate memory.
FILENAME
contains data outside of specified range
("
STARTADDR
":"
SIZE
")
The input file
FILENAME
contains data that exceeds the
specified range (
SIZE
bytes from
STARTADDR
). The output
file is not generated.
Table 11.6.4.2 Warning messages
Warning message
Description
Invalid file format in "
FILENAME
" line "
NUMBER
".
The input file
FILENAME
contains an invalid format data at
line
NUMBER
.
FILENAME
contains data outside of specified range
("
STARTADDR
":"
SIZE
")
Although
FILENAME
contains data outside the specified
range (from "
STARTADDR
" to "
SIZE
"), an output file is
generated due to the forced output option, -f.
11.6.5 Creating rOM area Data
After a Motorola S3 format HEX file has been generated by the
objcopy
, convert it into ROM area data using the
moto2ff
.
Open the command prompt window and execute
moto2ff
as shown below.
Example:
C:\EPSON\gnu17\>moto2ff 8000 10000 input.sa
The command above outputs the data of 0x10000 bytes starting from address 0x8000 contained in
input.sa
to
input.saf
. The unused addresses within the range from addresses 0x8000 to 0x17fff are filled with 0xff.
The ROM area data file for the internal ROM are generated by the above procedure.
After that convert the ROM area data file generated here into the Motorola S2 format ROM data file using
sconv32
.
Then perform the final verification of program operation on the actual target board using that file.
Finally, pack the verified ROM data file and the mask option data file generated by
winfog17
into a mask data file
using
winmdc17
and present it to Seiko Epson.
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 ...