Epson S5U1C17000Y23 User guide

Rev.1.1
CMOS 16-BIT SINGLE CHIP MICROCONTROLLER
S5U1C17000Y23
Multi-Programmer Ver. 3.0
System Manual

Evaluation board/kit and Development tool important notice
1. This evaluation board/kit or development tool is designed for use for engineering evaluation, demonstration,
or development purposes only. It is not intended to meet the requirements of design for finished products.
2. This evaluation board/kit or development tool is intended for use by an electronics engineer and is not a
consumer product. The user should use it properly and in a safe manner. Seiko Epson dose not assume any
responsibility or liability of any kind of damage and/or fire coursed by the use of it. The user should cease to
use it when any abnormal issue occurs even during proper and safe use.
3. The part used for this evaluation board/kit or development tool may be changed without any notice.
NOTICE
No part of this material may be reproduced or duplicated in any form or by any means without the written
permission of Seiko Epson. Seiko Epson reserves the right to make changes to this material without notice.
Seiko Epson does not assume any liability of any kind arising out of any inaccuracies contained in this material
or due to its application or use in any product or circuit and, further, there is no representation that this material is
applicable to products requiring high level reliability, such as, medical products. Moreover, no license to any
intellectual property rights is granted by implication or otherwise, and there is no representation or warranty that
anything made in accordance with this material will be free from any patent or copyright infringement of a third
party. When exporting the products or technology described in this material, you should comply with the
applicable export control laws and regulations and follow the procedures required by such laws and regulations.
You are requested not to use, to resell, to export and/or to otherwise dispose of the products (and any technical
information furnished, if any) for the development and/or manufacture of weapon of mass destruction or for other
military purposes.
All brands or product names mentioned herein are trademarks and/or registered trademarks of their respective
companies.
©SEIKO EPSON CORPORATION 2016,All rights reserved.

Configuration of product number
S1
C 17xxx F 00E1
00
Devices
■Packing specifications
00: Besides tape & reel
0A: TCP BL 2 directions
0B: Tape & reel BACK
0C: TCP BR 2 directions
0D: TCP BT 2 directions
0E: TCP BD 2 directions
0F: Tape & reel FRONT
0G: TCP BT 4 directions
0H: TCP BD 4 directions
0J: TCP SL 2 directions
0K: TCP SR 2 directions
0L: Tape & reel LEFT
0M: TCP ST 2 directions
0N: TCP SD 2 directions
0P: TCP ST 4 directions
0Q: TCP SD 4 directions
0R: Tape & reel RIGHT
99: Specs not fixed
■
Specification
■
Package
D: Bare chip
F: QFP
B: BGA, WCSP
■
Model number
■
Model name
C: Microcontroller, digital products
■
Product classification
S1: Semiconductor
S
5U
1
C 17000 Y2
1 00
Development tools
■Packing specifications
00: Standard packing
■
Version
1: Version 1
■
Tool type
Hx: ICE
Tx: Evaluation board
Cx: Compiler package
Yx: Programmer software
■
Corresponding model number
17xxx: For S1C17xxx
■
Tool classification
C: Microcontroller use
■
Product classification
S5U1: Development tool
for semiconductor products


