Epson S5U1C33001H1400 Manual
Epson S5U1C33001H1400 Manual

Epson S5U1C33001H1400 Manual

In-circuit debugger for s1c33 series microcomputers
Table of Contents

Quick Links

S1C33 Family In-Circuit Debugger
S5U1C33001H1400
MANUAL
Table of Contents
loading

Summary of Contents for Epson S5U1C33001H1400

  • Page 1 S1C33 Family In-Circuit Debugger S5U1C33001H1400 MANUAL...
  • Page 2 Seiko Epson. Seiko Epson reserves the right to make changes to this material without notice. Seiko Epson does not assume any liability of any kind arising out of any inaccuracies contained in this material or due to its application or use in any product or circuit and, further, there is no representation that this material is applicable to products requiring high level reliability, such as, medical products.
  • Page 3: Table Of Contents

    RESET/START switch ..................... 14 4.2.3 USB connector ........................ 14 Top panel ..........................15 5. CONNECTION..........................18 Connecting the S5U1C33001H1400 and the host computer ............ 18 5.1.1 Connecting the USB Cable....................18 5.1.2 USB Driver Installation Procedure ................... 18 Connecting the target system ....................20 Connector for flash programmer power supply .................
  • Page 4 10.2 Differences from the actual IC ....................37 10.2.1 Register initialization ....................... 37 10.3 Usage precautions........................38 10.3.1 Connecting and disconnecting equipment............... 38 10.3.2 Powering on/off ....................... 38 10.3.3 Connecting the target system..................38 EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 5 Core Sync Simple Logic Analyzer Function..............40 10.4 Implementation of the PC trace function ................... 41 10.5 Implementation of the bus trace function .................. 41 11. TROUBLESHOOTING........................42 12. SPECIFICATIONS .......................... 43 EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 6: Glossary

    • When the break condition set by the debugger (gdb.exe) memory. is met This mode is activated when the S5U1C33001H1400 • When the user presses the Break button on the gdb (ICD33V6.0) is connected and the power-on sequence screen while the debugger (gdb.exe) is connected is executed.
  • Page 7: Overview

    S1C33xxx chip. This manual primarily explains how to use the S5U1C33001H1400. For details on the debugger (gdb.exe) functions and commands, refer to the “Debugger” section in the “S5U1C33001C Manual (C Compiler Package for S1C33 Family)”.
  • Page 8: Features

    Measurement range of 3 us to 6515 hours • Single-unit flash programmer function Provided • Firmware update function Provided • Clock frequency for communications with target system 4 kHz to 120 MHz EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 9 The product package does not include a 30-pin cable connector. Please contact us if you need this cable connector. EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 10 BCU clock must be setup to 1/2 CPU core clock (#X2SPD = 0). The maximum frequency may be half or less of the described value when the I/O voltage is 1.8 V. EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 11: Operating Environment

    Functions not listed in the above table can be used regardless of the core model. Operating environment As the host computer, the S5U1C33001H1400 uses a PC with a USB port (USB 1.1) available. Windows 2000 or Windows XP is recommended for the OS.
  • Page 12: Components Included With Package

    The items specified below are not included with the package. These items must be prepared separately. (13) S5U1C33001H1400 User Manual (ICD33V6.0) (PDF is downloadable from this PDF document and the SEIKO EPSON HP) (14) Debugger (gdb.exe) for the S1C33 Family (included in the S1C33 Family C Compiler Package)
  • Page 13 3. COMPONENTS INCLUDED WITH PACKAGE Fig. 2 Package components EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 14: Name And Function Of Each Part

    4. NAME AND FUNCTION OF EACH PART 4. NAME AND FUNCTION OF EACH PART The following shows an external view of the S5U1C33001H1400’s operating section and the name of each part. Left-side panel Fig. 3 Left-side panel 4.1.1 10-pin connector for connecting to target systems This connector is used to connect to the target system using a 10-pin cable or 10-pin-4-pin cable.
  • Page 15: Regarding The Monitor Pins

    To generate trace trigger signals, you must run the program for trace trigger point 1 and point 2, in that order. Shown below are states in which trace triggers are and are not generated. EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 16 • TRCFULL pin (blue (right side in the above diagram)) This is the trace full state output pin. This pin outputs a high level when the trace memory becomes full. EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 17: Right-Side Panel

    Mode for executing the debug command from the debugger in a PC (see the relevant section) Flash programmer mode: Mode for operating the S5U1C33001H independently as a flash programmer (see relevant section) EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 18 To prevent this problem, avoid using this voltage (do not set the DIP SW8 to ON) if this voltage is not supported by the target S1C processor. EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 19: Reset/Start Switch

    To supply voltage for flash programming to the target system in flash programmer mode, connect directly to the USB port of the PC or use an AC adaptor (USB 5-V output) to supply power to the USB cable. EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 20: Top Panel

    (DIP SW2 and SW3 set to OPEN). (Blue) Operations in ICD mode (In initial connection) (Yellow) USB is being recognized (Red, ON) Target system is not connected (Red, flashing) Communication with target system cannot be achieved EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 21 Flash memory erase has been successfully completed (OK) (Red) Flash memory erase error (ERR) (In initial connection) (Red, ON) Target system is not connected (Red, flashing) Communication with target system cannot be achieved EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 22 This LED indicates the flash memory verify condition. (Yellow) Flash memory verify is selected (Yellow, flashing) Flash memory is being verified (Green) Flash memory verify has been successfully completed (OK) (Red) Flash memory verify error (ERR) EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 23: Connection

    The device manager will be displayed as shown below when the USB driver has been installed correctly. Note: When using the S5U1C33001H1400 (ICD33V6.0), use the following C compiler package: GNU33V3.1.1 (Product No. not assigned), GNU33V3.2.0 (S5U1C33001C1300) or a later C Compiler Package.
  • Page 24 5. CONNECTION The device manager will be displayed as shown below when the USB driver has been installed correctly. Note: If the window above is not displayed correctly, reinstall the USB driver. EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 25: Connecting The Target System

    Power supply (GND) DST2 Debug status 2 signal DST2 Debug status 2 signal Power supply (GND) DST1 Debug status 1 signal Power supply (GND) DST0 Debug status 0 signal DPCO PC signal EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 26 The product package does not include a 30-pin cable or the corresponding connector. Please contact us if you need this cable or the corresponding connector. Fig. 9 Connecting with 4-pin connectors EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 27: Connector For Flash Programmer Power Supply

    To use this function, set the DIP SW4 to ON and apply a voltage from the target system to the TARGET VCC IN pin. EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 28: Flash Programming Voltage Output (Flash Vcc Out)

    Note: Refer to the relevant technical manual to determine if the target S1C processor can use this output. (To prevent overvoltage-induced damage to the S1C processor, avoid using this output if no applicable instructions are provided in the technical manual.) EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 29: Start-Up Method (Power-On Sequence)

    After the target system is turned on, the S1C33xxx chip is reset. The S1C33xxx chip enters debug mode and starts communication with the S5U1C33001H. If multiple power on/reset cycles occur caused by switch bounce when the target is turned on, the EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 30 Besides turning power on and off, the S5U1C33001H can be reset using the on-board RESET/WRITE switch. Also the RESET/WRITE switch changes the signal output from the TARGET_RESET pin in the target system power supply connector (see next section). EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 31: Icd Mode

    With firmware Ver 1.0, LED4 will emit a constant light blue light in step (2), even when the trace function is disabled. This issue is scheduled to be corrected in the next firmware update. EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 32: Debugger Start-Up

    Execution of connection test If the DIP SW6 is set to ON, the S5U1C33001H runs the connection diagnostics of the connection to the target system at the time the debugger is launched. EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 33: Flash Programmer Mode

    (5) Use the c33 fwlp command to download the flash erase/write program to the S5U1C33001H. Example: Downloading data erase/write program file, writer.sa (when the erase routine start address is 0x14c and the write routine start address is 0x180) (gdb) c33 fwlp writer.sa 0x14c 0x180 EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 34: Flash Programmer Mode Operating Method

    LEDs will light up according to the selected operating mode. With power supply LED1 (Green) LED2 (Red) Erase → Write Erase → Write → Verify Verify ERASE (White) (OFF) (White) WRITE (Purple) (OFF) (Purple) VERIFY (OFF) (Yellow) (Yellow) EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 35 (7) Return to step (3) to proceed with the same flash operation. Return to step (1) to change the flash operation. To end flash programming, disconnect the USB cable and set the DIP switches to ICD mode settings. EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 36: Firmware Update Procedure

    (6) Set the DIP SW7 to OPEN and press the RESET/START switch to restart the S5U1C33001H. Please contact us if a problem occurs during the firmware update that renders the S5U1C33001H inoperable. EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 37: Precautions

    (1) Break functions that suspend the target program before the instruction in which the cause of the break occurred is executed Software PC break, hardware PC break EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 38: Trace Function

    Table 7 Execution counter error Execution counter Count error Cycle counter ±4 bus clock cycles μs-unit time counter ±50 ns Second-unit time counter ±1 μs EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 39: Reserved Areas In The Internal Peripheral Circuits (C33 Std/Mini Core)

    S5U1C330M2S package). However, only the following parts in the S5U1C330M2S can be debugged: - Part for initial connection to the debugger (gdb.exe) - Confirming the command functions except for execution commands - Part for communication to the debugger (gdb.exe) EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 40: Reset Sequence

    Make sure the parameter file for the S5U1C33001H is set correctly according to the specifications of the target system. For details on the parameter file, refer to the “Debugger” section in the “S5U1C33001C Manual (C Compiler Package for S1C33 Family)”. EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 41: Models With Cache Memory Embedded

    Although there are some restrictions, it can be changed so that logical addresses will be accessed. For more information, refer to the “Debugger” section in the “S5U1C33001C Manual (C Compiler Package for S1C33 Family)”. EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 42: Differences From The Actual Ic

    Note: The PC initial value is decided according to the setting value of the trap table base register (boot address). Refer to the “S1C33xxx Technical Manual” for details on the trap table base register (TTBR). EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 43: Usage Precautions

    The S5U1C33001H can work by connecting a target system in which the actual S1C33xxx chip is mounted. Since the S5U1C33001H package does not include any board equivalent to a target system, please prepare separately. EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 44: Wiring Between The S1C33Xxx Chip And Target Connector

    Take special care in designing the target system power supply, and design the target system so that overvoltages are not applied to the S5U1C33001H when the target system power supply is turned on or off. EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 45: Notes On S5U1C33001H Power Supply

    *1: The product package does not include a 30-pin cable or the corresponding connector. Please contact us if you need this cable or the corresponding connector. Fig. 12 Connection example for tracing user logic signals EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 46: Implementation Of The Pc Trace Function

    Furthermore, the items to be traced can be narrowed by specifying a command parameter so that the desired bus trace information to be obtained will be increased. The bus trace function does not affect the real-time program execution. EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 47: Troubleshooting

    → Use only the provided cable. If this cable cannot be used for some reason, connect the target system directly to the S5U1C33001H using the shortest cable possible. EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 48: Specifications

    (10-pin) 10-pin (low angle): J3654-5002SC (manufactured by 3M) Flash programmer Connectors 4-pin (straight): HKP04M5S (manufactured by Honda power supply cable Tsushin) (4-pin) 4-pin (low angle): HKP04M5LS (manufactured by Honda Tsushin) EPSON S1C33 Family In-Circuit Debugger S5U1C33001H1400 Manual (Rev. 0.20)
  • Page 49 EPSON HONG KONG LTD. Unit 715-723, 7/F Trade Square, 681 Cheung Sha Wan Road, Kowloon, Hong Kong. Phone: +852-2585-4600 FAX: +852-2827-4346 EPSON TAIWAN TECHNOLOGY & 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.
  • Page 50 S5U1C33001H1400 MANUAL Document code: 411437800a First Issue: May, 2008 Reviced: December, 2012 in JAPAN...
  • Page 51 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Epson S5U1C33001H1400...

Table of Contents