Error/Warning Messages; Creating Saf File (Rom Data) - Epson S5U1C17001C Manual

Cmos 16-bit single chip microcontroller (c compiler package for s1c17 family) (ver. 3.2)
Hide thumbs Also See for S5U1C17001C:
Table of Contents

Advertisement

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 PA file.
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.

10.4.4 Error/Warning Messages

The following shows the error and warning messages generated by the moto2ff:
Input filename is over 128 letters.
Cannot open input file " FILENAME ".
Cannot open output file " FILENAME ".
Motorola S3 checksum error.
Cannot allocate memory.
FILENAME contains data outside of specified range
(" STARTADDR ":" SIZE ")
Invalid file format in " FILENAME " line " NUMBER ".
FILENAME contains data outside of specified range
(" STARTADDR ":" SIZE ")

10.4.5 Creating SAF File (ROM Data)

After a Motorola S3 format SA file (ROM data) has been generated by objcopy, create an SAF file using moto2ff.
Open the command prompt window and execute moto2ff as shown below.
Example: C:\EPSON\GNU17V3\>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 SAF file for the internal ROM is generated by the above procedure.
Next convert the SAF file generated here into the Motorola S2 format PSA file (ROM data) using sconv32. Then perform the final
verification of program operation on the actual target board using that file.
Finally, pack the verified PSA file and the FDC file (Function option document) generated by winfog17 into a single PA file using
winmdc17 and submit this to Seiko Epson.
S5U1C17001C Manual
(Rev. 1.0)
Table 10.4.4.1 Error messages
Error message
Table 10.4.4.2 Warning messages
Warning message
Seiko Epson Corporation
Description
The input file name has exceeded 128 characters.
The input file FILENAME cannot be opened.
The output file FILENAME cannot be opened.
A checksum error occurred while reading Motorola S3
format file.
Cannot allocate memory.
The input file FILENAME contains data that exceeds the
specified range ( SIZE bytes from STARTADDR ). The output
file is not generated.
Description
The input file FILENAME contains an invalid format data at
line NUMBER .
Although FILENAME contains data outside the specified
range (from " STARTADDR " to " SIZE "), an output file is
generated due to the forced output option, -f.
10 Other Tools
10-10

Advertisement

Table of Contents
loading

Table of Contents