S5U1C17001Y23 Multi-Programmer Seiko Epson Corporation i
System Manual (Rev. 1.1)
Table of Contents
1. Overview..................................................................................................................... 1
2. Hardware Requirements............................................................................................ 2
3. ICDmini Supported Versions..................................................................................... 3
4. Entire Workflow.......................................................................................................... 4
4.1 Advance Preparation Flowchart................................................................................................4
4.2 Gang Writer Configuration Flowchart.......................................................................................5
4.3 Multi-Programming Flowchart...................................................................................................5
5. Advance Preparation................................................................................................. 6
5.1 Preparation of Gang Writer........................................................................................................6
5.2 Preparation of Model-Specific Information File.......................................................................6
5.3 Confirming and Updating ICDmini Firmware...........................................................................7
5.4 Confirming ICDmini Hardware Version and Programming Serial Number...........................9
5.5 ICDmini Configuration..............................................................................................................10
5.6 Connecting ICDmini to PC.......................................................................................................11
6. Gang Writer Configuration...................................................................................... 12
6.1 Launching Gang Writer............................................................................................................12
6.2 Setting Gang Writer Parameters .............................................................................................13
6.3 Detecting ICDmini Connected.................................................................................................16
6.4 Loading Program Data to ICDmini..........................................................................................16
7. Multi-Programming.................................................................................................. 20
7.1 Entering ID Number..................................................................................................................20
7.2 Connecting with Target System ..............................................................................................20
7.3 Establishing Connection with ICDmini...................................................................................22
7.4 Starting Multi-Programming ....................................................................................................22
7.5 Disconnecting Target System..................................................................................................23
8. Other Functions ....................................................................................................... 24
8.1 Individual Execution.................................................................................................................24
8.2 Selecting a Process..................................................................................................................24
8.3 Counter Function......................................................................................................................24
8.4 Configuration.............................................................................................................................25
9. Troubleshooting....................................................................................................... 26
9.1 When Detecting ICDmini..........................................................................................................26
9.2 When Loading Program Data to ICDmini ...............................................................................26
9.3 When Programming Target System........................................................................................26
Appendix A Gang Writer Dynamic Link Library........................................................ 27
A.1 Overview....................................................................................................................................27
A.1.1 Example of Function Call.....................................................................................................27
A.2 Function Details........................................................................................................................28
A.2.1 OpenIcdConnection .............................................................................................................28
A.2.2 CloseIcdConnection.............................................................................................................28

ii Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer
System Manual (Rev. 1.1)
A.2.3 ResetTarget..........................................................................................................................29
A.2.4 CheckTargetConnection.......................................................................................................29
A.2.5 StartOperation......................................................................................................................30
A.2.6 GetStatus..............................................................................................................................31
A.2.7 GetString ..............................................................................................................................32
A.2.8 GetConnectedICD................................................................................................................33
A.2.9 LoadIcdFlsProgram..............................................................................................................35
A.2.10 LoadIcdUserProgram ..........................................................................................................36
A.2.11 GetIcdStatus........................................................................................................................37
A.3 Restrictions...............................................................................................................................39
A.4 Measurement Results ..............................................................................................................39
Appendix B List of Configurations by Model ............................................................ 40
Revision History............................................................................................................. 44

1. Overview
S5U1C17001Y23 Multi-Programmer Seiko Epson Corporation 1
System Manual (Rev. 1.1)
Program data *.psa
Created by the user
Model-specific
information file
Gang Writer
1. Overview
The Multi-Programmer system consists of a PC with the Gang Writer software and required files installed, a USB
hub, and the necessary number of ICDmini software development emulators (S5U1C17001H11/12/21**) as
shown in the figure below, and it is capable of being used to program one or more target MCUs.
Figure 1.1 Overview of Multi-Programmer System
•The entire system including ICDminis, a USB hub, and a PC referred to as Multi-Programmer.
•Up to 10 targets can be programmed simultaneously.
•A self-powered USB hub should be used. (with external power supply).
Obrtain from
https://www.epsondevice
.com/support_e/mcu/
product/c17.html
Target
Interface cable
Flash memory programming
power supply cable
Target system
ICDmini
Gang Writer
(software)
USB cable
(USB1.1 FS)
Self-powered
USB hub

2. Hardware Requirements
2 Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer
System Manual (Rev. 1.1)
2. Hardware Requirements
The components shown below are required to configure the Multi-Programmer system. To be provided by the
user.
Table 2.1 List of Components Required
Component
Spec Requirements
Remarks
PC
A PC with an Intel Pentium 4 1.50 GHz or higher CPU and 512 MB or
more RAM included is recommended.
Supported OS: Microsoft Windows
To be provided by the user.
USB hub A self-powered hub that is able to supply a maximum of 500 mAper
port (each ICDmini) is required.
To be provided by the user.
ICDmini
Prepare the necessary number of ICDminis for programming the target
system.
Please contact the Seiko
Epson sales representative.

