Page 1
CMOS 16 - BIT SINGLE CHIP MICROCOMPUTER S5U1C17001H User Manual (ICD Mini Ver. 1.0) Downloaded from Elcodis.com electronic components distributor...
Page 2
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...
7 Firmware Update ......................18 8 Precautions ........................19 8.1 Restrictions on Debugging ....................19 8.2 Differences from the Actual IC ..................20 8.3 Notes on Use of S5U1C17001H ..................20 9 Troubleshooting ......................22 10 Specifications ......................23 ePSOn S5U1C17001H USer ManUal (ICD MInI Ver.
Page 6
This is the mode to debug the target program using the execution on the PC memory and no other tools are not S5U1C17001H (ICD Mini) or ICD board. The program will required. However, the debug functions depending on the be executed on the target board. The S5U1C17001H (ICD ICD cannot be used.
1 OVerVIeW 1 Overview The S5U1C17001H (ICD Mini) is a hardware tool (emulator) that allows software to be efficiently developed for the S1C17 Family of 16-bit processors. The S5U1C17001H provides a software development environment with the debugger (gdb.exe) by communicating it to the S1C17 processor on the target system and the debugger. In addition to debugging, it can be used as a Flash programmer to program the Flash memory built into the S1C17 processor on the target system.
1.2 Operating environment As the host computer, the S5U1C17001H uses a PC with a USB port (USB 1.1) available. Windows 2000 or Win- dows XP is recommended for the OS.
(8) Manual download guide ..........English/Japanese, 1 each The items specified below are not included with the package. These items must be prepared separately. (9) S5U1C17001H User Manual (ICD Mini Ver. 1.0) (this PDF, downloadable from the SEIKO EPSON HP) When developing an S1C17 application (10) Debugger (gdb.exe) for the S1C17 Family (included in the S1C17 Family C Compiler Package)
See Section 4.1.2, “Flash Programming Power Supply Connector,” for the pin assignment and connection. note: The S5U1C17001H is equipped with a 7-V Flash programming power supply with output capaci- ties of 200 mA. Note, however, that its usage depends on the S1C processor. Be sure to avoid us-...
Page 11
OFF (default) ON (↓) When SW7 is set to ON, a connection between the S5U1C17001H and the debugger can be established even if a target is not connected. See Chapter 7, “Firmware Update,” for how to update the firmware. enabling voltage output for Flash programming (SW8) Table 3.1.6 SW8 Settings...
This connector is used to connect to a PC using the supplied USB cable. note: When a bus-powered USB hub is used to connect the S5U1C17001H to the PC, there may be a shortage of drive power. Connect the S5U1C1700H directly to a PC’s USB port, or use a 5-V AC adapter with a USB connector for supplying power* especially when supplying the Flash program- ming voltage to the target in Flash programmer mode.
Page 13
(out) Other In Flash programmer mode When the S5U1C17001H starts up in Flash programmer mode, LED2 lights in white ( ), LED3 lights in magenta (l), or LED4 lights in yellow (l). leD1 (CPU) This LED indicates the target CPU selected using SW1.
Page 14
If the target board has not been connected physically, the S5U1C17001H enters initial connection waiting status. When the TARGET RST OUT signal of the S5U1C17001H has been connected to the target system, a reset signal is output to the target system simultaneously.
The 4-pin target interface connector (black) on the S5U1C17001H is used to input/output the debug signals from/ to the S1C processor on the target system. Use the target interface cable attached to the S5U1C17001H to connect between this connector and the target system. This connection is always required to perform debugging. The pin assignment of the 4-pin connector (black) on the S5U1C17001H is shown in the table below.
Target voltage input (TarGeT VCC In) In addition to 3.3 V and 1.8 V, the S5U1C17001H is capable of interfacing with the target system using the voltage (1.0 to 5.0 V) input from the target system. To use this function, set SW4 to ON and input the target voltage to the TARGET VCC IN pin.
S5U1C17001C (S1C17 Family C Compiler Package) was installed. USB driver installation procedure (1) First time the S5U1C17001H is connected to the host computer with the USB cable, the dialog box shown below will be displayed. (2) Install the USB driver by following the directions displayed by the wizard.
Page 18
The device manager will be displayed as shown below when the USB driver has been installed correctly. note: If the window above is not displayed correctly, try to reinstall the USB driver. ePSOn S5U1C17001H USer ManUal (ICD MInI Ver. 1.0) Downloaded from Elcodis.com...
After connecting the S5U1C17001H to the target system and the host computer, start up the S5U1C17001H by fol- lowing the procedure described below. If the S5U1C17001H is started up in another procedure, it may not be con- nected to the target system normally.
In this case, retry from Step (1). 5.3 Starting Up the Debugger Start up the debugger (gdb.exe) on the PC after the connection between the S5U1C17001H and the target S1C pro- cessor has been established by the operations described above.
Use the DIP switch to select whether the connection test will be omitted or ex- ecuted. Omitting the connection test (default) When SW6 is set to OPEN, the S5U1C17001H will omit the connection test at the start up of the debugger (gdb. exe). executing the connection test When SW6 is set to ON, the S5U1C17001H will execute the connection test at the start up of the debugger (gdb.
The Flash programming feature allows programming the target system’s Flash memory with data such as a pro- gram, which has been downloaded into the S5U1C17001H’s internal Flash memory. First download the data to program the target system’s Flash memory into the S5U1C17001H by the procedure de- scribed below.
S5U1C17001H to Flash programmer mode. If the DIP switch is changed during power off, supply power by connecting the S5U1C17001H USB cable to a USB port on the host computer or an AC adapter with a 5-V USB output (see Section 3.2). (Flash programmer mode needs only a power supplied through the USB cable and it does not communicate with the PC.) When the...
LED4 (green) (6) Set SW7 to OPEN and press the RESET/START switch to restart the S5U1C17001H. If a malfunction occurs during a firmware update and the S5U1C17001H does not operate normally, please contact our sales office. ePSOn S5U1C17001H USer ManUal (ICD MInI Ver.
I/O memory dump by the S5U1C17001H Note that some S1C peripheral circuits may change the control register status due to their specifications when the I/O memory is read using the memory dump function of the S5U1C17001H or when the target program ex- ecution is suspended.
8.2 Differences from the actual IC The S5U1C17001H is different from the actual IC in the way specified below. If this difference is not taken into consideration in an application, the program may not operate normally in the actual IC.
Page 27
The allowable voltage range for the signals input from the target system is 0 to 5.5 V. The S5U1C17001H may fail if voltages that exceed this range are input. Therefore, target systems to be connected to the S5U1C17001H must be designed so that voltages outside this range are not applied.
→ See Section 4.2, “Connecting to the Host Computer” and check debugger (gdb.exe) in the host computer is invoked: to see if the S5U1C17001H is connected to the host computer Cannot open ICD17 usb driver. correctly. (2) Was the debugger (gdb.exe) restar ted after resetting the S5U1C17001H while the debugger is running? →...
Dimensions Rubber feet included Input voltage DC 5 V Power consumption 2.5 W max. USB cable Length Connector S5U1C17001H side: Standard-B type Host PC side: Standard-A type Target system interface cable Length Approx. 15 cm (4 pins) Flash programming power Length Approx.
Need help?
Do you have a question about the S5U1C17001H and is the answer not in the manual?
Questions and answers