Home

S5U1C17001H User Manual

image

Contents

1. eese nennen nennen nnnm n anser nr nennen nnns 15 6 1 Preparation for Flash Programming eeene eee 15 6 2 Operations in Flash Programmer Mode ssssseseeeeneeeneeenenen eene 15 7 Firmware Update eeeeeeeieeeeee ee eeee nenne enne enne entm nnne nnnm erase nennen assente 17 LU MCI IT LL 19 8 1 Restrictions on Debugging oet orte i e RERO ERRORES AERIS 19 8 2 Differences from the Actual IC ssssssssesesseeneneneneenneeen enne nnnm nennen 20 8 3 Notes on Use of S5U1C17001H ssssssssssseseseeeneneeneenneren nennen nnne nennen 20 9 Troubleshooting eeeeeeeeeee eene nn nnn nn nnn nn tenen nanus nnn nnmnnn nnn nnns 22 T0 Specifications ree ee nete eere sedente eet eee eds 23 at SEEL D E A n 24 Initial Validation when Designing a Target Board e 24 Revisi n FISLOMY e 26 S5U1C17001H USER MANUAL Seiko Epson Corporation i ICDMINI VER1 0 and VER1 1 Explanation of Terms Explanation of Terms various modes S5U1C17001H ICDmini ICD mode This mode is for debugging the target The debugging requires a PC and the debugger gdb included in the S5U1C17001C S1C17 Family C Compiler Package Flash programmer mode This mode is for programming the Flash of the target withou
2. Return to Step 3 to continue the same Flash operation Return to Step 1 to change the Flash operation When finishing Flash programming disconnect the USB cable and set the DIP switch back to ICD mode Supplement Instead of pressing the RESET START switch on the top panel the operation can be performed by inputting a GND level signal to the BRK IN pin pulled up to 3 3 V 16 Seiko Epson Corporation S5U1C17001H USER MANUAL ICDMINI VER1 0 and VER1 1 6 Flash Programmer Mode 7 Firmware Update The S5U1C17001H has a firmware update function using the debugger gdb exe The following shows the procedure to update the SSU1C17001H firmware Note Before the firmware can be updated the USB driver must be installed For installation of the USB driver see Section 4 2 Connecting to the Host Computer 1 Connect only S5U1C17001H to the host computer using USB cable 2 Set the DIP switch SW7 of S5U1C17001H to ON the other SWs are OPEN then press the RESET START switch The LEDs of S5U1C17001H are as follows LED1 blue or 9 green LED2 blue LED3 red LED4 green 3 Start up the debugger gdb exe The same command can be executed by running the batch file provided with the firmware update To invoke at the command prompt gt C gt cd EPSON gnu17 gt gdb 4 Enter the commands shown below when debugger starts up gdb target icd usb After entering the commands the following will be dis
3. SW3 OPEN SW7 OPEN SW8 OPEN If the S1C17 processor is operating with IO voltage other than 3 3 V it is necessary to change the settings of SW4 and SW5 2 Connect the ICDmini to a PC installed with the ICDmini USB driver and connect the debugging pins DCLK DSIO and DST2 and GND to the ICDmini with the target interface cable provided The target is functioning normally if the LEDs on the top of the case are as follows LED1 blue LED2 blue LED3 out LEDA 6 green gt Normal LED1 6 blue LED2 blue LED3 6 red LEDA 6 green gt Input High gt Low gt High signals to the RESET pin This resets the S1C processor 24 Seiko Epson Corporation S5U1C17001H USER MANUAL ICDMINI VER1 0 and VER1 1 10 Specifications LEDI blue LED2 6 blue LED3 6 red LED4 6 out gt Press the RESET START switch on the ICDmini once and input High Low gt High signals to the RESET pin S5U1C17001H USER MANUAL Seiko Epson Corporation 25 ICDMINI VER1 0 and VER1 1 APPENDIX Revision History 411153600 411153601 Cover Change title MICROCONTROLLER ICDmini Ver1 0 and Ver1 1 Update the information of NOTICE to the latest version Change the contents of Developement tools Hx ICE Dx Evaluation board Ex ROM emulation board Mx Emulation memory for external ROM Tx A socket for mounting Cx Compiler package Sx Middleware package Yx Writer software Change name ICDmini 1
4. U S A PC AT and IBM are registered trademarks of International Business Machines Corporation U S A All other product names mentioned herein are trademarks and or registered trademarks of their respective owners SEIKO EPSON CORPORATION 2010 All rights reserved Configuration of product number Devices S1 C 17xxx F 00E1 00 Packing specifications 00 Besides tape amp reel OA TCP BL 2 directions OB Tape amp reel BACK OC TCPBR 2directions OD TCP BT 2 directions OE TCPBD 2directions OF Tape amp reel FRONT OG TCPBT 4directions OH TCPBD 44directions 0J TCP SL 2 directions OK TCP SR 2directions OL Tape amp reel LEFT OM TCP ST 2 directions ON TCP SD 2directions OP TCP ST 4 directions 0Q TCP SD 4 directions OR Tape amp reel RIGHT 99 Specs not fixed Specification Package D die form F QFP B BGA Model number Model name C microcomputer digital products Product classification S1 semiconductor Development tools S5U1 C 17000 H2 1 00 Packing specifications 00 standard packing Version 1 Version 1 Tool type Hx ICE Dx Evaluation board Ex ROM emulation board Mx Emulation memory for external ROM Tx A socket for mounting Cx Compiler package Sx Middleware package Yx Writer software Corresponding model number 17xxx for 1C17xxx Tool classification C microcomputer use
5. Family C Compiler Package 11 Manual for the 51C33 family debugger included in the C compiler manual of the 1C33 family C compiler package M Sp oa Thy Figure 2 1 Components in the S5U1C17001H Package S5U1C17001H USER MANUAL Seiko Epson Corporation ICDMINI VER1 0 and VER1 1 3 Name and Function of Each Part 3 Name and Function of Each Part The following shows the name of each part of the SSU1C17001H 3 1 Left Side Panel 4 pin Flash programming power supply connector white 4 pin target interface connector black ILIIIIIP 612345678 GND pin BRK IN pin DIP switch Left Side Panel 4 pin target interface connector black This connector is used to input output the debug signals DCLK DSIO and DST2 from to the S1C processor on the target system See Section 4 1 1 Target Interface Connector for the pin assignment and connection 4 pin Flash programming power supply connector white This connector is used to output the reset signal to the target system and to supply a power voltage for Flash programming Net Also it is used to input the target operating voltage when the target system voltage level is used for the debug signal interface 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 capacities of 30mA Note however that its usage depends on the S1
6. It is also possible to connect through the step of holding down the reset switch on the target system after releasing the RESET START switch When the S5U1C17001H has been connected to the target S1C processor normally LED1 blue or 9 green LED2 6 blue LED3 out LED4 green When the S5U1C17001H has not been connected to the target system LED1 blue or 9 green LED2 blue LED3 red LED4 out In this case retry from Step 1 S5U1C17001H USER MANUAL Seiko Epson Corporation 13 ICDMINI VER1 0 and VER1 1 5 ICD Mode 5 2 2 When the TARGET RST OUT Signal is Connected When the TARGET RST OUT signal is connected to the reset input on the target system just press the RESET START switch on the S5U1C17001H for starting up The S5U1C17001H automatically generates a target reset signal with the proper connection sequence 1 Press the RESET START switch on the SSU1C17001H LEDI O white LED2 O white LED3 O white LED4 6 out 2 Release the RESET START switch on the S5U1C17001H When the S5U1C17001H has been connected to the target S1C processor normally LED1 blue or 9 green LED2 blue LED3 out LED4 green When the S5U1C17001H has not been connected to the target system LED1 blue or 9 green LED2 blue LED3 6 red LED4 out 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 betwe
7. Notes Set the interface level 3 3V 1 8V target input using the DIP switches SW4 and SW5 and select the CPU Core using the SW1 according to the target system before connecting the target system The signals connected to the S5U1C17001H are very high speed signals so the connector on the target system must be mounted within 5cm from the S1C processor If there is more distance between the connector and the S1C processor the S5U1C17001H may not work properly When wiring the S1C processor to the target connector for connecting the S5U1C17001H insert a 33Q resistor in series between the S1C processor DSIO pin and the connector This resistor must be placed as close to the S1C processor as possible Although the system can operate without this 33Q resistor we recommend inserting this resistor to prevent malfunctions The other pins are connected directly A low level input to the DSIO pin issues a forced break to set the S1C processor into debug mode Although this signal is pulled up through about 100kQ internally when not debugging we recommend either removing the 339 resistor to reduce noise and other problems or pulling this line up to the Vpp level Be sure to use the supplied 4 pin cable for connecting the target system to the S5U1C17001H Using another cable may cause a malfunction If another cable must be necessarily used do not extend the target interface cable and connect the cable directly to the S5U1C17001H so that the distanc
8. Operating temperature 5 to 35 C Storage temperature 10 to 60 C Operating humidity 35 to 80 Storage humidity 20 to 90 No condensation 5U1C17001H USER MANUAL ICDMINI VER1 0 and VER1 1 Seiko Epson Corporation 23 9 Troubleshooting Appendix Initial Validation when Designing a Target Board This section explains the procedure for checking that the S1C processor mounted on the target board is working properly Step 1 Check that the most basic circuits such as the power supply reset and debugging pins are working normally 1 With the ICDmini switched on but not connected input High Low High signals to the RESET pin This resets the S1C processor 2 Input a Low signal to the DSIO pin input pin This sets the S1C processor to debug mode 3 If DST2 pin output pin changes from Low to High it indicates that the most basic functions of the SICI7 processor are working If the S1C processor is set to the debug mode the DST2 pin changes from Low to High Strictly speaking if a Low signal is input continuously the output from DST2 is as follows DST2 U U U U If DST2 pin output pin does not change from Low to High check the hardware of the target board Step 2 Try to establish a connection with the ICDmini 1 Set the DIP switches of the ICDmini The default is all open Set the switches appropriately for the target board In this test make the following settings at the minimum SW2 OPEN
9. and the value e Verl 0 1 0 to 5 0V Ver1 1 1 0 to 5 5V 30mA 26 Seiko Epson Corporation S5U1C17001H USER MANUAL ICDMINI VER1 0 and VER1 1 APPENDIX 11 Add description When used as the ICD for the S1C33 core follow the instructions in the documentation provided with the firmware update 13 Add description Downloading the program to Flash can also be performed in this mode SW7 OPEN e For firmware Ver 1 1 and later It is also possible to connect through the step of Change description G blue or green 14 Add description When gdb target sim is executed the software simulator starts up Change description blue or green 15 Add description As flash writer at main unit This mode is not used when debugging production and so on refer to the readme file below Change description 3 Save the Flash erase write program c17 fwid sample saf 0 0 0x8000 Debugger gdb exe Deletion of item readme txt Delete information 16 Add description 2 If you change the DIP switches with power O yellow The DIP switch settings are enabled by pressing the RESET START switch e Supplement Instead of pressing signal to the BRK IN pin pulled up to 3 3 V 17 Add description the USB driver must be installed For installation of the USB driver see Section 4 2 Connecting to the Host Computer The same command can be executed by the firmware update Change descripti
10. drv_usb x S5U1C17001H USER MANUAL Seiko Epson Corporation 11 ICDMINI VER1 0 and VER1 1 4 Connections Found New Hardware Wizard Found New Hardware Wizard Driver Files Search Results 5 The wizard has finished searching for driver files for your hardware device E Ee oisi pue New ardware Wizar The wizard found a driver for the following device e ICD mini e USB Device Windows has finished installing the software for this device Windows found a driver for this device To install the driver Windows found click Next aS d Nepson gnul 7Sutility drv_usb iedmini inf To close this wizard click Finish The device manager will be displayed as shown below when the USB driver has been installed correctly File Action View Help mis amp j g m x Display adapters db DVD CD ROM drives Floppy disk controllers Id Floppy disk drives IDE ATA ATAPI controllers gt Keyboards Mice and other pointing devices I Monitors H E Network adapters A Ports COM amp LPT SB Processors Sound video and game controllers lt Storage volumes System devices B 2 Universal Serial Bus controllers Intel r 82801B4 BAM USB Universal Host Controller 2442 Intel r 82801B4 BAM USB Universal Host Controller 2444 MELCO INC MCR U USB Root Hub USB Root Hub Note If the window above is not displayed correctly try to reinstall the USB driver 12
11. fwdc command At the same time set the range of the Flash memory to erase Example Erase all sectors and load sample saf in the Flash memory When the Flash starting address is 0x8000 gdb c17 fwld sample saf 0 0 0x8000 5 Quit the debugger For details of the debugger gdb exe and objcopy exe refer to the S5U1C17001C Manual C Compiler Package for S1C17 Family 6 2 Operations in Flash Programmer Mode The following describes how to start up the S5U1C17001H and procedure for Flash programming 1 Set SW2 and SW3 according to the Flash operation to be performed One of the three sequences erasing and programming verification only or erasing programming and verification can be selected Table 6 2 1 DIP Switch Settings in Flash Programmer Mode SW2 SW3 Setting OPEN 1 OPEN Tt _ ICD mode default ON 1 OPEN 7 Flash programmer mode Erase gt program OPEN 1 ON 1 Flash programmer mode Verify ON 1 ON 1 Flash programmer mode Erase gt program gt verify S5U1C17001H USER MANUAL Seiko Epson Corporation ICDMINI VER1 0 and VER1 1 5 ICD Mode 2 If you change the DIP switches with power supplied from USB press the RESET START switch to set the ICDmini to the Flash programmer mode The DIP switch settings are enabled by pressing the RESET START switch If you change the DIP switch settings with the power off connect the USB cable of the ICDmini to the USB port of the h
12. switch after connecting the target system properly red The target system is in power off status The target system is not connected properly The target system is executing the user program out Other LED4 DBG This LED indicates that the target S1C processor is placed in debug mode green The target S1C processor is placed in debug mode Also this LED rights with LED3 before the initial connection between the SSU1C17001H and the target S1C processor has been established out Other In Flash programmer mode When the S5U1C17001H starts up in Flash programmer mode LED2 lights in white O LED3 lights in magenta 9 or LED4 lights in yellow O LED1 CPU This LED indicates the target CPU selected using SW1 blue C17 Target CPU is an SIC17xxx or a product in which the S1C17 Core is embedded green C33 Target CPU is an S1C33xxx or a product in which the 1C33 Core is embedded C33 is scheduled to be supported with a firmware update LED2 ERASE This LED indicates a Flash erasing selection operation status O white The Flash erasing function is selected 3 blinking in white The Flash memory is being erased green The Flash erasing operation has completed normally OK red A Flash erase error has occurred ERR LED3 WRITE This LED indicates a Flash programming selection operation status 9 magenta The Flash programming function is selected 3 blinking in magenta The Flash memory
13. the PC controls the S5U1C17001H to execute the debug commands See Chapter 5 In Flash programmer mode the S5U1C17001H operates as a standalone Flash programmer See Chapter 6 Selecting the DSIO signal level SW4 and SW5 Table 3 1 3 SW4 and SW5 Settings SW4 SW5 Setting OPEN 1 OPEN tT 13 3 V default OPEN 1 ON 1 1 8V ON 1 Voltage Ver1 0 1 0 to 5 0V Ver1 1 1 0 to 5 5V input from the target The target operating voltage should be input to Pin 4 on the Flash programming power supply connector Enabling the connection test SW6 Table 3 1 4 SW6 Settings SW6 Setting OPEN 1 Omitt connection test default ON 4 Execute connection test The connection test is a communication diagnostic feature at start up of the debugger Setting firmware update mode SW7 Table 3 1 5 SW7 Settings SW7 Setting OPEN 1 OFF default ON 1 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 SW8 Setting OPEN 1 OFF default ON J ON Note The S5U1C17001H is equipped with a 7 V Flash programming power supply with output capacities of 30mA Note however that its usage depends on the S1C processor Be sure to avoid using th
14. 5U1C17001H 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 Register initialization The initial CPU register values may be different from those of the actual IC Therefore be sure not to create a program that depends on the initialized value The initial values when the S5U1C17001H is connected are as follows r0 7 0x000000 pe 0x008000 Note Sp Oxfffffc psr 0x00 IL 000 IE 0 CVZN 0000 Note The PC initial value is decided according to the TTBR register setting value boot address Refer to the technical manual of each model for the TTBR value 8 3 Notes on Use of S5U1C17001H Powering on off After turning off the power to the SSU1C17001H by disconnecting the USB cable wait at least 10 seconds before turning the power on connecting the USB cable again If the power is turned on immediately after it is turned off the SSU1C17001H may not be initialized correctly in a power on reset and may cause a malfunction Connecting the target system The signals connected to the S5U1C17001H are very high speed signals so the connector on the target system must be mounted within 5 cm from the target S1C processor If there is more distance between the connector and the S1C processor the SSU1C17001H may not work properly Furthermore be sure to use the supplied 4 pin cable for connecting
15. 5U1C17001H operating mode for using it as a standalone Flash programmer The following explains the settings for activating the Flash programmer mode and operations This mode is not used when debugging programs This task is only performed when using the ICDmini as a Flash writer without a PC for mass production and so on 6 1 Preparation for Flash Programming The Flash programming feature allows programming the target system s Flash memory with data such as a program 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 described below 1 Start up the S5U1C17001H in ICD mode see Section 5 2 2 Start up the debugger 1 Launch GDB 2 Connect the target gdb target icd usb 3 Save the Flash erase write program FLS program in the ICDmini with the c17 wlp command Example When the S1C17701 is the target ICDmini firmware verl 1 gdb c17 fwlp C EPSON GNU17 mcu_model 17701 fls fwr17701v1l saf 0x48 0x80 A Flash erase write program for the Mini target SIC processor or external Flash memory must be saved in the ICDmini For details of the Flash erase write program refer to the readme file below following installation of GNU17 C EPSON GNU17 mcu_model xxxxx fls Default installation 4 Save the user program for writing to the target Flash memory in the ICDmini with the c17 fwlp or c17
16. AC adapters ELECOM AVD ACAU1WH Groovy GM PWO001A 3 3 Top Panel LED1 LED2 LED3 LED4 EPSON 5U1017001H DIPSW__ OPENT ONY TARGET GPU C17 C33 ee FLASH WRITER OFF WRITE 3 TARGET RST OUT Balancer voc N RESET START switch nara 6 CONNECTION DIAG OFF ON DIP SW DEFAULT ALLOPENt 8 FLASH VCC OUT OFF ON Top Panel LED1 LED4 The four LEDs located on the top panel indicate debugging and Flash programming statuses The indicated status differs between ICD mode and Flash programmer mode Seiko Epson Corporation S5U1C17001H USER MANUAL ICDMINI VER1 0 and VER1 1 3 Name and Function of Each Part In ICD mode LED1 CPU This LED indicates the target CPU selected using SW1 blue C17 Target CPU is an SIC17xxx or a product in which the S1C17 Core is embedded green C33 Target CPU is an S1C33xxx or a product in which the 1C33 Core is embedded C33 is scheduled to be supported with a firmware update LED2 ICD MODE This LED always lights in blue 8 when ICD mode is selected using SW2 and SW3 blue The S5U1C17001H is being operated in ICD mode LED3 EMU This LED lights when the target program is started from the debugger to indicate that the target system is executing the target program Also this LED lights when the target system is in power off status or it is not connected In this case the LED will go out by turning the target system on or by pressing the RESET START
17. C processor Be sure to avoid using this power supply for the S1C processor do not set SW8 of the DIP switch to ON if its technical manual does not describe the usage of the Flash programming power supply as the chip may be destroyed due to overvoltage This pin must be left open if the connector is attached on the target system DIP switch The DIP switch assembly is used to select the target CPU core Flash programmer mode DSIO signal level connection test feature firmware update feature and Flash programming voltage output aS S OPEN gt i2 3 4 5 6 7 8 a ON Figure 3 1 1 DIP Switch Assembly Note The changed switch settings will take effect after the RESET START switch is pressed Selecting the target CPU core SW1 Table 3 1 1 SW1 Settings SW1 Setting OPEN 1 S1C17 Core default ON J 1C33 Core Scheduled to be supported with a firmware update 4 Seiko Epson Corporation S5U1C17001H USER MANUAL ICDMINI VER1 0 and VER1 1 3 Name and Function of Each Part Selecting either ICD mode or Flash programmer mode SW2 and SW3 Table 3 1 2 SW2 and SWS Settings Sw2 SW3 Setting OPEN 1 OPEN 1 ICD mode default ON 1 OPEN T Flash programmer mode Erase gt program OPEN 1 ON 1 Flash programmer mode Verify ON 1 ON 1 Flash programmer mode Erase gt program gt verify In ICD mode the debugger on
18. Change name ICDmini Add description as flash writer at main unit This manual is for the following 2 models e 55U1C17001H1100 ICDmini ver1 0 e 55U1C17001H1200 ICDmini ver1 1 Through firmware update support is also expected for the S1C33 family 32 bit processor 2 Deletion of item Data download rate Change description Debugger gdb Ver1 0 1 0 to 5 0V Ver1 1 1 0 to 5 5V The latest firmware will be released on the user s web site 2 For data download speed the reference value per each S1C processor model is disclosed by user s site Windows 2000 Windows XP or Windows Vista is recommended for the OS 3 Change description e S5U1C17001H main unit e S5U1C17001H User Manual ICDmini Ver 1 0 1 1 11 Manual for the S1C17 family debugger included in the C compiler manual of the S1C17 family C compiler package 11 Manual for the S1C33 family debugger included in the C compiler manual of the S1C33 family C compiler package 4 Change the value 30mA 5 Change description and the value Ver1 0 1 0 to 5 0V Ver1 1 1 0 to 5 5V 30mA n ICD mode if a Low level signal is erasing writing verification PAdjstlayout Change of description a hardware reset will be issued to the S5U1C17001H gt a hardware reset will return to default state Delete information 10 Add description The connection to RESET of target reset signal is This mode functions only in Flash Writer mode Change description
19. Dawning Mansion Keji South 12th Road Hi Tech Park Shenzhen 518057 CHINA Phone 86 755 2699 3828 Fax 86 755 2699 3838 EPSON HONG KONG LTD 20 F Harbour Centre 25 Harbour Road Wanchai Hong Kong Phone 852 2585 4600 Telex 65542 EPSCO HX FAX 852 2827 4346 EPSON TAIWAN TECHNOLOGY amp TRADING LTD 14F No 7 Song Ren Road Taipei 110 TAIWAN Phone 886 2 8786 6688 FAX 886 2 8786 6660 EPSON SINGAPORE PTE LTD 1 HarbourFront Place 03 02 HarbourFront Tower One Singapore 098633 Phone 65 6586 5500 FAX 65 6271 3182 SEIKO EPSON CORP KOREA OFFICE 50F KLI 63 Bldg 60 Yoido dong Youngdeungpo Ku Seoul 150 763 KOREA Phone 82 2 784 6027 FAX 82 2 767 3677 SEIKO EPSON CORP SEMICONDUCTOR OPERATIONS DIVISION IC Sales Dept IC International Sales Group 421 8 Hino Hino shi Tokyo 191 8501 JAPAN Phone 81 42 587 5814 FAX 81 42 587 5117 Document Code 411153601 First Issue November 2007 in JAPAN L Revised February 2010 in JAPAN V
20. EPSON EXCEED YOUR VISION CMOS 16 BIT SINGLE CHIP MICROCONTROLLER S5U1C17001H User Manual ICDmini Ver1 0 and Ver1 1 SEIKO EPSON CORPORATION aed 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 applica tion 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 This material or portions thereof may contain technology or the subject relating to strategic products under the control of the Foreign Exchange and Foreign Trade Law of Japan and may require an export license from the Ministry of Economy Trade and Industry or other approval from another government agency All brands or product names mentioned herein are trademarks and or registered trademarks of their respective com panies Windows 2000 and Windows XP are registered trademarks of Microsoft Corporation
21. L ICDMINI VER1 0 and VER1 1 1 Overview 1 Overview The S5U1C17001H ICDmini 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 as flash writer at main unit This manual primarily explains how to use the S5U1C17001H For details on the debugger functions and commands refer to the Debugger section in the S5U1C17001C Manual C Compiler Package for SIC17 Family S5U1C17001H External View Note Do not open the case as it may cause a malfunction This manual is for the following 2 models e 5U1C17001H1100 ICDmini ver1 0 e S5U1C17001H1200 ICDmini verl 1 Through firmware update support is also expected for the 1C33 family 32 bit processor Precautions before using the S5U1C17001H Please read the sections shown below before getting started with the SSU1C17001H These sections especially 2 and 3 describe the answers to frequently asked questions 1 Chapter 2 Components Included with Package Make sure all of the listed items are included with your package 2 Section 4 2 Connecting to the Host Computer Install the U
22. Product classification S5U1 development tool for semiconductor products Contents Contents OV OR IAS E 1 ELI LE 2 1 2 Operating Environment reti cdd d plc cudee sec etc dg 2 2 Components Included with Package esses eene 3 3 Name and Function of Each Part eeeeeeeeeseeseeeeeeeeenn nennen nennen 4 34 Left Side Panel rnt rite de yi n ete dta 4 3 2 Riglit Side Panel 3 1 pcr E ree p e Ero rre egeo CUR dd 6 SEC od ul c E 6 A COMMECHIONS IEEE 9 4 1 Connecting the Target System essent nennen nennen 9 4 1 1 Target Interface Connector sesssseseseseeeneneneneen nennen nennen 9 4 1 2 Flash Programming Power Supply Connector eene 10 4 2 Connecting to the Host Compulter sssssesssseeeeeeennee nennen nennen nnns 11 5 ICD MOde E cere nito oc trao ca v A E ee Cera Va dare ra vido ae ca eiue e y adea 13 5 1 Specitying ICD MOQde eut ROUEN MID 13 5 2 Activation in ICD MOde ette En RR RM ET 13 5 2 1 When the TARGET RST OUT Signal is Not Connected sssss 13 5 2 2 When the TARGET RST OUT Signal is Connected ssssssss 14 5 3 Starting Up the Debugger totos mr RUPEM eaa Ta a MULUS 14 5 4 Conriection Test n tteiub RUDI AIMRUBEU PUPA UM iB ERES 14 6 Flash Programmer Mode
23. SB driver before the S5U1C17001H can be used 3 Section 4 1 Connecting the Target System Please pay particular attention to the Notes M S5U1C17001H USER MANUAL Seiko Epson Corporation 1 ICDMINI VER1 0 and VER1 1 1 Overview 1 1 Features S1C cores supported Host interface Debugger gdb mode Program break functions Measurement of program execution time e Standalone Flash programmer function Firmware update function DCLK frequency to communicate with the target Flash programming power voltage supply Target reset signal output e Target system I O interface voltage Target system interface connector Flash programming power supply connector S1C17 Core S1C33 STD Core S1C33 mini Core S1C33 PE Core S1C33 ADV Core USB 1 1 ICD Mini mode PC break function Lapse of time break function Forced break function External forced break function BRK IN pin input Can be measured from within 3 us to 6515 hours Available Available 4 kHz to 40 MHz Available Available 3 3 V 1 8 V or voltage Ver1 0 1 0 to 5 0V Verl 1 1 0 to 5 5V input from the target 4 pin connector 4 pin connector Scheduled to be supported with a firmware update The latest firmware will be released on the user s web site 2 For data download speed the reference value per each S1C processor model is disclosed by user s site 1 2 Operating Environment As the host com
24. START switch in both ICD and Flash programmer modes 8 Seiko Epson Corporation S5U1C17001H USER MANUAL ICDMINI VER1 0 and VER1 1 4 Connections 4 Connections 4 1 Connecting the Target System 4 1 1 Target Interface Connector The 4 pin target interface connector black on the SSU1C17001H is used to input output the debug signals from to the SIC 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 For the debug pin numbers on the S1C processor refer to the technical manual of each model Table 4 1 1 1 Pin Assignment of the Target Interface Connector Black No Pin name 1 0 Pin function 4321 1 DCLK Clock signal input pin for debugging eee 2 GND Power supply GND pin 3 DSIO I O Serial transfer I O pin for debugging 4 DST2 l Debug status signal input pin Target system 5U1C17001H S1C processor within 5 cm Target interface cable DST2 4 4 DSIO AAA 3 3 GND l 2 2 DCLK 1 1 Blue White T Place a 33 Q resistor in series at a location Target interface connector as close to the S1C processor as possible Figure 4 1 1 1 Connecting the Target System
25. Seiko Epson Corporation S5U1C17001H USER MANUAL ICDMINI VER1 0 and VER1 1 4 Connections 5 ICD Mode ICD mode is an S5U1C17001H operating mode for debugging the target system by connecting the SSU1C17001H to the debugger gdb exe on the PC The following explains the settings for activating ICD mode and operations Downloading the program to Flash can also be performed in this mode 5 1 Specifying ICD Mode Set the DIP switches as below so that the S5U1C17001H will start up in ICD mode SW2 OPEN SW3 OPEN SW7 OPEN 5 2 Activation in ICD Mode After connecting the S5U1C17001H to the target system and the host computer start up the S5U1C17001H by following the procedure described below If the SSU1C17001H is started up in another procedure it may not be connected to the target system normally 5 2 1 When the TARGET RST OUT Signal is Not Connected When the TARGET RST OUT signal is not connected to the reset input on the target system start up the S5U1C17001H by the procedure described below 1 Hold down the RESET START switch on the SSU1C17001H LEDI O white LED2 O white LED3 O white LED4 6 out 2 Hold down the reset switch on the target system 3 Release the RESET START switch on the SSU1C17001H LED1 blue or 9 green LED2 blue LED3 red LED4 green 4 Release the reset switch on the target system For firmware Ver 1 1 and later hold down the RESET START switch on the SSU1C17001H
26. aterial The operation is unstable 1 Is the DSIO output level SW4 SW5 set correctly See Section 3 1 Left Side Panel and make sure that the setting is correct 2 Is the target system connected with a cable other than the one supplied or is the supplied cable used with extension cables gt Use the supplied cable If it cannot be used then use extension cables that are as short as possible and shield them in order to avoid occurrence of low level noise on the DSIO signal 22 Seiko Epson Corporation 5U1C17001H USER MANUAL ICDMINI VER1 0 and VER1 1 10 Specifications Table 10 1 Specifications 8 Precautions supply cable 4 pins Components Items Specifications Remarks 5U1C17001H Dimensions 100 mm W x 85 mm L x 25 mm H Rubber feet included Input voltage DC5V Power consumption 2 5 W max USB cable Length 1m 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 15 cm Table 10 2 Recommended Connectors on the Target System Components Items Specifications Remarks Target system interface Connector 4 pin straight A2 4PA 2 54DS 71 HRS connector 4 pins Flash programming power Connector 4 pin L angle SO4B PASK 2 JST supply connector 4 pins Table 10 3 Operating Environment Items Specifications Remarks
27. break function therefore execution times cannot be measured when the lapse of time break function is used Reset sequence The sequence from when the S5U1C17001H is powered on until the target program is executed is entirely different from that of the actual S1C processor However a sequence for the reset request input from the target system while the target program is being executed is the same as that for the actual S1C processor Regarding the reset sequence in the actual S1C processor refer to the technical manual of each model Break functions when a reset request is accepted If a reset request reset input or reset interrupt from the watchdog timer is accepted while the S1C processor on the target system is executing the target program in normal mode the hardware PC break and software PC break functions are disabled It will be enabled again when the S1C processor enters debug mode S5U1C17001H USER MANUAL Seiko Epson Corporation 19 ICDMINI VER1 0 and VER1 1 7 Firmware Update 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 SSU1C17001H or when the target program execution is suspended For details on the memory dump function refer to the Debugger section in the S5U1C17001C Manual C Compiler Package for S1C17 Family 8 2 Differences from the Actual IC The S
28. e to the S1C processor on the target system will be shortest The 4 pin connector does not have a projection for preventing reverse insertion Check the cable color blue of pin 1 to be sure the insertion of connector is proper when connecting it to the target system S5U1C17001H USER MANUAL Seiko Epson Corporation 9 ICDMINI VER1 0 and VER1 1 4 Connections 4 1 2 Flash Programming Power Supply Connector The 4 pin Flash programming power supply connector white is used to output a reset signal and a Flash programming voltage to the target system and to input the target interface voltage These signals are not necessary for debugging Connect between this connector and the target system using the Flash programming power supply cable attached to the S5U1C17001H as necessary The pin assignment of the 4 pin connector white on the S5U1C17001H is shown in the table below Table 4 1 2 1 Pin Assignment of the Flash Programming Power Supply Connector White No Pin name 1 0 Pin function 1234 1 FLASH VCC OUT O Flash programming voltage output pin eese 2 GND Power supply GND pin 3 TARGET RST OUT O Target reset signal output pin 4 TARGET VCC IN I Target voltage input pin Pay attention to the pin number assignment It is the reverse order of the target interface connector Target reset signal output TARGET RST OUT By pressing the RESET START switch in ICD mode the TARGET RST OUT output
29. en the S5U1C17001H and the target SIC processor has been established by the operations described above When debugging using the debugger with the SSU1C17001H connected the debugger must be set to ICD Mini mode by executing the target command gdb target icd usb Command to set the debugger in ICD Mini mode For the debug commands and how to operate the debugger refer to the S5U1C17001C Manual C Compiler Package for S1C17 Family When gdb target simis executed the software simulator starts up Note Before disconnecting the S5U1C17001H from the host computer be sure to terminate the debugger 5 4 Connection Test The S5U1C17001H has a connection test feature to diagnose if it can communicate with the target system properly when the debugger gdb exe starts up Perform the connection test for example when the S5U1C17001H does not start up by the correct procedure Use the DIP switch to select whether the connection test will be omitted or executed Omitting the connection test default When SW6 is set to OPEN the SSU1C17001H 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 SSU1C17001H will execute the connection test at the start up of the debugger gdb exe 14 Seiko Epson Corporation S5U1C17001H USER MANUAL ICDMINI VER1 0 and VER1 1 5 ICD Mode 6 Flash Programmer Mode As flash writer at main unit flash programmer mode is an S
30. ing the directions displayed by the wizard Specify CAEPSONgnul 7 utility rv usb as the USB driver directory Found New Hardware Wizard Found New Hardware Wizard Install Hardware Device Drivers bs Locate Driver Files A device driver is a software program that enables a hardware device to work with fuste Where do you want Windows to search for driver files S an operating system 4 This wizard will complete the installation for this device Search for driver files for the following hardware device oy USB Device e USB Device The wizard searches for suitable drivers in its driver database on your computer and in device driver is a software program that makes a hardware device XI onu np of the following optional search locations that you specify needs driver files for your new device To locate driver files and complete installation click Next To start the search click Next If you are searching on a floppy disk or CD ROM drive insert the floppy disk or CD before clicking Next What do you want the wizard to do Optional search locations lives C Display a list of the known drivers for this device so that can choose a specific D driver I Specify a location Microsoft Windows Update Bock Cin Foundnew Hardware Wizard x Insert the manufacturer s installation disk into the drive selected and then click OK Lowe Cancel Copy manufacturer s files from D EPSON GNU1 7 utility
31. is being programmed green The Flash programming operation has completed normally OK red A Flash program error has occurred ERR S5U1C17001H USER MANUAL Seiko Epson Corporation 7 ICDMINI VER1 0 and VER1 1 3 Name and Function of Each Part LED4 VERIFY This LED indicates a Flash verification selection operation status O yellow The Flash verification function is selected 3 blinking in yellow The Flash memory is being verified 6 green The Flash verify operation has completed normally OK red A Flash verify error has occurred ERR RESET START switch The function differs between ICD mode and Flash programmer mode In ICD mode Click The firmware restarts and performs the initial sequence for connecting with the S1C processor on the target system If the target board has not been connected physically the SSU1C17001H 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 In Flash programmer mode Click The S5U1C17001H starts the selected Flash operation erasing programming verification If the LED for the operation to be executed indicates OK or ERR a hardware reset will return to default state Press and hold about three seconds Issues a hardware reset to the SSU1C17001H Note When a DIP switch setting is changed it will take effect by pressing the RESET
32. is power supply for the S1C processor do not set SW8 of the DIP switch to ON if its technical manual does not describe the usage of the Flash programming power supply as the chip may be destroyed due to overvoltage BRK IN pin In ICD mode if a Low level signal is input to this pin when the target program is being executed execution of the target program is suspended After a Low level is input to the BRK IN pin a break will occur after a few instructions have been executed In Flash programmer mode inputting a Low level to this pin has the same effect as pressing the RESET START switch it starts erasing writing verification Note The voltage to apply to the BRK IN pin must be 0 V for low level and 3 3 V or open for high level The BRK IN pin is always pulled up to 3 3 V GND pin Connect this pin to the GND level 0 V S5U1C17001H USER MANUAL Seiko Epson Corporation 5 ICDMINI VER1 0 and VER1 1 3 Name and Function of Each Part 3 2 Right Side Panel USB connector Right Side Panel USB connector 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 programming voltage to the target in Flash programmer mode Recommended
33. n 4 1 Connecting the Target System and check to see if the target system is connected correctly 3 Was the start up sequence correct See Section 5 2 Activation in ICD Mode and start up in the correct order The following message appears when the debugger gdb exe in the host computer is invoked Cannot open ICD17 usb driver 1 Is the S5U1C17001H connected to the host computer correctly See Section 4 2 Connecting to the Host Computer and check to see if the S5U1C17001H is connected to the host computer correctly 2 Was the debugger gdb exe restarted after resetting the 5U1C17001H while the debugger is running gt See Section 5 2 Activation in ICD Mode and start up in the correct order The following message suddenly appears while the target program is being executed by the debugger gdb exe in the host computer Break by external break Program received signal SIGINT Interrupt This problem is caused by low level noise on the DSIO signal of the target system or when the BRK IN pin goes GND level 1 Is the target system connected with a cable other than the supplied or is the supplied cable used with extension cables gt Use the supplied cable If it cannot be used then use extension cables that are as short as possible and shield them in order to avoid occurrence of low level noise on the DSIO signal 2 Is there any conductive material near the BRK IN pin 2 Remove the conductive m
34. on 1 Connect only S5U1C17001H to the host computer using USB cable 2 Set the DIP switch SW7 of S5U1C17001H LED4 Green 4 Enter the commands shown below 5 Check the current firmware version may not start up b 6 Change of step number 6 7 Change of step number blue or green o Change description After completing the operation and the LEDs are as follows the firmware update may have failed for some reason 19 Change of description DEMNM 1 The measuring execution debug mode entry exit processing around 40 cycles 20 Delete information 21 Change of description Notes on target system s interface e Oto 5 0V for Ver 1 0 and 0 to 5 5V for Ver 1 1 2425 Add Appendix S5U1C17001H USER MANUAL Seiko Epson Corporation 27 ICDMINI VER1 0 and VER1 1 EPSON International Sales Operations AMERICA ASIA EPSON ELECTRONICS AMERICA INC 2580 Orchard Parkway San Jose CA 95131 USA Phone 1 800 228 3964 EUROPE Fax 1 408 922 0238 EPSON EUROPE ELECTRONICS GmbH Riesstrasse 15 80992 Munich GERMANY Phone 49 89 14005 0 Fax 49 89 14005 110 EPSON CHINA CO LTD 7F Jinbao Bldg No 89 Jinbao St Dongcheng District Beijing 100005 CHINA Phone 86 10 8522 1199 Fax 86 10 8522 1125 SHANGHAI BRANCH 7F Block B Hi Tech Bldg 900 Yishan Road Shanghai 200233 CHINA Phone 86 21 5423 5577 Fax 86 21 5423 4677 SHENZHEN BRANCH 12F
35. or after pressing and releasing the RESET START switch if the LEDs are as follows LEDI O white LED2 O white LED3 O white LED4 out the firmware update may have failed for some reason If a malfunction occurs during a firmware update and the SSU1C17001H does not operate normally please contact our sales office 18 Seiko Epson Corporation S5U1C17001H USER MANUAL ICDMINI VER1 0 and VER1 1 6 Flash Programmer Mode 8 Precautions 8 1 Restrictions on Debugging The debugging using the SSU1C17001H is subject to the restrictions specified below Operation of the internal peripheral circuits The peripheral circuits of the target SIC processor stop operating when the debugger gdb exe on the host computer is ready to accept commands that is unless the target program is running For this reason the peripheral circuits do not operate in real time when the target program is executed in the single step mode For details on single step execution refer to the Debugger section in the S5U1C17001C Manual C Compiler Package for S1C17 Family Interrupts when the target program is not running If an interrupt request to the SIC Core is generated by the target system when the target program is not running interrupt processing is paused The interrupt that has been paused is serviced immediately before the target program is executed or immediately after one instruction is executed after the debugger gdb exe on the host com
36. ost computer or to a 5 V AC USB adapter see Section 3 2 to supply power In the Flash programmer mode only power is required from the USB cable and there is no communication with the PC Waiting for connection with the target ERASE out WRITE red VERIFY green When connected normally the LEDs light up in accordance with the selected operation After connecting with the target Erase gt Write Verify Erase gt Write gt Verify ERASE O white out O white WRITE magenta out magenta VERIFY out O yellow O yellow 3 Connect the target system including the Flash to be programmed to the S5U1C17001H 4 Press the RESET START switch The S5U1C17001H starts the selected Flash operation The LED indicates the operation being executed During erasing During programming During verification ERASE blinking in white E WRITE 3 blinking in magenta VERIFY X amp blinking in yellow 5 When the Flash operation has finished the LED lights as shown below to indicate that the operation has completed normally or an error has occurred When completed normally Erasing has completed Programming has completed Verification has completed ERASE green WRITE green VERIFY 6 green When an error has occurred Erase error Program error Verify error ERASE red WRITE red VERIFY red 6 Disconnect the target system 7
37. played C17 ICD17 debugging Connecting with target ID_OK done ICD Initializing ICD INITALIZE done Read ICD Version ICD VER READ done ICDmini hardware version 1 0 ICDmini software version 1 1 The current firmware version Debug base address ID DATA READ xxxx Boot address ICD DATA READ XXXX 5 Check the current firmware version and enter the following commands if you need to update the firmware gdb c17 firmupdate path filename saf path Path of the new firmware filename sa File name of the new firmware After entering the commands the following will be displayed Erase flash data done Load flash data done ICD firmware update done Please quit gdb and power off ICD when LED2 LED3 LED4 is green LED is green in the case of SVT17701 This procedure may take about 15 minutes While updating the firmware DO NOT reset S5U1C17001H or turn off the power Otherwise S5U1C17001H may not start up S5U1C17001H USER MANUAL Seiko Epson Corporation 17 ICDMINI VER1 0 and VER1 1 6 Flash Programmer Mode 6 The firmware update has completed when the LEDs light as below LED1 blue or 9 green LED2 9 green LED3 9 green LED4 9 green 7 Set SW7 to OPEN and press the RESET START switch to restart the SSU1C17001H After completing the operation and the LEDs are as follows LED1 blue or 9 green LED2 red LED3 6 red LED4 red
38. puter the SSU1C17001H uses a PC with a USB port USB 1 1 available Windows 2000 Windows XP or Windows Vista is recommended for the OS 2 Seiko Epson Corporation 5U1C17001H USER MANUAL ICDMINI VER1 0 and VER1 1 2 Components Included with Package 2 Components Included with Package The following shows the components included with the SSU1C17001H package 1 SSU1C17001H main unit eee 1 2 USB cable ii iae A i 1 3 Target interface cable 4 pin sss 1 4 Flash programming power supply cable 4 pin 1 5 User registration card sse English Japanese 1 each 6 Warranty Card isis sese iiie English Japanese 1 each 7 Usage precautions eicere treten nni English Japanese 1 each 8 Manual download guide esses English Japanese 1 each The items specified below are not included with the package These items must be prepared separately 9 S5UICI17001H User Manual ICDmini Ver 1 0 1 1 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 11 Manual for the S1C17 family debugger included in the C compiler manual of the S1C17 family C compiler package When developing an S1C33 application scheduled to be supported 10 Debugger gdb exe for the S1C33 Family included in the 1C33
39. puter has directed that the target program be executed Interrupts when the target program is executed in a single step If an interrupt request to the SIC Core is generated by the target system during single step execution of the target program including functions and subroutines STEP the interrupt request is paused During single step execution of the target program not including functions and subroutines NEXT an interrupt request received within a function or subroutine is serviced without being paused and an interrupt received in other parts of the program is paused as with the STEP command The interrupt that has been paused is serviced immediately before the target program is executed or immediately after one instruction is executed after the debugger gdb exe on the host computer has directed that the target program be executed For details on single step execution STEP and NEXT refer to the Debugger section in the S5U1C17001C Manual C Compiler Package for S1C17 Family Execution counter 1 The measuring execution times up to 6515 hours 2 A3us or less of program execution time cannot be measured correctly 3 As it includes the precision of the oscillator built into ICDmini and the processing of debug mode entry exit the measurement result contains the following error measuring result actual time t50ppm debug mode entry exit processing around 40 cycles The counter is also used for clocking of the lapse of time
40. s a reset signal to the target system When using the TARGET RST OUT output a reset circuit as shown in the figure below is recommended The connection to RESET of target reset signal is not essential although it allows debugging to be performed more efficiently When using the Flash protection function it is best to have a connection Connection is also recommended in the Flash programmer mode and when using the S5U1C17001H as the Gang Writer Gang Programmer using S5U1C17000Y2 S5U1C17001H Target system 3 Pulp resistor S1C processor Das RESET SEN E TARGET RST OUT NUORA 1 Reset switch d Figure 4 1 2 1 Example of Target Reset Circuit 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 Ver1 0 1 0 to 5 0V Verl 1 1 0 to 5 5V input from the target system To use this function set SW4 to ON and input the target voltage to the TARGET VCC IN pin Flash programming voltage output FLASH VCC OUT Depending on the Flash memory module built into the S1C processor on the target system its programming voltage 7V can be supplied from the S5U1C17001H The maximum current that can be supplied is 30mA To use this output set SW8 to ON and connect between the FLASH VCC OUT pin and the power supply pin on the target system This mode functions only in Flash Writer mode When SWS is set
41. t a PC used Before programming can be performed the program to be written must be loaded to the S5U1C17001H ICDmini in ICD mode Debugger gdb included in the S5U1C17001C S1C17 Family C Compiler Package Connect mode Simulator SIM mode The simulator mode simulates the target program execution on the PC memory and no other tools are not required However the debug functions depending on the ICD cannot be used ICD Mini mode This is the mode to debug the target program using the 5U1C17001H ICDmini or ICD board The program will be executed on the target board The S5U1C17001H ICDmini must be used in this mode Target S1C17xxx Normal mode executing the user program The target enters debug mode by one of the conditions shown below When a beak condition set by the debugger gdb has met When the break button on the gdb window is clicked while the debugger is connected to the target When a low level signal is input to the DSIO pin of the target When the CPU executes the brk instruction Debug mode The normal mode is the normal state while the target is In this mode the target accepts the control by the debugger gdb Various debugging operations such as display and rewriting the registers memory can be performed The target enters this mode when executing the startup sequence after connecting it to the S5U1C17001H ICDmini Seiko Epson Corporation S5U1C17001H USER MANUA
42. the target system to the SSU1C17001H Using another cable may cause a malfunction If another cable must be necessarily used do not extend the target interface cable and connect the cable directly to the SSU1C17001H so that the distance to the S1C processor on the target system will be shortest Operation of the S5U1C17001H system The S5U1C17001H can work by connecting a target system in which the actual SIC processor is mounted Since the 5U1C17001H package does not include any board equivalent to a target system please prepare separately 20 Seiko Epson Corporation S5U1C17001H USER MANUAL ICDMINI VER1 0 and VER1 1 8 Precautions Wiring between the S1C processor and target connector When wiring the S1C processor to the target connector for connecting the S5U1C17001H insert a 33 Q resistor in series between the SIC processor DSIO pin and the connector This resistor must be placed as close to the S1C processor as possible If the reset line is not connected the system can be operated without this 33 Q resistor However we recommend inserting this resistor to prevent malfunctions The other pins are connected directly The total length of the line must be under 5 cm A low level input to the DSIO pin issues a forced break to set the S1C processor into debug mode Although this signal is pulled up through about 100 kQ internally when not debugging we recommend either removing the 33 resistor to reduce noise and other problems or p
43. to ON the FLASH VCC OUT pin always outputs a 7 V voltage regardless of whether the RESET START switch is pressed or not Note Refer to the technical manual of each model as to whether the target S1C processor is operable with this voltage or not Do not use this voltage unless there is a description about the usage in the technical manual as the S1C processor may be destroyed due to overvoltage 10 Seiko Epson Corporation S5U1C17001H USER MANUAL ICDMINI VER1 0 and VER1 1 4 Connections 4 2 Connecting to the Host Computer Use the attached USB cable to connect the 5U1C17001H to the host computer When the 5U1C17001H is connected to the host computer for the first time the host computer will request that the USB driver be installed Install the USB driver by the procedure shown below The USB driver is located in the C EPSON gnu1 7 utility drv usb directory created when the S5U1C17001C S1C17 Family C Compiler Package was installed When used as the ICD for the S1C33 core follow the instructions in the documentation provided with the firmware update 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 Found New Hardware Wizard Welcome to the Found New Hardware Wizard This wizard helps you install a device driver for a hardware device To continue click Next 2 Install the USB driver by follow
44. ulling this line up to the Vpop level Within 5 cm DCLK GND Target S1C processor DSIO connector 1 DST2 Place a 33 Q resistor in series at a location as close to the S1C processor as possible Figure 8 3 1 Wiring between S1C Processor and Target Connector Reset request Do not reset the target system while the target program execution is suspended as the SSU1C17001H will be unable to operate normally Notes on target system s interface The allowable voltage range for the signals input from the target system is 0 to 5 0V for Ver 1 0 and 0 to 5 5V for Ver 1 1 The S5U1C17001H may fail if voltages that exceed this range are input Therefore target systems to be connected to the SSU1C17001H must be designed so that voltages outside this range are not applied Take special care in designing the target system power supply and design the target system so that overvoltages are not applied to the S5SU1C17001H when the target system power supply is turned on or off S5U1C17001H USER MANUAL Seiko Epson Corporation 21 ICDMINI VER1 0 and VER1 1 8 Precautions 9 Troubleshooting The following shows the problems attributable to the hardware Table 9 1 Troubleshooting Symptom The LED3 EMU that lit when the 5U1C17001H was turned on does not go out Cause remedy 1 Is the target system turned on Turn the target system on 2 Is the target system connected with the S5U1C17001H See Sectio

Download Pdf Manuals

image

Related Search

Related Contents

取り付け前に  11900-ELRO-HA68 FR.CDR  Agileto Help  

Copyright © All rights reserved.
Failed to retrieve file