3. ICDmini Supported Versions
S5U1C17001Y23 Multi-Programmer Seiko Epson Corporation 3
System Manual (Rev. 1.1)
3. ICDmini Supported Versions
The table below shows the ICDmini hardware and firmware versions supported by the Multi-Programmer.
Table 3.1 Versions Supported by Multi-Programmer
Hardware/software Versions supported
ICDmini hardware The version supported depends on the target MCU model. Refer to “
Available ICDmini
hardware version” under “Appendix B List of Configurations by Model” for more
information by model. If you do not have an ICDmini of the version listed in that table,
contact our sales representative. Note
that a serial number must be programmed to the
ICDmini if its version is 1.0 or 1.1, or if the firmware has been updated by the user.
ICDmini firmware
The version supported depends on the target MCU model. Refer to “Available ICDmini
firmware version” under “Appendix B List of Configurations by Model” for more
information by model. The ICDmini allows the user to update the firmware.

4. Entire Workflow
4 Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer
System Manual (Rev. 1.1)
4. Entire Workflow
The Multi-Programmer workflow consists of three steps, advance preparation, Gang Writer configuration, and
multi-programming. The flowcharts of these steps are shown below.
4.1 Advance Preparation Flowchart
Figure 4.1.1 Advance Preparation Flowchart
Prepare Gang Writer
Prepare model-specific information file
Update firmware
Program serial number
Configure ICDmini
Connect ICDmini to PC
Advance preparation
End
Confirm ICDmini firmware version
Confirm ICDmini hardware version
Unnecessary to update
Necessary to update
Unnecessary to program
serial number
Necessary to program serial number

4. Entire Workflow
S5U1C17001Y23 Multi-Programmer Seiko Epson Corporation 5
System Manual (Rev. 1.1)
4.2 Gang Writer Configuration Flowchart
Figure 4.2.1 Gang Writer Configuration Flowchart
4.3 Multi-Programming Flowchart
Figure 4.3.1 Multi-Programming Flowchart
Launch Gang Writer
Gang Writer
configuration
End
Configure Gang Writer parameters
Detect ICDmini connected
Load data to ICDmini in advance
Multi-programming
Enter ID number
Connect with target system
Establish connection with ICDmini
Program target systems
Change programmed target system
with new one
Repeated

5. Advance Preparation
6 Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer
System Manual (Rev. 1.1)
5. Advance Preparation
It is necessary to prepare a file and to confirm the ICDmini version before multi-programming can be started.
5.1 Preparation of Gang Writer
Download the Gang Writer software from our website shown below, then unarchive and install it to the PC.
<MP Support Tool> section on https://www.epsondevice.com/support_e/mcu/product/page04.html#01
5.2 Preparation of Model-Specific Information File
Download the model-specific information file if available from our website shown below, then unarchive and
install it to the PC.
<GNU17 IDE> section on https://www.epsondevice.com/support_e/mcu/product/page04.html#02
The same model-specific information files as GNU17 (S1C17 Family software development tool) are included in
the S5U1C17000Y23 package. When the model-specific information file of a model is updated or the file for a
new model is added before being included to GNU17, the file name appears on the model list of the website
independently. If the model-specific information file name for the model to be used appears, be sure to download
it.
The downloaded model-specific information file should be unarchived into the folder shown below. If an older
version of the model-specific information file exists in the folder, overwrite with the newly downloaded file.
C:\EPSON\C17GangWriter\mcu_model
The underlined part shown above is the default path when Gang Writer is installed to the default folder. This path
changes to other drives and folders if another location other than the default folder is specified at the installation.

5. Advance Preparation
S5U1C17001Y23 Multi-Programmer Seiko Epson Corporation 7
System Manual (Rev. 1.1)
5.3 Confirming and Updating ICDmini Firmware
Set the DIP switch of the ICDmini as shown in the figure below. This makes it possible to establish
communication between the PC and the ICDmini without a target system.
* 1.8 V and 3.3 V power supply pins are available only in the ICDmini Ver. 2.0.
Figure 5.3.1 ICDmini Left Side View and DIP Switch Setting
Connect the ICDmini and the PC directly using a USB cable without a USB hub.
Figure 5.3.2 Connection Between PC and ICDmini
1 2 3 4 5 6 7 8

