S1C31 Family PA File Creation Tool Manual

Similar documents
S5U1C31D50T1 Manual (S1C31D50 Evaluation Board)

S1C17 Family Port Nested Interrupt Application Notes

S1C17 Family EEPROM Emulation Library Manual

GNU17V3 Setup Guide. Rev.2.0

S1V3G340 External SPI-Flash Select Guide

S1C17 Family Application Library S1C17 Series Steps Calculation Library

S1C17 Family Application Note S1C17 Series Boot Loader Sample Software

For S1C63 Family Flash microcontroller Multiple-Programming ROM Writer Software (GW63)

FSA. Library Link. Rev.1.0

S1C17 M01/W22/W23/W15 Self-Modifying Software (FLS) Manual

Connecting EPSON Display Controllers to Topway LCD Panels

S1V30080 Series I2C Interface Sample Program Specifications

S1C33 Family Application Note S1C33L26 Software Reference Manual

CMOS 16-BIT SINGLE CHIP MICROCONTROLLER S5U1C17656T Manual (Software Evaluation Tool for S1C17656)

S5U1C88000P Manual (S1C88 Family Peripheral Circuit Board)

Multi Programmer Ver.4.0 (S5U1C17000Y24) User Manual

SG-8506CA-EVB Preliminary

CMOS 16-BIT SINGLE CHIP MICROCONTROLLER S5U1C31D01T1 Manual (Software Evaluation Tool for S1C31D01)

IMU (Inertial Measurement Unit) IMU / USB Interface Board (M-G3xx, M-V3xx) Logger Software User s Guide

S5U1C17000Y2 GangWriter Software Manual

S1C31D01 Photoplethysmography (PPG) Demonstration Kit Software Manual

S1V3G340 Development Reference Guide

S5U1S65K01H4100 Camera Board Technical Manual

S2R72A54 Application Note

S1F77330 Series Technical Manual

RC90 Upgrade Procedures

S1C17555/565/955/965

S5U1C63000P Manual (S1C63 Family Peripheral Circuit Board)

VCC_3.3V GND. USB Evaluation Cable (M-C30EV041) RTS CTS UART_RXD. Fig1. Block Diagram

S1R72U16 Development Support Manual

S1C17W23 EL Lamp Application Notes

Old Company Name in Catalogs and Other Documents

Regarding the change of names mentioned in the document, such as Hitachi Electric and Hitachi XX, to Renesas Technology Corp.

IAR EWARM Quick Start for. Holtek s HT32 Series Microcontrollers

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

Renesas Starter Kit Sample Code for Cubesuite + Toolchain

S1C31W74 Peripheral Circuit Sample Software Manual

CMOS 16-BIT SINGLE CHIP MICROCONTROLLER S5U1C17651T2 Manual (Software Evaluation Tool for S1C17651)

APPLICATION NOTE. Atmel AT03160: Migrating Bootloader from ATxmega128A1 to other Atmel XMEGA Devices. Atmel AVR XMEGA. Features.

Utility Software Data Connection For 22S Instruction Manual

SAMSUNG ELECTRONICS RESERVES THE RIGHT TO CHANGE PRODUCTS, INFORMATION AND SPECIFICATIONS WITHOUT NOTICE. Products and specifications discussed

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents

1. Installation Creating the Project Workspace Opening Sample Code and Source Files Source Code Functionality...

PCB Design Guidelines for S1R72V Series USB 2.0 High-Speed Devices

Oscillation stop detection circuit included

1. Installation Creating the Project Workspace Opening Sample Code and Source Files Source Code Functionality...

Utility Software Data Connection For 62S Instruction Manual

THIS SPEC IS OBSOLETE

Getting Started with MCUXpresso SDK CMSIS Packs

S1C31W74 Peripheral Circuit Sample Software Manual

1. Opening the sample code workspace Loading the selected sample code project Opening Sample Code and Source Files...

Updating the Firmware on USB SPI Boards (KITUSBSPIEVME, KITUSBSPIDGLEVME)

USB Bootloader GUI User s Guide

