11-30
EPSOn
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
11 OTHEr TOOlS
11.7 sconv32.exe
11.7.1 function
The
sconv32
is a tool to convert a Motorola S format into another S format. In an application development for the
S1C17 Family, the
sconv32
is used to convert the Motorola S3 format ROM area data file generated by
moto2ff
into the Motorola S2 format.
The converted ROM data file should be processed with
winmdc17
to generate the mask data to be submitted to
Seiko Epson after performing the final verification of program operation on the actual target board using the ROM
data file. For the mask data generation procedure, refer to Section 3.3.7, "Creating ROM Data".
11.7.2 input/Output files
input file
rOM area data file
File format: Motorola S3 format file
File name:
<filename>
.saf
Description: A Motorola S3 format HEX file generated by
moto2ff
.
Output file
rOM data file
File format: Motorola S2 format file
File name:
<filename>
.psa
Description: The Motorola S2 format file converted form the input file.
11.7.3 Startup format
sconv32 S2
<input file name>
<output file name>
S2
:
This is a switch to convert the input file into the Motorola S2 format.
<input file name>
: Specify a ROM area data file generated by
moto2ff
.
<output file name>
: Specify the output file name that will be converted into the Motorola S2 format.
The file extension must be "
.psa
".
•
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 output to the standard error device and the output file is not generated.
•
The [ESC] key can be used to forcibly terminate the process while converting.
•
When
sconv32
has completed successfully, the following message is displayed.
Sconv32 : Convert Completed
End message
*
1
*
1: Output to the standard output
11.7.4 Error Messages
The following shows the error messages generated by the
sconv32
:
Table 11.7.4.1 Error messages
Error message
Description
INVALID SWITCH.
An invalid switch is specified.
COMPLEMENT SWITCH ERROR.
The specified complement of the checksum for the output file is incorrect.
S FORMAT TYPE ERROR.
The specified S format for the output file is incorrect.
NO INPUT FILE NAME.
An input file is not specified.
NO OUTPUT FILE NAME.
An output file is not specified.
INPUT SAME FILE.
The same file name is specified for input and output.
CANNOT OPEN SOURCE F LE (
filename
).
The specified input file cannot be found or cannot be opened.
CANNOT OPEN DESTINATION F LE (
filename
).
The output file cannot be opened.
SOURCE RECORD TYPE NOT SUPPORT.
The input file has an unsupported record type.
ADDRESS LENGTH RANGE OVER.
The address range of the input file exceeds the address range for the
S format to be converted.
OTHER ERROR.
Another error has occurred.
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 ...