5. Advance Preparation
8 Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer
System Manual (Rev. 1.1)
The “New hardware search wizard” starts when the ICDmini is connected to the PC for the first time. In this case,
specify the folder shown below to install the USB driver.
C:\EPSON\C17GangWriter\utility\drv_usb\OS_32bit
C:\EPSON\C17GangWriter\utility\drv_usb\OS_64bit
Note: Specify the folder in which Gang Writer is installed for the underlined path above. Moreover, the USB
driver must use the one attached to this Gang Writer.
•Confirming ICDmini firmware version
Select [EPSON MCU] →[S1C17GangWriter] →[icdver] from the Start menu. When Windows 7 or Vista is
used, right-click on [icdver] and select “Run as administrator.”
A window opens and displays the ICDmini hardware and firmware version numbers. Check to see if the
firmware version is equal to or higher than that described in “Available ICDmini firmware version” under
“Appendix B List of Configurations by Model.”
Figure 5.3.3 ICDmini Version Checker Execution Screen
The example above shows the version number as follows:
- Firmware: Ver. 3.2
S/N is the serial number set to the ICDmini, and hyphens are displayed if no serial number is programmed to
the ICDmini. If the serial number is not displayed correctly, execute icdver again after pressing the reset button
on the ICDmini.
•Updating ICDmini firmware
If the ICDmini firmware version is lower than that described in “Available ICDmini firmware version” under
“Appendix B List of Configurations by Model,” update the firmware to the latest version. For how to update the
firmware, refer to the website shown below.
<Necessary Tool> section on https://www.epsondevice.com/support_e/mcu/product/page04.html#01

5. Advance Preparation
S5U1C17001Y23 Multi-Programmer Seiko Epson Corporation 9
System Manual (Rev. 1.1)
5.4 Confirming ICDmini Hardware Version and Programming Serial Number
Confirm the ICDmini hardware version printed on the bottom. It is necessary to program a serial number to the
ICDmini if the hardware version is lower than 2.0 or no serial number is printed. Furthermore, the serial number
programmed in the ICDmini is cleared when the firmware is updated, therefore, serial number programming is
also required in this case.
Figure 5.4.1 ICDmini Bottom View
The ICDmini Ver. 1.0 or Ver. 1.1 may not be used depending on the target MCU. For more information, refer to
“Available ICDmini hardware version” under “Appendix B List of Configurations by Model.”
•Programming serial number
After connecting the ICDmini to the PC, select [EPSON MCU] →[S1C17GangWriter] →[C17SNwrite] from
the Start menu. When Windows 7 or Vista is used, right-click on [C17SNwrite] and select “Run as
administrator.” When the window shown below opens, enter the ICDmini serial number to the [Serial No.] field
and then click on the [WRITE] button. The [READ] button can be used to read out the serial number of the
ICDmini currently connected.
Figure 5.4.2[ICDmini Serial Number] Writer Window
Although any number, except an overlapping number, can be entered as the serial number, as a general rule
enter the one that is printed on the bottom of the ICDmini. If the ICDmini is not recognized, press the reset
button on the ICDmini.
Note: The C17SNwrite must be executed with the ICDmini DIP switch No. 7 set to ON.

5. Advance Preparation
10 Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer
System Manual (Rev. 1.1)
5.5 ICDmini Configuration
Set the ICDmini DIP switch as shown in the table below according to the interface voltage level with the target
system.
* 1.8 V and 3.3 V power supply pins are available only in the ICDmini Ver. 2.0.
Figure 5.5.1 ICDmini Left Side View
Table 5.5.1 ICDmini DIP Switch Setting
Target system interface voltage level
Switch settings
3.3 V
1.8 V
Voltage input from the target system
For the DIP SW8 setting, refer to “ICDmini DIP switch (SW8) & FLASH VCC OUT connection” under
“Appendix B List of Configurations by Model.”
12345678
12345678
12345678

5. Advance Preparation
S5U1C17001Y23 Multi-Programmer Seiko Epson Corporation 11
System Manual (Rev. 1.1)
5.6 Connecting ICDmini to PC
Connect the ICDminis and the PC via a USB hub after the preparation described above has been completed.
Figure 5.6.1 Connection Diagram Between PC and ICDminis