Regarding the change of names mentioned in the document, such as Hitachi Electric and Hitachi XX, to Renesas Technology Corp.

Silicon Epitaxial Planar Zener Diode for Stabilized Power Supply. Type No. Mark Package Code HZS Series Type No. MHD B 7

UM1862 User manual. Getting started with STM32F411E Discovery software Development Tools. Introduction

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

LAN Magnetics Solution for 1000BASE-T Evaluation Board TDK Part number: ALT4532-EVA-01

YASKAWA AC Drive-J1000 Option. RS-232C Interface. Technical Manual Type SI-232/J, SI-232/JC RS-232C SI-232/J, SI-232/JC J1000

Regarding the change of names mentioned in the document, such as Hitachi Electric and Hitachi XX, to Renesas Technology Corp.

SEGGER J-Link Lite for Renesas Synergy TM

Keil uvision 4 Kinetis Support for Freescale MQX RTOS Release Notes

CMOS 16-BIT SINGLE CHIP MICROCOMPUTER. S5U1C17001H User Manual (ICD Mini Ver. 1.0)

APPLICATION NOTE. AT03324: Atmel REB212BSMA-EK Quick Start Guide. Atmel MCU Wireless. Introduction

Keil TM MDK-ARM Quick Start for. Holtek s HT32 Series Microcontrollers

Wireless Development Suite (WDS) is a software utility used to configure and test the Silicon Labs line of ISM band RFICs.

Atmel AVR1926: XMEGA-B1 Xplained Getting Started Guide. 8-bit Atmel Microcontrollers. Application Note. Features. 1 Introduction

UM1677 User manual. Getting started with STM32F030 Value Line Discovery development tools. Introduction

S5U13781R00C10M User Manual

Design Kit (for ANSOFT Designer TM / Nexxim TM ) User s Manual

1. Installation Creating the Project Workspace Adding Sample Code into DS Adding GNU Toolchain Support for DS-5...

IAR IDE Installation. Power Application Controller. Copyright 2018 Active-Semi, Inc.

This product is under planning; the specifications may be changed in the release model.

E1 Emulator Additional Document for User s Manual (Notes on Connection for RL78)

Renesas Synergy Project Import Guide

S1C33 Family In-Circuit Debugger S5U1C33001H1400

ETHERNET_FLASH_LOADER

Silicon Planar Zener Diode for Low Noise Application. Part No. Cathode Band Package Name Package Code HZ-L Series Navy blue DO-35 GRZZ0002ZB-A 7 B 2

Quick Install Guide. Wireless-G Network PCI Adapter. WLP54G 3a

Unit: mm Max Max Max Min 5.06 Max Min ± ± 0.10

Application Note AN_145. Vinculum-II Toolchain. Installation Guide

RL78 Family Flash Self-Programming Library Type01 Ver.2.21 for the CC-RL compiler

M3H Group(2) Application Note Asynchronous Serial Communication Circuit (UART-C)

R-IN32M3-EC, EC-1, RZ/T1

Kinetis SDK Release Notes for the TWR-K24F120M Tower System Module

Getting Started with Tally.Developer 9 Alpha

Atmel AVR ATxmega384C3 microcontroller OLED display with 128x32 pixels resolution Analog sensors. Ambient light sensor Temperature sensor

S5U13781R01C100 Shield TFT Board for Arduino Due Users Manual

MQX RTOS Release Notes for Kinetis SDK v1.2.0 for KL33Z64 for FRDM-KL43Z Freescale Freedom Development Platform

OLED display with pixels resolution Ambient light sensor CPU load Analog filter Quadrature Encoder with push button Digital I/O

Getting Started with Freescale MQX RTOS for Kinetis SDK and MDK-ARM Keil

Converting Firmware Projects to CoIde and IAR Embedded Workbench for ARM

CMOS 8-BIT SINGLE CHIP MICROCOMPUTER S5U1C88000H5 Manual. (S1C88 Family In-Circuit Emulator)

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

CMSIS DAP Setup. Document Version History Document Version ngxtechnologies.com 2

