Epson S5U1C17000Y23 System Manual

Cmos 16-bit single chip microcontroller, multi-programmer ver. 3.0

Advertisement

Quick Links

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

Advertisement

Table of Contents
loading

Summary of Contents for Epson S5U1C17000Y23

  • Page 1 CMOS 16-BIT SINGLE CHIP MICROCONTROLLER S5U1C17000Y23 Multi-Programmer Ver. 3.0 System Manual Rev.1.1...
  • Page 2 2. This evaluation board/kit or development tool is intended for use by an electronics engineer and is not a consumer product. The user should use it properly and in a safe manner. Seiko Epson dose not assume any responsibility or liability of any kind of damage and/or fire coursed by the use of it. The user should cease to use it when any abnormal issue occurs even during proper and safe use.
  • Page 3 Configuration of product number Devices C 17xxx F 00E1 00 ■ Packing specifications 00: Besides tape & reel 0A: TCP BL 2 directions 0B: Tape & reel BACK 0C: TCP BR 2 directions 0D: TCP BT 2 directions 0E: TCP BD 2 directions 0F: Tape &...
  • Page 5: Table Of Contents

    Appendix A Gang Writer Dynamic Link Library ............27 Overview ............................ 27 A.1.1 Example of Function Call ..................... 27 Function Details ........................28 A.2.1 OpenIcdConnection ......................28 A.2.2 CloseIcdConnection ......................28 Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 6 LoadIcdFlsProgram ......................35 A.2.10 LoadIcdUserProgram ......................36 A.2.11 GetIcdStatus ........................37 Restrictions ..........................39 Measurement Results ......................39 Appendix B List of Configurations by Model ............40 Revision History ......................44 Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 7: Overview

    • The entire system including ICDminis, a USB hub, and a PC referred to as Multi-Programmer. • Up to 10 targets can be programmed simultaneously. • A self-powered USB hub should be used. (with external power supply). Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 8: Hardware Requirements

    A self-powered hub that is able to supply a maximum of 500 mA per To be provided by the user. port (each ICDmini) is required. ICDmini Prepare the necessary number of ICDminis for programming the target Please contact the Seiko system. Epson sales representative. Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 9: Icdmini Supported Versions

    The version supported depends on the target MCU model. Refer to “Available ICDmini firmware version” under “Appendix B List of Configurations by Model” for more information by model. The ICDmini allows the user to update the firmware. Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 10: Entire Workflow

    Necessary to update Update firmware Unnecessary to program serial number Confirm ICDmini hardware version Necessary to program serial number Program serial number Configure ICDmini Connect ICDmini to PC Figure 4.1.1 Advance Preparation Flowchart Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 11: Gang Writer Configuration Flowchart

    Figure 4.2.1 Gang Writer Configuration Flowchart 4.3 Multi-Programming Flowchart Multi-programming Enter ID number Connect with target system Establish connection with ICDmini Program target systems Change programmed target system with new one Repeated Figure 4.3.1 Multi-Programming Flowchart Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 12: Advance Preparation

    The same model-specific information files as GNU17 (S1C17 Family software development tool) are included in the S5U1C17000Y23 package. When the model-specific information file of a model is updated or the file for a new model is added before being included to GNU17, the file name appears on the model list of the website independently.
  • Page 13: Confirming And Updating Icdmini Firmware

    Figure 5.3.1 ICDmini Left Side View and DIP Switch Setting Connect the ICDmini and the PC directly using a USB cable without a USB hub. Figure 5.3.2 Connection Between PC and ICDmini Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 14 Gang Writer. • Confirming ICDmini firmware version Select [EPSON MCU] → [S1C17GangWriter] → [icdver] from the Start menu. When Windows 7 or Vista is used, right-click on [icdver] and select “Run as administrator.”...
  • Page 15: Confirming Icdmini Hardware Version And Programming Serial Number

    “Available ICDmini hardware version” under “Appendix B List of Configurations by Model.” • Programming serial number After connecting the ICDmini to the PC, select [EPSON MCU] → [S1C17GangWriter] → [C17SNwrite] from the Start menu. When Windows 7 or Vista is used, right-click on [C17SNwrite] and select “Run as administrator.”...
  • Page 16: Icdmini Configuration

    1 2 3 4 5 6 7 8 For the DIP SW8 setting, refer to “ICDmini DIP switch (SW8) & FLASH VCC OUT connection” under “Appendix B List of Configurations by Model.” Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 17: Connecting Icdmini To Pc

    5.6 Connecting ICDmini to PC Connect the ICDminis and the PC via a USB hub after the preparation described above has been completed. Figure 5.6.1 Connection Diagram Between PC and ICDminis Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 18: Gang Writer Configuration

    Gang Writer Configuration 6.1 Launching Gang Writer The Gang Writer starts up by selecting [EPSON MCU] → [S1C17GangWriter] → [C17GangWriter] from the Start menu of the PC. When Windows 7 or Vista is used, right-click on [C17GangWriter] and select “Run as administrator.”...
  • Page 19: Setting Gang Writer Parameters

    “Appendix B List of Configurations by Model.” Parameters (1) and (6) that specify file names are required to be entered in a full-path. Use the [Browse] button to select them from a file select dialog box. (10) Figure 6.2.1 [Set Load Parameter] Dialog Box Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 20 Specifying the “-s” option within the comment section allows the communication packet size to be set for transferring user programs. -sSendSize Format SendSize: Communication packet size SendSize: 1 byte ≤ SendSize ≤ 1,010 bytes (decimal number) Condition Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 21 After the necessary parameters have been entered, click [OK]. A dialog box appears to prompt the user to save the parameter file. Click [Yes] to save the parameter file into an arbitrary folder. Figure 6.2.3 Saving Parameter File Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 22: Detecting Icdmini Connected

    Figure 6.4.1 ID No. Setting Then select the parameter file that has been saved in advance by clicking on the [Browse] button. Figure 6.4.2 Parameter File Selection Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 23 If the check is removed from the check box located to the left of the serial number, Gang Writer does not load the program data to the ICDmini. After all the loading operations have completed, click on the [Close] button to close this window. Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 24 One of the characters shown below is included in the parameter file name. not allowed to used. / ; , * ? < > | ” /;,*?<>|" Do not use these characters for the parameter file name. Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 25 (G1x): Data is being loading. (G2x): An error has occurred during loading FLS. (G3x): An error has occurred during loading the user program data. (G99): Communication with the ICDmini has not been established. Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 26: Multi-Programming

    Each target system is connected to the 4-pin target interface connector and the 4-pin flash memory programming power supply connector of each ICDmini. For Flash memory programming power supply etc. For target conection Figure 7.2.1 Connectors on ICDmini (Left Side View) Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 27 When connections are completed, press the reset buttons on the ICDminis. If the “New hardware search wizard” starts on the PC after that, install the USB driver. For the location of the USB driver, refer to “5.3 Confirming and Updating ICDmini Firmware.” Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 28: Establishing Connection With Icdmini

    When multi-programming for all the target systems has completed, “ALL PASS” is displayed in the execution result display field located to the left of the [RUN] button. Figure 7.4.1 [GangWriter] Window with “ALL PASS” Displayed Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 29: Disconnecting Target System

    After turning power to the target systems off, disconnect the programmed target systems and connect the new target systems to be programmed next. Then repeat the multi-programming operations described in the previous section. Self-powered USB hub Figure 7.5.1 Changing Target Systems Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 30: Other Functions

    The PASS, FAILURE, and TOTAL fields in the Gang Writer window show the counts of programming succeeded, failed, and the total of them, respectively. Clicking on the [RESET COUNTER] button clears these counters to 0. Figure 8.3.1 Counter Display Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 31: Configuration

    600 seconds.) If data to be programmed is large, a long time-out should be set. Enter a value that allows a sufficient margin. (Setting to 3 seconds or less will always cause an error.) Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer...
  • Page 32: Troubleshooting

    (6) The reset button on the ICDmini may be pressed after connection with the ICDmini is established by clicking on the [ICDmini Connect] button. If the reset button has been pressed, click on the [ICDmini Connect] button again after clicking on the [ICDmini Disconnect] button once. Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 33: Appendix A Gang Writer Dynamic Link Library

    // Executes the specified operations. GetStatus // Monitors the end of all specified operations. CloseIcdConnection // Closes the connection with the ICDmini (Execute this function the number of times for the number of ICDminis used.) Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 34: Function Details

    Control is not returned until this function either succeeds or fails. • Format long CloseIcdConnection (long IcdDeviceNumber); • Argument IcdDeviceNumber: ICDmini ID number (0 to 999) • Return values ERROR_PARAMETER ERROR_ICD_CLOSE_CONNECTION Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 35: Resettarget

    Control is returned immediately after this function is called. Monitor the end of the operation with the GetStatus function. • Format long CheckTargetConnection (long IcdDeviceNumber); • Argument IcdDeviceNumber: ICDmini ID number (0 to 999) • Return values ERROR_PARAMETER ERROR_ICD_CONNECTION Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 36: Startoperation

    The allowable range is 0 to 72,000 (maximum 120 minutes). If 0 is specified, there is no time-out. This setting is used for all flash memory operations (erasing, programming, and verification). • Return values ERROR_PARAMETER ERROR_ICD_CONNECTION Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 37: Getstatus

    Erase start address StartWrite: Error occurrence address StartVerify: Error occurrence address • Return values OPERATION_TARGET_CONNECTION OPERATION_TARGET_RESET OPERATION_ERASE OPERATION_WRITE OPERATION_VERIFY ERROR_PARAMETER ERROR_TIMEOUT_TARGET_CONNECTION ERROR_TIMEOUT_TARGET_RESET ERROR_TIMEOUT_ERASE ERROR_TIMEOUT_WRITE ERROR_TIMEOUT_VERIFY ERROR_ICD_CONNECTION ERROR_TARGET_CONNECTION ERROR_TARGET_RESET ERROR_ERASE ERROR_WRITE ERROR_VERIFY Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 38: Getstring

    ReturnedString: The character string after converting the return code is stored The caller must allocate 256 bytes for this area. “Invalid returned code” is returned if an invalid return code is specified. • Return values Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 39: Getconnectedicd

    Number of buffers for the user program comments. long* TakenCount: Returns the number of the serial numbers that have been stored in the buffer. long* ConnecttedCount: Returns the number of ICDminis currently connected via USB. Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 40 FLS/user program comments and the necessary number of buffers for the serial number list are the number of characters respectively described in one ICDmini. - If no ICDmini is connected, nothing is written in each buffer. Then, the necessary number of buffers is 0. Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 41: Loadicdflsprogram

    The ID number, time-out value, and any comments in the format “ID number _ -T Time out value _ any comments” can be set to the comment field of the packet. - Programs the flash memory. - Verifies data programmed in the flash memory. - Closes the USB port. Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 42: Loadicduserprogram

    - Sets address information. Any comments can be set to the comment field in the packet. - Programs the flash memory. - Verifies data programmed in the flash memory. - Closes the USB port. Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 43: Geticdstatus

    ERROR_MOT_OPEN_FLS ERROR_MOT_FORMAT_FLS ERROR_MOT_SIZE_OVER_FLS ERROR_MOT_ADDR_FLS ERROR_MOT_OPEN_USER_PRG ERROR_MOT_FORMAT_USER_PRG ERROR_MOT_SIZE_OVER_USER_PRG ERROR_MOT_ADDR_USER_PRG ERROR_ICD_OPEN_CONNECTION ERROR_ICD_CONNECTION ERROR_VERIFY_FLS_ICD ERROR_VERIFY_USER_ICD ERROR_LOAD_FLS_ICD ERROR_LOAD_USER_ICD • Explanation By referring TotalBytes and ProgBytes, the caller can determine how much programming has been progressed. Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 44 0x8a The ICDmini is erasing the area for loading a user program. OPERATION_USER_ICD_WRITE 0x8b The ICDmini is loading a user program. OPERATION_USER_ICD_VERIFY 0x8c The ICDmini is verifying the loaded user program. Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 45: Restrictions

    1 minute 36 seconds Verifying 3 minutes 14 seconds Total time 5 minutes 24 seconds * When the user program is loaded using the LoadIcdUserProgram() function in the dynamic link library (ICD_GANG.DLL) Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 46: Appendix B List Of Configurations By Model

    3.0 or later No connection S1C17602 fwr17602v11.saf 0x48 0x80 0x8000 1.0, 1.1, 2.0 3.0 or later No connection S1C17604 fwr17604v11.saf 0x88 0xc0 0x8000 1.0, 1.1, 2.0 3.0 or later No connection Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 47 3.0 or later No connection S1C17711 fwr17711v11.saf 0x48 0x80 0x8000 1.0, 1.1, 2.0 3.0 or later No connection S1C17801 fwr17801v11.saf 0x40 0x74 0x20000 1.0, 1.1, 2.0 3.0 or later No connection Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 48 3.3 or later Connect VPP S1C17W15 fwr17W15v11.saf 0x48 0x7c "-v7.5-7.5 -s128" 0x8000 2.0 3.3 or later Connect to V S1C17W16 fwr17W16v11.saf 0x44c 0x444 "-v7.5-7.5" 0x8000 2.0 3.3 or later Connect VPP Seiko Epson Corporation S5U1C17001Y23 Multi-Programmer System Manual (Rev. 1.1)
  • Page 49 Connect to V Note: *1 The files are stored in the C:\EPSON\C17GangWriter\mcu_model folder (default) by model. *2 Time-out time (Although any time can be set, the table lists the maximum time. ) *3 This column shows the ICDmini DIP switch (SW8) setting and whether the FLASH VCC OUT pin of the flash memory programming power supply connector must be connected to the V of the target MCU or not.
  • Page 50: Revision History

    Contents Rev 1.0 2014/11/10 New establishment Rev.1.1 2016/05/02 Revise Note is added for the USB driver. Rev.1.1 2016/05/02 40-43 Revice The support MCU model is added. Rev.1.1 2016/05/09 Revise Description of supported OS. Seiko Epson Corporation System Manual (Rev. 1.1)
  • Page 51 12F, Dawning Mansion, Keji South 12th Road, Phone: +49-89-14005-0 FAX: +49-89-14005-110 Hi-Tech Park, Shenzhen 518057, CHINA Phone: +86-755-2699-3828 FAX: +86-755-2699-3838 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.

Table of Contents