Answer
Jan 17, 2025 - 11:38 PM
To program a ROM data into the internal flash memory of the EPSON S1C31 CMOS 32-Bit Single-Chip Microcontroller, you will need the following components and tools:
1. PC with Windows 10 operating system.
2. SEGGER J-Link series or Flasher series (Note: J-Link Base and J-Link EDU are not supported).
3. SEGGER J-Flash software tool.
4. Target board equipped with the S1C31 MCU.
5. S1C31 Setup Tool Package provided by Seiko Epson.
Here is the step-by-step procedure to program the internal flash memory:
1. Install the J-Link Software and Documentation Pack:
- Download the J-Link Software and Documentation Pack from the SEGGER website.
- Double-click the downloaded file (*.exe) to install it. The default installation folder is usually "C:\Program Files (x86)\SEGGER\JLink_V6xx".
2. Install the S1C31 Setup Tool Package:
- Download the S1C31 Setup Tool Package (S1C31SetupTool.zip) from the Seiko Epson microcontroller website and unzip it to any folder.
- Run the "s1c31ToolchainSetup.exe" file from the extracted folder.
- Follow the installer's instructions to complete the installation.
- During the installation, select J-Flash and choose the installation folder where you installed the J-Link Software and Documentation Pack.
3. Configure the System:
- Refer to the provided diagrams in the manual (Figure 3.1, 3.2, and 3.3) to set up the flash programming system.
- Connect the PC to the target board using J-Link or Flasher.
- Ensure the voltage value of VDD is as specified in the technical manual of the S1C31 MCU model.
4. Flash Programming with PC (J-Link or Flasher):
- Launch the "SEGGER - J-Link V6.xx > J-Flash V6.xx" from the start menu on Windows.
- Close the "Welcome to J-Flash" dialog that appears after launching J-Flash.
- Select the menu "File > Open project" and open the J-Flash project file located in the installation folder of the J-Link Software and Documentation Pack (e.g., "C:\Program Files (x86)\SEGGER\JLink\Samples\JFlash\ProjectFiles\Epson\S1C31xxxint.jflash").
- Select the menu "File > Open data file" and open the ROM data file (*.bin).
- Enter "0" in the "Enter start address" dialog and click "OK".
- Connect the target board to the PC via J-Link or Flasher.
- Select the menu "Target > Production Programming" to start programming the ROM data into the internal flash memory.
5. Flash Programming by Standalone (Flasher):
- Follow the same steps as mentioned in the previous section (Flash Programming with PC) until opening the ROM data file.
- Instead of connecting the target board to the PC, connect the Flasher to the PC.
- Select the menu "File > Download config & data to Flasher" to load the ROM data into the Flasher.
- Disconnect the Flasher from the PC and power it using an AC adapter.
- Connect the Flasher to the target board and press the "PROG" button on the Flasher to start programming the ROM data.
Note: For detailed instructions on programming in production equipment, refer to the "Flasher User Guide" available on the SEGGER website.
Please refer to the EPSON S1C31 CMOS 32-Bit Single-Chip Microcontroller User Manual for more information and specific details on the flash programming process.
Add New Comment