Dell OptiPlex 9010, or a later model provided by AB SCIEX, is the recommended computer model.

AT03975: Getting Started with SAM L21. Descripton. Features. SMART ARM-Based Microcontroller APPLICATION NOTE

STAND-ALONE PROGRAMMER

EKK-LM3S811 QUICKSTART

Transcription:

CMOS 32-BIT SINGLE CHIP MICROCONTROLLER S1C31 Family PA File Creation Tool Manual Rev.2.0

Evaluation board/kit and Development tool important notice 1. This evaluation board/kit or development tool is designed for use for engineering evaluation, demonstration, or development purposes only. Do not use it for other purposes. It is not intended to meet the requirements of design for finished products. 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. 3. The part used for this evaluation board/kit or development tool may be changed without any notice. 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 requiring 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 material will be free from any patent or copyright infringement of a third party. When exporting the products or technology described in this material, you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations. You are requested not to use, to resell, to export and/or to otherwise dispose of the products (and any technical information furnished, if any) for the development and/or manufacture of weapon of mass destruction or for other military purposes. All brands or product names mentioned herein are trademarks and/or registered trademarks of their respective companies. ARM and Cortex are registered trademarks of ARM Limited (or its subsidiaries) in the EU and/or elsewhere. IAR Systems, IAR Embedded Workbench, C-SPY, I-jet, IAR, and the IAR Systems logotype are trademarks or registered trademarks owned by IAR Systems AB. All rights reserved. Reproduced with permission from ARM Limited. Copyright ARM Limited SEIKO EPSON CORPORATION 2017, All rights reserved.

Table of Contents 1. Overview... 1 1.1 Working Environment... 1 2. Installation... 2 2.1 Installation instructions... 2 2.2 Structure of installation folder and start menu... 4 3. Registering Tool... 5 3.1 Using IAR EWARM... 5 3.2 Using MDK-ARM... 6 4. Creating PA File... 7 4.1 Using IAR EWARM... 7 4.2 Using MDK-ARM... 8 Revision History... 9 S1C31 Family Seiko Epson Corporation i

1. Overview 1. Overview This tool creates a PA file from an ELF file (ROM data). If using the service to load user programs to the internal flash memory in S1C31 Family at Seiko Epson s factory, a PA file must be created and submitted to Seiko Epson. The S1C31 Family is microcontrollers, which includes the ARM Cortex -M0+ processor, manufactured by Seiko Epson Corporation. Software for S1C31 family can be developed using third party ARM software development environment. We recommend the following ARM software development environments. - IAR Embedded Workbench for ARM (by IAR Systems) - MDK-ARM (by ARM) 1.1 Working Environment To use this package, the following conditions are necessary: - PC Windows 7, 8.1 or 10 - ARM development environment IAR Embedded Workbench for ARM or MDK-ARM S1C31 Family Seiko Epson Corporation 1

2. Installation 2. Installation 2.1 Installation instructions To install this package, follow the procedure below. (1) Start Windows. (2) Download the S1C31 Family PA File Creation Tool (s1c31_pa_file_creation_tool_vx.xx.zip) from the web site of Seiko Epson micro controller, and unzip it in the desired folder. (3) Double-click setup.exe in the desired folder to launch the installer. Then the installation start screen will be displayed. (4) Click the [Next>] button. Then the software license agreement screen will be displayed. 2 Seiko Epson Corporation S1C31 Family

2. Installation (5) Read the software license agreement. If you agree to the terms of the license, select I accept the terms of the License Agreement and click the [Next>] button. Hereafter follow the prompts in the installation wizard to proceed with the installation. If you do not agree, click the [Cancel] button to close the installer. (6) When the installation is completed, click the [Finish] button to close the installation wizard. S1C31 Family Seiko Epson Corporation 3

