EPSON S1C31 Cmos 32-Bit Single Chip Microcontroller User Manual

October 27, 2023
Epson

EPSON-logo

EPSON S1C31 Cmos 32-Bit Single-Chip Microcontroller

Overview

This document describes how to program a ROM data into the internal flash memory of S1C31 MCUs using the SEGGER flash writer tool.

Working Environment

To program the internal flash memory, prepare the following components:

Tools Needed

  • PC

    • Windows 10
  • *SEGGER J-Link series / Flasher series 1**

    • Any debug probe or flash programmer that supports the J-Flash software tool can be used.
      Note: J-Link Base and J-Link EDU do NOT support J-Flash and therefore cannot be used. Also, Flasher that do not support ARM Cortex-M cannot be used.

    • SEGGER J-Flash software tool *2
      J- Flash has included J-Link Software and Documentation Pack(Ver.6.xx)

    • Target board equipped S1C31 MCU

  • Tools Provided by Seiko Epson

    • S1C31 Setup Tool Package 3, 4
      Includes Flash loader and Flash Programming tools.
  1. For details of J-Link, Flasher and J-Flash, refer to the “J-Link User Guide”, “Flasher User Guide” and “J-Flash User Guide” available on the SEGGER website.
  2. Please download from the SEGGER web site.
  3. Please download from the Seiko Epson microcontroller website.
  4. This tool package has been checked to work with J-Link Software and Documentation Pack Ver.6.44c.

Installation

This chapter describes the installation instructions of the software required for flash programming.

Installing the J-Link Software and Documentation Pack

To install the J-Link Software and Documentation Pack, follow the procedure below.

  1. Download the J-Link Software and Documentation Pack of Ver.6.xx or later from the SEGGER website.
  2. Double-click this downloaded the J-Link Software and Documentation Pack(*.exe) to install it. The default installation folder is as follows:
    C:\Program Files (x86)\SEGGER\JLink_V6xx

Installing the S1C31SetupTool package

This section describes how to install the S1C31 Setup Tool package required to use the J-Link Software and Documentation Pack.

  1. Download S1C31SetupTool.zip from our microcontroller website and unzip it to any folder.

  2. Execute “s1c31ToolchainSetup.exe” from the extracted folder.

  3. After the installer starts, follow the installer’s instructions to perform the installation.

  4. Check the installation contents.

  5. Check the terms of the license agreement.

  6. Select J-Flash.

  7. Select the installation folder and execute the installation.
    Select the folder where you installed the J-Link Software and Documentation Pack in Section 2.1.

  8. Exit the installer.EPSON-S1C31-Cmos-32-Bit-Single-Chip-Microcontroller-fig-1EPSON-S1C31-Cmos-32-Bit-Single-Chip-Microcontroller-fig-2

System Configuration

Figure 3.1 and 3.2 shows examples of the flash programming system. Figure 3.3 shows an example of the circuit configuration showing the connection of J-Link/Flasher, target board and external power supply (stabilized power supply, etc.).

  • PC connection (J-Link or Flasher)EPSON-S1C31-Cmos-32-Bit-Single-Chip-Microcontroller-fig-3
  • Stand-alone (Flasher) EPSON-S1C31-Cmos-32-Bit-Single-Chip-Microcontroller-fig-4
  • Production Equipment (Flasher)EPSON-S1C31-Cmos-32-Bit-Single-Chip-Microcontroller-fig-5EPSON-S1C31-Cmos-32-Bit-Single-Chip-Microcontroller-fig-6 EPSON-S1C31-Cmos-32-Bit-Single-Chip-Microcontroller-fig-7

For the voltage value of VDD, refer to the technical manual of the target S1C31 MCU model.

Flash Programming

This chapter describes the procedure of the flash programming.

Flash Programming with PC (J-Link or Flasher)

This section describes the procedure of flash programming by direct ROM data transmission from PC.

  • Launch the “SEGGER – J-Link V6.xx > J-Flash V6.xx” from start menu on Windows.

  • Close the “Welcome to J-Flash” dialog displayed after launching J-Flash.

  • Select the menu “File > Open project” on J-Flash, and open the J-Flash project file from the installation folder of “J-Link Software and Documentation Pack” shown below.
    J- Flash project file:
    C:\Program Files (x86)\SEGGER\JLink\Samples\JFlash\ProjectFiles\Epson\S1C31xxxint.jflash

  • Select the menu “File > Open data file” on J-Flash to open a ROM data (* .bin). Then, enter “0″ in the displayed the “Enter start address” dialog and click the “OK” button.

  • Connect the target board to PC via J-Link and select the menu “Target > Production Programming” on
    J- Flash to start programming the ROM data.

