Home
S5U1C17001H User Manual (ICD Mini Ver. 1.0)
Contents
1. 2 1 2 Operating ENVIPON PPM ORT 2 2 Components Included with Package eese eere eere nnne 3 3 Name and Function of Each 4 3 1 Left Side a mm 4 3 2 Right Side Panel II 6 TOD INC e 6 A OTS CUNO 9 4 1 Connecting the Target 9 4 1 1 Target Interface COMMS CIO ssa testa iet ao neni Codi ences kaaa 9 4 1 2 Flash Programming Power Supply 10 4 2 Connecting to the Host rode oar 11 SM IOD MOUE PT cT TS 13 5 1 Specifying ICD ovo 13 5 2 Activation in ICD MOC T 13 5 2 1 When the TARGET RST OUT Signal is Not Connected 13 5 2 2 When the TARGET RST OUT Signal is Connected 14 5 3 Starting Up the Debugger NM EE E EU 14 5 4 Connection EU u 15 6 Flash Programmer Mod
2. no other tools are not S5U1C17001H ICD Mini or ICD board The program will required However the debug functions depending on the executed on the target board The S5U1C17001H ICD ICD cannot be used Mini must be used in this mode Target S1C17xxx Normal mode Debug mode The normal mode is the normal state while the target is In this mode the target accepts the control by the executing the user program debugger gdb The target enters debug mode by one of the conditions Various debugging operations such as display and shown below rewriting the registers memory can be performed When a beak condition set by the debugger gdb has The target enters this mode when executing the startup met sequence after connecting it to the S5U1C17001H ICD e When the break button on the gdb window is clicked Mini while the debugger is connected to the target e When a low level signal is input to the DSIO pin of the target e When the CPU executes the brk instruction li EPSON S5U1C17001H USER MANUAL ICD MINI VER 1 0 1 OVERVIEW 1 Overview The S5U1C17001H ICD Mini is a hardware tool emulator that allows software to be efficiently developed for SICI7 Family of 16 bit processors The S5UIC17001H provides a software development environment with the debugger gdb exe by communicating it to 51 17 processor on the target system and the debugger In addition to debugging it can be used as a Flash prog
3. periph eral 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 SS5U1C17001C Manual C Compiler Package for SIC17 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 computer 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 be fore 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
4. pin and the power supply pin on the target system When SW8 is set to ON the FLASH VCC OUT pin always outputs a 7 V voltage regard less 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 EPSON 5U1C17001H USER MANUAL ICD MINI VER 1 0 4 CONNECTIONS 4 2 Connecting to the Host Computer Use the attached USB cable to connect S BUICI7001H to the host computer When S5U1C17001H is con nected 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 usb directory created when S5U1C17001C SICI7 Family C Compiler Package was installed USB driver installation procedure 1 First time the 5501 1700 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 following the directions displayed by the wizard S
5. the drive selected and then click Copy manufacturer s files from DAE PSON GNUT utilit sdry usb 5U1C17001H USER MANUAL EPSON ICD MINI VER 1 0 11 4 CONNECTIONS Found New Hardware Wizard Driver Files Search Results ue The wizard has finished searching for driver files for your hardware device ey The wizard found a driver for the following device e USB Device Windows found a driver for this device To install the driver Windows found click Next d epson gnul utilit sdrv usbNiedmini inf iBi xi File Action Help Display adapters HA DVD CD ROM drives H Floppy disk controllers 9 8 Floppy disk drives 423 IDE ATA ATAPI controllers H 5 Keyboards H Mice and other pointing devices H Monitors H E Network adapters 7 Ports COM amp LPT 9 9 Processors H B Sound video and game controllers Storage volumes E System devices Universal Serial Bus controllers Intel r 82801B4 B4M USB Universal Host Controller 2442 Intel r 82801BA BAM USB Universal Host Controller 2444 MELCO INC MCR U USB Root Hub USB Root Hub Found New Hardware Wizard Completing the Found New Hardware Wizard 2 ICD mini Windows has finished installing the software for this device To close this wizard click Finish Note Ifthe window above is not displayed correctly try to reinstall the USB d
6. to their specifications when the I O memory is read using the memory dump function of S5SUICI7001H or when the target program ex ecution is suspended For details on the memory dump function refer to the Debugger section in the 55 01 17001 Manual C Compiler Package for S1C17 Family S5U1C17001H USER MANUAL EPSON 19 ICD MINI VER 1 0 8 PRECAUTIONS 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 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 S5SU1C17001H is connected are as follows r0 7 0 000000 pc 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 value 8 3 Notes on Use of S5U1C17001H Powering on off After turning off the power to the S5U1C17001H 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 S5SU1C17001H may not be initialized correctly in a
7. C processor into debug mode Although this signal is pulled up through about 100 internally when not debugging we recommend either removing the 33 resistor to reduce noise and other problems or pulling this line up to the Vpp level the core voltage e 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 distance 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 EPSON 9 ICD MINI VER 1 0 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 pro gramming 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 sup ply cable attached to 5501 1700 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 Fl
8. EPSON EXCEED YOUR VISION CMOS 16 BIT SINGLE CHIP MICROCOMPUTER 5501 17001 User Manual ICD Mini Ver 1 0 SEIKO EPSON CORPORATION 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 requir ing 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 mate rial 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 Windows 2000 and Windows XP are registered trademarks of Microsoft Corporation U S A PC AT and IBM are registered trademarks of International Business Machines Corporation U S A All other product names menti
9. X Fax 852 2827 4346 EPSON Electronic Technology Development Shenzhen LTD 12 F Dawning Mansion Keji South 12th Road Hi Tech Park Shenzhen Phone 86 755 2699 3828 Fax 86 755 2699 3838 EPSON TAIWAN TECHNOLOGY amp TRADING LTD 14F No 7 Song Ren Road Taipei 110 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 CORPORATION 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 GUMI OFFICE 2F Grand B D 457 4 Songjeong dong Gumi City KOREA Phone 82 54 454 6027 Fax 82 54 454 6093 SEIKO EPSON CORPORATION 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 S5U1C17001H User Manual ICD Mini Ver 1 0 SEIKO EPSON CORPORATION EPSON Electronic Devices Website Document code 411153600 Issue November 2007 Printed in Japan DA Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery amp Lifecycle Information Epson S5U1C17001H1100
10. art up of the debugger Setting firmware update mode SW7 Table 3 1 5 SW7 Settings SW7 Setting OPEN 7 OFF default ON J ON When SWT is set to ON a connection between the 5501 17001 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 SWS Settings SW8 Setting OPEN T OFF default ON J ON 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 ing this power supply for the S1C processor do not set SW8 of the DIP switch to ON if its techni cal 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 1s input to this pin when the target program is being executed the target program execution is suspended After a low level is input to the BRK IN pin a break will occur after a few in structions have been executed In Flash programmer mode inputting a low level to this pin has the same function as pressing the RESET START switch it starts erasing programming verification Note The voltage to apply to the BRK IN pin must be V for low level and 3 3 V or open for high level The BRK IN pin is alw
11. ash rogrammning Power Supply Connector White Pin name Pin function 1234 FLASH VCC OUT Flash programming voltage output pin TARGET RST OUT Target reset signal output pin TARGET VCC IN 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 outputs a reset signal to the tar get system When using the TARGET RST OUT output a reset circuit as shown in the figure below is recommended S5U1C17001H Target system Pull up resistor S1C processor RESET 4 1 TARGET RST OUT NOA Reset circuit on the target system Reset switch 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 S5UICI7001H is capable of interfacing with the target system using 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 Flash programming voltage output FLASH VCC OUT Depending on the Flash memory module built into the SIC processor on the target system its programming voltage 7 V can be supplied from S5U1C17001H The maximum current that can be supplied is 200 mA To use this output set SW8 to ON and connect between the FLASH VCC OUT
12. ays pulled up to 3 3 V GND pin Connect this pin to the GND level 0 V S5U1C17001H USER MANUAL EPSON 5 ICD MINI VER 1 0 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 adapter with a USB connector for supplying power especially when supplying the Flash program ming voltage to the target in Flash programmer mode Recommended AC adapters ELECOM AVD ACAU1WH Groovy GM PWO001A 3 3 Top Panel LED1 LED2 LEDS3 LED4 DIP SW _ OPENT ON 1 FLASH OUT TARGET CPU C17 C33 ILC FLASH WRITER OFF WRITE RESET START switch SIO LVL TARGET VCC DSIOLVL gt 3 3V 1 8V 6 CONNECTION DIAG OFF ON Milpck DIP SWDEFAULT ALLOPENT FLASH VCC OUT OFF ON Top Panel LED1 LEDA 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 EPSON 5U1C17001H USER MANUAL ICD MINI VER 1 0 3 NAME AND FUNCTION OF EACH PART In ICD mode LED1 CPU This LED indicates the target CPU selected using SWI blue C17 Target CPU is an SIC17xxx or a product
13. cable used with extension cables Program received signal SIGINT Interrupt 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 Remove the conductive material The operation is unstable 1 the DSIO output level SW4 SW5 set correctly See Section 3 1 Left Side Panel and make sure that the setting is correct 2 15 the target system connected with a cable other than the one supplied or is the supplied cable used with extension cables 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 EPSON 5U1C17001H USER MANUAL ICD MINI VER 1 0 10 SPECIFICATIONS 10 Specifications Table 10 1 Specifications Components ltems Specifications _ Remarks 5U1C17001H Dimensions 100 mm W x 85 mm L x 25 mm H Rubber feet included Input voltage DC 5V Power consumption 2 5 W max USB cable Length 1m Connector 5501 17001 side Standard B type Host PC side Standard A type Target system interface cable 4 pins Length Approx 15 cm Flash programming power supply cable 4 pins Length Approx 15 cm Table 10 2 Recommended Connectors o
14. cted di rectly 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 SIC processor into debug mode Although this signal is pulled up through about 100 internally when not debugging we recommend either removing the 33 2 resistor to reduce noise and other problems pulling this line up to the Vpp level the core voltage DCLK Target S1C processor connector 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 Within 5 cm 20 EPSON 5U1C17001H USER MANUAL ICD MINI VER 1 0 8 PRECAUTIONS Reset request Do not reset the target system while the target program execution is suspended as the S5UIC17001H will be unable to operate normally Notes on target system power supply The allowable voltage range for the signals input from the target system is 0 to 5 5 V The 55 01 17001 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 5501 17001 when the target system power supply is turned on or off S5U1C17001H USER MANUAL EPSON 21 ICD MINI VER 1 0 9 TROUBLESHOOTING 9 Troubleshoo
15. e uwiii 16 6 1 Preparation for Flash Programming Cer aan oque 16 6 2 Operations Flash Programmer Mode nennen nnne 17 7 Frmwar IDG ANG m M 18 Mui m Y 19 8 1 Restrictions on Debugging mE E 19 8 2 Differences from the Actual 20 8 3 Notes on Use of SIT TTODTDD 20 9 TROUDICS MOO UNG ccc 22 BOSC IN Aaaa 23 5U1C17001H USER MANUAL EPSON i ICD MINI VER 1 0 EXPLANATION OF TERMS Explanation of Terms various modes 5U1C17001H ICD Mini ICD mode Flash programmer mode This mode is for debugging the target This mode is for programming the Flash of the target The debugging requires PC and the debugger gdb without a PC used Before programming can be included in the 5501 17001 S1C17 Family C Compiler performed the program to be written must be loaded to Package the S5U1C17001H ICD Mini in ICD mode Debugger gdb included in the 5501 17001 51 17 Family C Compiler Package Connect mode Simulator SIM mode ICD Mini mode The simulator mode simulates the target program This is the mode to debug the target program using the execution on the PC memory and
16. en connected to the target system blue LED2 blue LED3 red LED4 out In this case retry from Step 1 S5U1C17001H USER MANUAL EPSON 13 ICD MINI VER 1 0 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 S5U1C17001H for starting up The S5UIC1I7001H automatically generates a target reset sig nal with the proper connection sequence 1 Press the RESET START switch on the SSUICI7001H LED1 white LED2 white LED3 O white LED4 out 2 Release the RESET START switch on the SSU1C17001H When the S5U1C17001H has been connected to the target S1C processor normally LED1 blue LED2 blue LED3 out LED4 green When the S5U1C17001H has not been connected to the target system blue LED2 blue LED3 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 between the S5U1C17001H and the target S1C pro cessor has been established by the operations described above When debugging using the debugger with S5UICI7001H connected the debugger must be set to ICD Mini mode by executing the target command gdb target icd usb c Command to set the debugger in ICD Mini mode For the debug commands and how to operate the debugger
17. er oet icons English Japanese 1 each eoin English Japanese 1 each 7 Usage English Japanese 1 each 5 Manual download guide English Japanese 1 each The items specified below are not included with the package These items must be prepared separately 9 SSUICI7001H User Manual ICD Mini Ver 1 0 this PDF downloadable from the SEIKO EPSON When developing S1C17 application 10 Debugger gdb exe for S1C17 Family included in 51 17 Family C Compiler Package 11 Debugger manual for the S1C17 Family included in 51C17 Family C Compiler Package When developing an S1C33 application scheduled to be supported 10 Debugger gdb exe for the 1C33 Family included in 1C33 Family C Compiler Package 11 Debugger manual for 1C33 Family included in 1C33 Family C Compiler Package Figure 2 1 Components in 55U1C17001H Package S5U1C17001H USER MANUAL EPSON 3 ICD MINI VER 1 0 3 NAME AND FUNCTION OF EACH PART 3 Name and Function of Each Part The following shows the name of each part of the S5U1C17001H 3 1 Left Side Panel 4 pin Flash programming power supply connector white 4 target interface connector black 1999199797 1 1 2 GND BRK IN pin DIP switch Left Side Panel 4 pin targ
18. et interface connector black This connector is used to input output the debug signals DCLK DSIO and DST2 from to the SIC 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 Note 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 5501 17001 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 ing this power supply for the S1C processor do not set SW8 of the DIP switch to ON if its techni cal 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 Figure 3 1 1 DIP Switch Assembly 1 Note The changed switch settin
19. face Connector Black No Pin name Pin function 4321 1 DCLK Clock signal input pin for debugging 2 GND Power supply GND pin 3 DSIO transfer I O pin for debugging 4 DST2 Debug status signal input pin Target system 5U1C17001H Target interface cable Blue White 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 Notes Set the interface level 3 3 V 1 8 V target input using the DIP switches SW4 SW5 and select the CPU Core using the SW1 according to the target system before connecting the tar get 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 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 in sert a 33 resistor in series between the S1C processor DSIO pin and the connector This re sistor must be placed as close to the S1C processor as possible Although the system can op erate without this 33 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 S1
20. gs will take effect after the RESET START switch is pressed Selecting the target CPU SW1 Table 3 1 1 SW1 Settings SW1 Setting OPEN T S1C17 Core default ON J 51 33 Core Scheduled to be supported with a firmware update EPSON 5U1C17001H USER MANUAL ICD MINI VER 1 0 3 NAME AND FUNCTION OF EACH PART Selecting either ICD mode or Flash programmer mode SW2 and SW3 Table 3 1 2 SW2 and SW3 Settings SW2 SW3 Setting OPEN T OPEN T ICD mode default ON J OPEN T Flash programmer mode Erase gt program OPEN T ON J Flash programmer mode Verify ON J ON J Flash programmer mode Erase gt program gt verify In ICD mode the debugger on 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 SWA SW5 Setting OPEN OPEN T 3 3 default OPEN 7 ON 1 1 8V ON 1 Voltage 1 0 to 5 0 V 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 7 Omitt connection test default ON J Execute connection test The connection test is a communication diagnostic feature at st
21. h programming power supply connector Scheduled to be supported with a firmware update SICI7 Core 1C33 STD Core S1C33 mini Core 51 33 PE Core S1C33 ADV Core USB 1 1 Approx 65KB s when DCLK 40 MHz Max Approx 50KB s when DCLK 20 MHz 2 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 1 0 to 5 0 V input from the target 4 pin connector 4 pin connector 2 The frequency assumes that the I O voltage is 3 3 V The maximum frequency may be lower than the spec value due to ambient noise temperature condition product type and unevenness in quality 1 2 Operating Environment As the host computer S5UIC17001H uses a PC with a USB port USB 1 1 available Windows 2000 or Win dows XP 1s recommended for the OS 2 EPSON S5U1C17001H USER MANUAL ICD MINI VER 1 0 2 COMPONENTS INCLUDED WITH PACKAGE 2 Components Included with Package The following shows the components included with the SSU1C17001H package 1 S5U1C17001H main unit 1 USD Cbl TNR 1 3 Target interface cable 4 pin 1 4 Flash programming power supply cable A pin 1 3 Us rrfe gistratioir card oscuros sao sus cda o en
22. in which S1C17 Core is embedded green C33 Target CPU is S1C33xxx or a product in which 1C33 Core is embedded C33 1s 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 S5U1C17001H is being operated in ICD mode This LED lights when target program is started from debugger to indicate that target system 15 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 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 5 processor is placed in debug mode O green The target SIC processor is placed in debug mode Also this LED rights with LED3 before the initial connection between the S5UICI7001H and the target SIC 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 LED1 CPU This LED indicates the target CPU selected using SW1 blue C17 Ta
23. irst download the data to program the target system s Flash memory into S5U1C17001H by the procedure de scribed below 1 Convert the file for programming the Flash memory into a Motorola 53 file Use objcopy exe included in the S1C17 Family C Compiler Package for file conversion Example 1 Convert sample elf into a Motorola 53 file gt objcopy O srec R gbss srec forceS3 sample elf sample sa 2 Fill the unused addresses in sample sa and generate sample saf when the start address and block size to be filled are 0x8000 and 0x1000 respectively moto2ff 0x8000 1000 sample sa 2 Start up the SSU1C17001H in ICD mode see Section 5 2 3 Start up the debugger Launch GDB gt gdb 2 Connect the target gdb target icd usb 4 If the SSU1C17001H contains an unnecessary program data used previously clear it using the c17 fwe com mand 5 Download a Flash erase program routine into the 55 01 17001 using the c17 fwlp command Example Load the data erase write program file writer sa when the erase routine start address is Ox4c and the write routine start address is 0x80 gdb c17 fwlp writer sa Ox4c 0x80 6 Download the data for programming the target system s Flash memory into the S5U1C17001H using the c17 fwld orc17 fwdc command At the same time specify the range of the Flash memory to be erased Example Erase all sectors and load sample saf to the Flash when the Flash start address i
24. ly the LCDs light according to the selected opera tion Erase program Verify Erase program verify ERASE O white out O white e WHITE 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 WRITE blinking in magenta z e VERIFY 3 blinking in yellow 5 When the Flash operation has finished the LED lights as shown below to indicate that the operation has com pleted normally or an error has occurred When completed normally Erasing has completed Programming has completed Verification has completed ERASE green e WHITE green e VEHIFY green When an error has occurred Erase error Program error Verify error e ERASE red e WHITE red e VERIFY red 6 Disconnect the target system 7 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 S5U1C17001H USER MANUAL EPSON 17 ICD MINI VER 1 0 7 FIRMWARE UPDATE 7 Firmware Update The S5U1C17001H has a firmwa
25. n 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 Operating temperature Specifications Remarks 5 to 35 C Storage temperature 10 to 60 C Operating humidity 35 to 80 Storage humidity 20 to 90 No condensation S5U1C17001H USER MANUAL ICD MINI VER 1 0 EPSON 23 EPSON International Sales Operations AMERICA EPSON ELECTRONICS AMERICA INC HEADQUARTERS 2580 Orchard Parkway San Jose CA 95131 U S A Phone 1 800 228 3964 Fax 1 408 922 0238 SALES OFFICE Northeast 301 Edgewater Place Suite 210 Wakefield MA 01880 U S A Phone 1 800 922 7667 Fax 1 781 246 5443 EUROPE EPSON EUROPE ELECTRONICS GmbH HEADQUARTERS Hiesstrasse 15 80992 Munich GERMANY Phone 49 89 14005 0 Fax 49 89 14005 110 ASIA EPSON CHINA CO LTD 23F Beijing Silver Tower 2 North RD DongSanHuan ChaoYang District Beijing CHINA Phone 86 10 6410 6655 Fax 86 10 6410 7320 SHANGHAI BRANCH 7F High Tech Bldg 900 Yishan Road Shanghai 200233 CHINA Phone 86 21 5423 5522 Fax 86 21 5423 5512 EPSON HONG KONG LTD 20 F Harbour Centre 25 Harbour Road Wanchai Hong Kong Phone 852 2585 4600 Telex 65542 EPSCO H
26. oned herein are trademarks and or registered trademarks of their respective owners SEIKO EPSON CORPORATION 2007 All rights reserved Configuration of product number Devices 51 17 00 1 00 po Packing specifications 00 Besides tape amp reel OA TCP BL 2 directions OB Tape amp reel BACK OC TCP BR 2 directions OD TCP BT 2 directions OE TCP BD 2 directions OF Tape amp reel FRONT 0G TCP 4 directions OH TCP BD 4 directions OJ TCP SL 2 directions OK TCP SR 2 directions OL Tape amp reel LEFT OM TCP ST 2 directions ON TCP SD 2 directions OP TCP ST 4 directions 50 4 directions OR Tape amp reel RIGHT 99 Specs not fixed Specification Package D die form B BGA Model number Model name C microcomputer digital products Product classification S1 semiconductor Development tools 5501 17000 H2 1 L Packing specifications 00 standard packing Version 1 Version 1 Tool type Hx Dx Ex Mx TX ICE Evaluation board ROM emulation board Emulation memory for external ROM A socket for mounting Cx Sx Compiler package Middleware package Corresponding model number 17xxx for S1C17xxx Tool classification C microcomputer use Product classification 95U1 development tool for semiconductor products CONTENTS Contents Usu 1 1 Iu Ic
27. pecify C EPSON gnu17 utility drv_usb as the USB driver directory Found New Hardware Wizard Install Hardware Device Drivers 4 device driver is a software program that enables a hardware device to work with an operating system Found New Hardware Wizard Locate Driver Files Where do you want Windows to search for driver files This wizard will complete the installation for this device e USB Device device driver is a software program that makes a hardware device work Windows needs driver files for your new device To locate driver files and complete the installation click Next What do you want the wizard to do Search for a suitable driver for my device recommended C Display a list of the known drivers for this device so that can choose a specific driver Search for driver files for the following hardware device USB Device The wizard searches for suitable drivers in its driver database on your computer and in any of the following optional search locations that you specify 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 Optional search locations Floppy disk drives CD ROM drives v Specify a location Microsoft Windows Update lt Back Cancel lt Back Cancel Found New Hardware Wizard OK Insert the manufacturer s installation disk into
28. power on reset and may cause malfunc on Connecting the target system The signals connected to SSU1C17001H are very high speed signals so the connector the target system must be mounted within 5 cm from the target SIC processor If there is more distance between the connector and the SIC processor the 5501 1700 may not work properly Furthermore be sure to use the supplied 4 pin cable for connecting the target system to SSUIC17001H Using another cable may cause malfunc tion 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 SIC processor on the target system will be shortest Operation of the 5501 17001 system The S5U1C17001H can work by connecting a target system in which the actual SIC processor is mounted Since S5UICI7001H package does not include any board equivalent to a target system please prepare separately Wiring between the S1C processor and target connector When wiring the S1C processor to the target connector for connecting S5U1C17001H insert a 33 2 resis tor 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 resis tor However we recommend inserting this resistor to prevent malfunctions The other pins are conne
29. program be executed For details on single step execution STEP and NEXT refer to the Debugger section in the S5UICI7001C Manual C Compiler Package for S1C17 Family Execution counter The execution counter is capable of measuring execution times up to 6515 hours with a 1 us of measurement error 3 us or less of program execution time cannot be measured correctly The counter is also used for clocking of the lapse of time 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 dif ferent from that of the actual 5 processor However a sequence for the reset request input from the target system while the target program is being ex ecuted is the same as that for the actual SIC processor Regarding the reset sequence in the actual SIC 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 I O memory dump by the 5501 17001 Note that some S1C peripheral circuits may change the control register status due
30. rammer to program the Flash memory built into the 51 17 processor on the target system This manual primarily explains how to use the S5U1C17001H For details on the debugger functions and commands refer to the Debugger section in SS5UICI7001C Manual C Compiler Package for SICI7 Family 5U1C17001H External View Note Do not open the case as it may cause a malfunction Precautions before using the 5U1C17001H Please read the sections shown below before getting started with the S5U1C17001H 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 USB driver before the S5U1C17001H can be used 3 Section 4 1 Connecting the Target System Please pay particular attention to the Notes S5U1C17001H USER MANUAL EPSON 1 ICD MINI VER 1 0 1 OVERVIEW 1 1 Features 51 cores supported Host interface e Data download rate Debugger mode Program break functions Measurement of program execution time Standalone Flash programmer function Firmware update function DCLK frequency to communicate with the target Flash programming power voltage supply Target reset signal output Target system I O interface voltage Target system interface connector Flas
31. re update function using the debugger gdb exe The following shows the proce dure to update the 5501 1700 firmware Note Before the firmware can be updated the USB driver must be installed 1 Connect the 5501 1700 with host computer using the USB cable 2 Set the DIP switch on the SSU1C17001H as below then press the RESET START switch SW2 OPEN SW3 OPEN SW7 3 Start up the debugger gdb exe To invoke at the command prompt gt gt cd EPSON gnul17 gt gdb 4 Enter the commands shown below after the debugger starts up gdb target icd usb gdb c17 firmupdate pathWfilename sa 5 The firmware update has completed when the LEDs light as below LED blue LED2 green LED3 green LED4 green 6 Set SW7 to OPEN and press the RESET START switch to restart the SSU1C17001H If a malfunction occurs during a firmware update and SSU1C17001H does not operate normally please contact our sales office 18 EPSON 5U1C17001H USER MANUAL ICD MINI VER 1 0 8 PRECAUTIONS 8 Precautions 8 1 Restrictions on Debugging The debugging using S5SU1C17001H 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
32. refer to the SSU1C17001C Manual C Compiler Pack age for SIC17 Family Note Before disconnecting the S5U1C17001H from the host computer be sure to terminate the debug ger 14 EPSON 5U1C17001H USER MANUAL ICD MINI VER 1 0 5 ICD MODE 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 SSU1C17001H does not start up by the correct procedure 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 55 01 17001 will execute the connection test at the start up of the debugger gdb exe S5U1C17001H USER MANUAL EPSON 15 ICD MINI VER 1 0 6 FLASH PROGRAMMER MODE 6 Flash Programmer Mode Flash programmer mode is 55 01 17001 operating mode for using it as a standalone Flash programmer The following explains the settings for activating the Flash programmer mode and operations 6 1 Preparation for Flash Programming 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 F
33. rget CPU is an S1C17xxx 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 1s 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 15 selected 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 magenta The Flash programming function is selected blinking in magenta The Flash memory is being programmed green The Flash programming operation has completed normally OK red A Flash program error has occurred ERR S5U1C17001H USER MANUAL EPSON 7 ICD MINI VER 1 0 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 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 targe
34. river 12 EPSON S5U1C17001H USER MANUAL ICD MINI VER 1 0 5 ICD MODE 5 ICD Mode ICD mode is an S5U1C17001H operating mode for debugging the target system by connecting 55 01 17001 to the debugger gdb exe on the PC The following explains the settings for activating ICD mode and operations 5 1 Specifying ICD Mode Set the DIP switches as below so that the SSUIC17001H will start up in ICD mode SW2 OPEN SW3 OPEN 5 2 Activation in ICD Mode After connecting SSU1C17001H to the target system and the host computer start up the SSU1C17001H by fol lowing the procedure described below If the SSU1C17001H is started up in another procedure it may not be con nected 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 S5U1C17001H LED1 white LED2 white LED3 O white LED4 out 2 Hold down the reset switch on the target system 3 Release the RESET START switch on the S5U1C17001H LED1 blue LED2 blue LED3 red LED4 green 4 Release the reset switch on the target system When the S5U1C17001H has been connected to the target S1C processor normally blue LED2 blue LED3 out LED4 green When the S5U1C17001H has not be
35. s 0x8000 gdb c17 fwld sample saf 0 0 0x8000 7 Quit the debugger For details of the debugger gdb exe and objcopy exe refer to 55 01 17001 Manual C Compiler Package for S1C17 Family 16 EPSON 5U1C17001H USER MANUAL ICD MINI VER 1 0 6 FLASH PROGRAMMER MODE 6 2 Operations in Flash Programmer Mode The following describes how to start up SSU1C17001H 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 verifica tion can be selected Table 6 2 1 DIP Switch Settings in Flash Programmer Mode SW2 SW3 Setting OPEN T OPEN T ICD mode default ON J OPEN Flash programmer mode Erase gt program OPEN T ON J Flash programmer mode Verify ON J ON J Flash programmer mode Erase gt program verify 2 If the DIP switch is changed when power is supplied through the USB cable press the RESET START switch to set the SSUICI7001H to Flash programmer mode If the DIP switch is changed during power off supply power by connecting 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 S5U1C17001H starts up in Flash programmer mode normal
36. t system If the target board has not been connected physically the S5U1C17001H enters initial connection waiting status When the TARGET RST OUT signal of the SSUICI7001H has been connected to the target system reset signal 1s 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 be issued to the S5U1C17001H 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 START switch in both ICD and Flash programmer modes 8 EPSON 5U1C17001H USER MANUAL ICD MINI VER 1 0 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 S5U1C17001H 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 Inter
37. ting The following shows the problems attributable to the hardware Table 9 1 Troubleshooting Symptom Cause remedy The LEDS3 EMU that lit when the 1 ls the target system turned on 5U1C17001H was turned on does go Turn the target system ont 2 15 the target system connected with the S5U1C17001H See Section 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 in the correct order The following message appears when the 1 ls the S5U1C17001H connected to the host computer correctly debugger gdb exe in the host computer is See Section 4 2 Connecting to the Host Computer and check invoked to see if the S5U1C17001H is connected to the host computer Cannot open ICD17 usb driver correctly 2 Was the debugger gdb exe restarted after resetting the 5U1C17001H while the debugger is running See Section 5 2 Activation in ICD Mode and start in the correct order The following message suddenly appears This problem is caused by low level noise on the DSIO signal of the while the target program is being executed by target system or when the BRK IN pin goes GND level the debugger gdb exe the host computer 1 15 the target system connected with a cable other than the supplied Break by external break or is the supplied
Download Pdf Manuals
Related Search
Related Contents
Bosch Conferencing and Public Address Systems - CCS-CU - AV-iQ $eftice nual RRC-330 GUIDE DE DEPANNAGE GuardShield Micro 400 Safety Light Curtains User Manual Câmera Digital KODAK EASYSHARE LS420 Guia do usuário STARWATCH iTDC PRO I Software Manual V2.00.00 GLOW UP - Clay Paky Slim Blu-ray Manual Copyright © All rights reserved.
Failed to retrieve file