2. Installation 2.2 Structure of installation folder and start menu The structure of the installation folder is as follows: C:\EPSON (default) \C31_PA uninstall.exe license.txt \TOOL ptd.exe winmdc17.exe \IAR c31_setup.bat \ARM c31_setup.bat \mcu_model Uninstaller License file for this package Motorola-S2-format file conversion tool PA file creation tool Batch file for setting up this tool for IAR EWARM Batch file for setting up this tool for MDK-ARM Folder of the model-specific files for creating PA file The structure of the start menu folder is as follows: EPSON MCU C31 PA Create C31 PA file Setup C31 for IAR Setup C31 for ARM Uninstall IAR ARM Shortcut to PA file creation program Shortcut to batch file for setting up the PA file creation tool (for IAR IDE) Shortcut to batch file for setting up the PA file creation tool (for MDK-ARM) Shortcut to uninstaller Shortcut to C:\EPSON\C31_PA\IAR folder Shortcut to C:\EPSON\C31_PA\ARM folder 4 Seiko Epson Corporation S1C31 Family

3. Registering Tool 3. Registering Tool By registering this tool to the IDE(IAR EWARM or MDK-ARM) as external tool, you can create a PA file in the IDE. Follow the procedure below to register this tool. 3.1 Using IAR EWARM (1) Setup the PA file creation tool Right-click the [EPSON MCU] > [C31_PA] > [Setup C31 for IAR] in the start menu and select [Run as administrator] to setup the PA file creation tool. (2) Launch the IAR EWARM Click the [IAR Systems] > [IAR Embedded Workbench for ARM 7.xx] > [IAR Embedded Workbench] in the start menu to launch the IAR EWARM. (3) Register the PA file creation tool Follow the steps below to register the PA file creation tool as an external tool in the IDE. 1. Select the [Tools] > [Configure Tools ] in IDE menu to open the [Configure Tools] dialog. 2. Click the [New] button, and then enter the Create S1C31xxx PA File (ex. Create S1C31W74 PA File) in the text box at the [Menu Text:]. 3. Click the [Browse ] button at the [Command:], and then select the S1C31xxx_create_pa.bat (ex.s1c31w74_create_pa.bat) in C:\EPSON\C31_PA\IAR(default installation folder). 4. Enter the "$EXE_DIR$" "$PROJ_FNAME$" "$TARGET_FNAME$" "$EW_DIR$" in the text box at the [Argument:]. 5. Enter the $EXE_DIR$ in the text box at the [Initial Directory:]. 6. Enable the [Redirect to Output Window:] checkboxes. 7. Disable the [Prompt for Command Line:] checkboxes. 8. Select the [When not debugging] in the [Tool Available:] drop dawn list. 9. Click the [OK] button to complete the tool registration. Menu Text: Command: Argument: Initial Directory: Redirect to Output Window: Prompt for Command Line: Tool Available: Create S1C31XXX PA File C:\EPSON\C31_PA\IAR\S1C31xxx_create_pa.bat "$EXE_DIR$" "$PROJ_FNAME$" "$TARGET_FNAME$" "$EW_DIR$" $EXE_DIR$ enable check disable check When not debugging S1C31 Family Seiko Epson Corporation 5

3. Registering Tool 3.2 Using MDK-ARM (1) Setup the PA file creation tool Right-click the [EPSON MCU] > [C31_PA] > [Setup C31 for ARM] in the start menu and select [Run as administrator] to setup the PA file creation tool. (2) Launch the uvision (MDK-ARM) Click the [Keil uvision5] shortcut icon on the desktop to launch uvision which is IDE included with MDK-ARM. (3) Register the PA file creation tool Follow the steps below to register the PA file creation tool as an external tool in the IDE. 1. Select the [Tools] > [Customize Tools Menu ] in IDE menu to open the [Customize Tools Menu] dialog. 2. Double-click the blank line in [Menu Content:], and then enter the Create S1C31xxx PA File (ex. Create S1C31W74 PA File). 3. Click the [ ] button at the [Command:], and then select the S1C31xxx_create_pa.bat (ex.s1c31w74_create_ pa.bat) in C:\EPSON\C31_PA\ARM (default installation folder). 4. Enter the $L in the text box at the [Initial Folder:]. 5. Enter the "$L" "@L" "%L" "$K" in the text box at the [Arguments:]. 6. Disable the checkboxes, [Prompt for Arguments], [Run Minimize] and [Run Independent]. 7. Click the [OK] button to complete the tool registration. Menu Content: Command: Create S1C31XXX PA File C:\EPSON\C31_PA\ARM\S1C31xxx_create_pa.bat Initial Folder: $L Arguments: Prompt for Arguments Run Minimized Run Independent "$L" "@L" "%L" "$K" disable check disable check disable check 6 Seiko Epson Corporation S1C31 Family

