Epson S5U1C63000A Computer Accessories User Manual


 
CHAPTER 8: DEBUGGER
S5U1C63000A MANUAL EPSON 233
(S1C63 FAMILY ASSEMBLER PACKAGE)
xfwr/xfwrs (xilinx fpga data write)
Function
This command writes peripheral circuit data to the FPGA on the standard peripheral circuit board
inserted in the ICE.
Format
>xfwr <file name> ;{H | S} [;N] for main FPGA (direct input mode)
>xfwrs <file name> ;{H | S} [;N] for sub FPGA (direct input mode)
<file name>: FPGA data file (.mot: Motorola S, .mcs: Intel HEX)
H: Load Intel HEX file
S: Load Motorola S file
N: Skip erasing before writing data
Examples
>xfwr ..\ice\fpga\c63xxx.mot ;S
>
In this example, the main FPGA is erased and then data in the c63xxx.mot file (Motorola S format) is
written to it.
>xfwr ..\ice\fpga\c63xxx.mot ;S ;N
>
In this example, erasing before writing is skipped. However, the main FPGA must be erased before-
hand.
Notes
•Use the file provided by Seiko Epson as the data to be written without modifying the contents. Also
the file extension cannot be changed as it is .mot (Motorola S) or .mcs (Intel HEX). Specifying an
illegal file results in an error and data cannot be written.
Error : cannot open file
The N option can be specified when the FPGA has been erased completely using the xfer/xfers
command. When writing data to the FPGA that has not been erased, do not specify the N option.
•A dialog box appears to show the progress while executing. To abort execution, click the [Cancel]
button on the dialog box or press the [ESC] key. When the execution stops, the warning message
shown below is displayed.
Warning : User cancel
In this case, the standard peripheral circuit board cannot be used until the FPGA is erased and
reprogrammed.
•Process time including erase is about 8 minutes (max.) when the transfer rate between the ICE and PC
is 38400 bps.
Do not write data to the sub FPGA unless otherwise specified, as it normally contains some LCD
functions.