Flash Programming by Stand alone (Flasher)

This section describes the procedure of flash programming with Flasher only.

  1. Launch the “SEGGER – J-Link V6.xx > J-Flash V6.xx” from start menu on Windows.

  2. Close the “Welcome to J-Flash” dialog displayed after launching J-Flash.

  3. Select the menu “File > Open project” on J-Flash, and open the J-Flash project file from the installation folder of “J-Link Software and Documentation Pack” shown below.
    J- Flash project file:
    C:\Program Files (x86)\SEGGER\JLink\Samples\JFlash\ProjectFiles\Epson\S1C31xxxint.jflash

  4. Select the menu “File > Open data file” on J-Flash to open a ROM data (* .bin). Then, enter “0″ in the displayed the “Enter start address” dialog and click the “OK” button.

  5. Connect Flasher to PC and select the menu “File > Download config & data to Flasher” on J-Flash to load the ROM data to Flasher.

  6. Remove Flasher from PC and supply power to Flasher using AC adapter for USB cable supplied with Flasher. Then, make sure that the LED (Ready O. K.) on Flasher is lit green.

  7. Connect Flasher to the target board and press the “PROG” button on Flasher to start programming the ROM data. The state transition of the LED(Ready O. K.) after the start of programming is shown below. Blinking(fast): Erasing → Blinking(normal): Programming → Turn on after blinking: Program completed

Flash Programming in Production Equipment (Flasher)

For how to program in production equipment, refer to the “Flasher User Guide” available on the SEGGER web site.

Revision History

Rev. No. Date Page Category Contents
Rev.1.00 08/31/2017 All New New establishment.
Rev.2.00 06/20/2019 All Modified Renamed the document title.

“S1C31 Family Multi …” to “S1C31 Family Flash…”.

Deleted| Deleted the explanation related to VPP supply.
Added| Added the flash programming method by “Flasher”.
Rev.3.00| 2021/01/15| All| Changed| Changed the installer.

International Sales Operations

America

Epson America, Inc.
Headquarter:
3131 Katella Ave., Los Alamitos, CA 90720, USA Phone: +1-562-290-4677
San Jose Office:
214 Devcon Drive
San Jose, CA 95112 USA
Phone: +1-800-228-3964 or +1-408-922-0200

Europe
Epson Europe Electronics GmbH
Riesstrasse 15, 80992 Munich, Germany
Phone: +49-89-14005-0
FAX: +49-89-14005-110

Asia
Epson (China) Co., Ltd.
4th Floor, Tower 1 of China Central Place, 81 Jianguo Road, Chaoyang District, Beijing 100025 China
Phone: +86-10-8522-1199 FAX: +86-10-8522-1120
Shanghai Branch
Room 1701 & 1704, 17 Floor, Greenland Center II,
562 Dong An Road, Xu Hui District, Shanghai, China
Phone: +86-21-5330-4888
FAX : +86-21-5423-4677

Shenzhen Branch
Room 804-805, 8 Floor, Tower 2, Ali Center,No.3331
Keyuan South RD(Shenzhen bay), Nanshan District, Shenzhen 518054, China
Phone: +86-10-3299-0588 FAX: +86-10-3299-0560

Epson Taiwan Technology & Trading Ltd.
15F, No.100, Songren Rd, Sinyi Dist, Taipei City 110. Taiwan Phone: +886-2-8786-6688

Epson Singapore Pte., Ltd.
438B Alexandra Road,
Block B Alexandra TechnoPark, #04-01/04, Singapore 119968 Phone: +65-6586-5500 FAX: +65-6271-7066

Epson Korea Co.,Ltd
10F Posco Tower Yeoksam, Teheranro 134 Gangnam-gu, Seoul, 06235, Korea
Phone: +82-2-3420-6695

Seiko Epson Corp.
Sales & Marketing Division

Device Sales & Marketing Department
29th Floor, JR Shinjuku Miraina Tower, 4-1-6 Shinjuku, Shinjuku-ku, Tokyo 160-8801, Japan

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

Epson User Manuals

Related Manuals