4. Creating PA File 4. Creating PA File If you want to use the service to load the user programs to the internal flash memory of the S1C31 Family at the Seiko Epson s factory, you need to create a PA file and submit it to Seiko Epson. Follow the procedure below to create a PA file. 4.1 Using IAR EWARM This section uses the S1C31xxx peripheral circuit sample software provided by Seiko Epson as an example. (1) Open the Workspace Launch the IAR EWARM, and then select the [File] > [Open] > [Workspace...] in the IDE menu to open the Examples\WORKSPACE\S5U1C31xxxTx\IAR\Examples.eww. (2) Create the ELF file(*.out) Set the desired project as active and select the build configuration with Flash (ex. DebugFlash or Release Flash). Then select the [Project] > [Make] in IDE menu to build the active project. After the build is completed, an ELF file (*.out) is created in the $PROJ_DIR\{build configuration}\exe folder. (3) Create the PA file Select the [Tools] > [Create S1C31xxx PA File] in IDE menu to create the PA file. When a PA file generation succeeds, the following message is output to the [Tool output] window displayed at the bottom of IDE. * * OK PA file is created. * ************************************************************************ The PA file (*.PA) is created in the folder where the ELF file(.out) exists. S1C31 Family Seiko Epson Corporation 7

4. Creating PA File 4.2 Using MDK-ARM This section uses the S1C31xxx peripheral circuit sample software provided by Seiko Epson as an example. (1) Open the Workspace Launch the uvsion(mdk-arm), and then select the [Project] > [Open Project ] in the IDE menu to open the Examples\WORKSPACE\S5U1C31xxxTx\ARM\Examples.uvmpw. (2) Create the ELF file(*.axf) Set the desired project as active and select the build configuration with Flash (ex. DebugFlash). Then select the [Project] > [Build xxx (yyy) ] in IDE menu to build the active project. After the build is completed, an ELF file (*.axf) is created in the $PROJ_DIR\obj\{build configuration} folder. (3) Create the PA file Select [Tool] > [Create C31 PA File] in uvision menu to create the PA file. When a PA file generation succeeds, the following message is output to the [Build Output] window displayed at the bottom of IDE. * * OK PA file is created. * ************************************************************************ The PA file (*.PA) is created in the folder where the ELF file(.axf) exists. 8 Seiko Epson Corporation S1C31 Family

Revision History Revision History Attachment-1 Rev. No. Date Page Category Contents Rev 1.0 04/25/2017 All New New establishment. Rev 2.0 08/30/2017 P.5-P.9 Modify Modified sections 2.2, 3.1 and 4.1 S1C31 Family Seiko Epson Corporation 9

International Sales Operations AMERICA EPSON ELECTRONICS AMERICA, INC. 214 Devcon Drive, San Jose, CA 95112, USA Phone: +1-800-228-3964 FAX: +1-408-922-0238 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. 14F, No. 7, Song Ren Road, Taipei 110, TAIWAN 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 CORP. KOREA OFFICE 19F, KLI 63 Bldg., 60 Yoido-dong, Youngdeungpo-Ku, Seoul 150-763, KOREA Phone: +82-2-784-6027 FAX: +82-2-767-3677 SEIKO EPSON CORP. SALES & MARKETING DIVISION Device Sales & Marketing Department 421-8, Hino, Hino-shi, Tokyo 191-8501, JAPAN Phone: +81-42-587-5816 FAX: +81-42-587-5116 Document Code: 413471701 First Issue April 2017 Revised August 2017n Japan