10 Other Tools
10.7.4 Error Messages
The error messages output by ptd are as follows:
Table 10.7.4.1 Error messages
Error message
Details
Cannot open input file "FILENAME".
The input file FILENAME cannot be opened.
Cannot open output file "FILENAME".
The output file FILENAME cannot be opened.
S-format checksum error.
A checksum error occurred while reading an S-format file.
Unknown address format "ADDRESS"
The format of the specified address ADDRESS is incorrect.
Unknown data format "DATA"
The format of the specified data DATA is incorrect.
Address "ADDRESS" is out of range
The input data does not contain the specified address ADDRESS.
10.7.5 Method for Setting Flash Protection
The S1C17 Family includes models (e.g., S1C17554) that allow flash protection setting to protect the contents of the internal flash
memory. To set flash protection, create a Motorola S2 format PSA file (ROM data) using sconv32, then create a PSA file with flash
protection set using ptd.
Run ptd as follows at the command prompt.
Example: C:\EPSON\GNU17V3\>ptd s1c17554.psa –e 0x27ffc=0xff80,0xffff
This command rewrites the value at address 0x27ffc to 0xff80 and the value at address 0x27ffe to 0xffff inside s1c17554.psa
and outputs to s1c17554_ptd.psa. The addresses for Flash Protection Bits in S1C17754 are 0x27ffc (write-protect) and 0x27ffe
(data-read-protect). In this example, writing s1c17554_ptd.psa with the Flash Protection Bits modified to the internal flash memory
in S1C17754 prevents data writing or sector deletion in the range 0x8000-0x23fff.
Note: The ability to set flash protection and the addresses of the Flash Protection Bits differ from model to
model. For details, refer to the technical manual for the specific model.
S5U1C17001C Manual
Seiko Epson Corporation
10-15
(Rev. 1.0)
Need help?
Do you have a question about the S5U1C17001C and is the answer not in the manual?