6. Gang Writer Configuration
12 Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer
System Manual (Rev. 1.1)
6. Gang Writer Configuration
6.1 Launching Gang Writer
The Gang Writer starts up by selecting [EPSON MCU] →[S1C17GangWriter] →[C17GangWriter] from the
Start menu of the PC. When Windows 7 or Vista is used, right-click on [C17GangWriter] and select “Run as
administrator.”
Figure 6.1.1 [GangWriter] Window
Before loading the target program data to the ICDmini, click on the [Load Program To ICDmini] button. Then
click on the [Advanced] button in the window opened to set parameters.
Figure 6.1.2 [Load Program To ICDmini] Window

6. Gang Writer Configuration
S5U1C17001Y23 Multi-Programmer Seiko Epson Corporation 13
System Manual (Rev. 1.1)
6.2 Setting Gang Writer Parameters
Enter parameters in the dialog box shown below. For the parameter setting values that depend on the model, refer
to “Appendix B List of Configurations by Model.” Parameters (1) and (6) that specify file names are required to
be entered in a full-path. Use the [Browse] button to select them from a file select dialog box.
Figure 6.2.1 [Set Load Parameter] Dialog Box
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)

6. Gang Writer Configuration
14 Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer
System Manual (Rev. 1.1)
Table 6.2.1(a) Details of Parameters Set in [Set Load Parameter] Dialog Box (1)
Erase/Write Program
(1) File
Enter the FLS file name.
(2) Erase Routine Address
Enter the flash memory erase routine start address in a hexadecimal number.
(Effective range: 0x0 to 0xfffffe) The prefix “0x” or “0X” is not necessary to enter.
(3) Write Routine Address
Enter the flash memory program routine start address in a hexadecimal number.
(Effective range: 0x0 to 0xfffffe) The prefix “0x” or “0X” is not necessary to enter.
(4) Time out
Enter the time used to determine a time-out error during erasing/programming the
flash memory. (Effective range: 0 to
60 seconds) Setting to “0” disables monitoring
of time-out. The time-out value should be set to a time required to erase and
program the flash memory + a margin in order to avoid a system freeze. If the time
required for erasing and programming the flash memory is unknown, first set the
maximum value and adjust it by confirming the actual programming time.
(5) Comment
Enter any comments and/or the commands shown below. Up to 100 characters
can be entered.
-v
Function
Flash programming voltage control option
Specifying the “-v” option within the comment field allows the
flash programming voltage to be set.
Format
-vEraseVoltage-WriteVoltage
EraseVoltage: Erasing voltage
WriteVoltage: Programming voltage
Condition
EraseVoltage: 6.0 V ≤EraseVoltage ≤8.0 V
WriteVoltage: 6.0 V ≤WriteVoltage ≤8.0 V
-s
Function
Communication packet size specification option
Specifying the “-s” option within the comment section allows the
communication packet size to be set for transferring user
programs.
Format
-sSendSize
SendSize: Communication packet size
Condition
SendSize: 1 byte ≤ SendSize ≤ 1,010 bytes (decimal number)
Table of contents
Other Epson Microcontroller manuals

Epson
Epson ICDmini 3.0 User manual

Epson
Epson S5U1C33001H User manual

Epson
Epson S1C31W74 User manual

Epson
Epson S5U1C17M13T1 User manual

Epson
Epson S5U1C17001C User manual

Epson
Epson S5U1C31001L1200 User manual

Epson
Epson S5U1C17001H User manual

Epson
Epson S5U1C17656T User manual

Epson
Epson S1C17W18 User manual

Epson
Epson S5U1C17589T21 User manual

Epson
Epson S1C63003 User manual

Epson
Epson S1C17F13 User manual

Epson
Epson S1C31D50 User manual

Epson
Epson S1C17624 User manual

Epson
Epson S1C17W03 User manual

Epson
Epson S1C17M20 User manual

Epson
Epson S1C17 Series User manual

Epson
Epson S1C33L26 User manual

Epson
Epson S1C6S3N2 User manual

Epson
Epson S1C17M01 User manual