The following document contains information on Cypress products. Colophon The products described in this document are designed, developed and manufactured as contemplated for general use, including without limitation, ordinary industrial use, general office use, personal use, and household use, but are not designed, developed and manufactured as contemplated (1) for any use that includes fatal risks or dangers that, unless extremely high safety is secured, could have a serious effect to the public, and could lead directly to death, personal injury, severe physical damage or other loss (i.e., nuclear reaction control in nuclear facility, aircraft flight control, air traffic control, mass transport control, medical life support system, missile launch control in weapon system), or (2) for any use where chance of failure is intolerable (i.e., submersible repeater and artificial satellite). Please note that Spansion will not be liable to you and/or any third party for any claims or damages arising in connection with above-mentioned uses of the products. Any semiconductor devices have an inherent chance of failure. You must protect against injury, damage or loss from such failures by incorporating safety design measures into your facility and equipment such as redundancy, fire protection, and prevention of over-current levels and other abnormal operating conditions. If any products described in this document represent goods or technologies subject to certain restrictions on export under the Foreign Exchange and Foreign Trade Law of Japan, the US Export Administration Regulations or the applicable laws of any other country, the prior authorization by the respective government entity will be required for export of those products. Trademarks and Notice The contents of this document are subject to change without notice. This document may contain information on a Spansion product under development by Spansion. Spansion reserves the right to change or discontinue work on any product without notice. The information in this document is provided as is without warranty or guarantee of any kind as to its accuracy, completeness, operability, fitness for particular purpose, merchantability, non-infringement of third-party rights, or any other warranty, express, implied, or statutory. Spansion assumes no liability for any damages of any kind arising out of the use of the information in this document. ® ® ® TM Copyright © 2013 Spansion Inc. All rights reserved. Spansion , the Spansion logo, MirrorBit , MirrorBit Eclipse , TM ORNAND and combinations thereof, are trademarks and registered trademarks of Spansion LLC in the United States and other countries. Other names used are for informational purposes only and may be trademarks of their respective owners. Fujitsu Semiconductor (Shanghai) Co., Ltd. Application Note MCU-AN- 500001-E-12 F²MC-8FX FAMILY 8-BIT MICROCONTROLLER MB95200H/210H SERIES QUICK START GUIDE APPLICATION NOTE QUICK START GUIDE V1.2 Revision History Revision History Date 2008-03-20 2008-07-21 2012-02-28 Author Ivan, Xiao Ivan, Xiao Ivan, Xiao Change of Records V1.0, First draft V1.1, modify the logo of SOFTUNE. V1.2, add Register Bank setting This manual contains 43 pages. 1. The products described in this manual and the specifications thereof may be changed without prior notice. To obtain up-to-date information and/or specifications, contact your Fujitsu sales representative or Fujitsu authorized dealer. 2. Fujitsu will not be liable for infringement of copyright, industrial property right, or other rights of a third party caused by the use of information or drawings described in this manual. 3. The contents of this manual may not be transferred or copied without the express permission of Fujitsu. 4. The products contained in this manual are not intended for use with equipments which require extremely high reliability such as aerospace equipments, undersea repeaters, nuclear control systems or medical equipments for life support. 5. Some of the products described in this manual may be strategic materials (or special technology) as defined by the Foreign Exchange and Foreign Trade Control Law. In such cases, the products or portions thereof must not be exported without permission as defined under the law. © 2008 Fujitsu Semiconductor (Shanghai) Co., Ltd. MCU-AN- 500001-E-12 – Page 2 QUICK START GUIDE V1.2 CONTENTS CONTENTS REVISION HISTORY ............................................................................................................ 2 CONTENTS .......................................................................................................................... 3 1 INTRODUCTION .............................................................................................................. 5 2 HARDWARE TOOLS ....................................................................................................... 6 2.1 2.2 2.3 BGM Adaptor .......................................................................................................... 6 2.1.1 Brief Introduction of BGM Adaptor ............................................................. 6 2.1.2 Advantages of BGM Adaptor ..................................................................... 7 2.1.3 Install Driver for BGM Adaptor ................................................................... 8 Evaluation Board ................................................................................................... 11 2.2.1 Evaluation Board Configuration ............................................................... 12 2.2.2 Power Module .......................................................................................... 13 2.2.3 Clock Settings.......................................................................................... 14 2.2.4 Peripheral Modules .................................................................................. 15 2.2.5 Precaution for Using Evaluation Board .................................................... 16 2.2.6 BGM Adaptor Interface ............................................................................ 17 Emulation System Setup ....................................................................................... 18 2.3.1 Setup ....................................................................................................... 18 2.3.2 Steps for Power on .................................................................................. 18 3 INSTALL SOFTUNE ...................................................................................................... 19 3.1 SOFTUNE Version ................................................................................................ 19 3.2 Installation of SOFTUNE ....................................................................................... 20 4 CODING AND DEBUGGING ......................................................................................... 22 4.1 Set up a New Project ............................................................................................. 22 4.2 Setup Project ......................................................................................................... 24 4.3 Coding................................................................................................................... 28 4.4 4.3.1 Basic Members of Project ........................................................................ 28 4.3.2 Add Members to Project .......................................................................... 29 4.3.3 Make/Build ............................................................................................... 29 Debugging ............................................................................................................. 30 4.4.1 Emulation Environment Set up................................................................. 30 4.4.2 Start Debug ............................................................................................. 36 4.4.3 Warning and Error ................................................................................... 36 4.4.4 Debug Window ........................................................................................ 37 4.4.5 How to Disable Watchdog Function ......................................................... 38 MCU-AN- 500001-E-12 – Page 3 QUICK START GUIDE V1.2 CONTENTS 5 PROGRAMMING ........................................................................................................... 39 6 ADDITIONAL INFORMATION ....................................................................................... 41 7 APPENDIX ..................................................................................................................... 42 7.1 Index of Tables ...................................................................................................... 42 7.2 Index of Figures..................................................................................................... 42 MCU-AN- 500001-E-12 – Page 4 QUICK START GUIDE V1.2 Chapter 1 Introduction 1 Introduction This application note describes how to start development with the Fujitsu F2MC-8FX Family MB95200H/210H Series. Chapter 2 explains usage for BGM Adaptor and Evaluation Board. Chapter 3 explains how to setup SOFTTUNE. Chapter 4 explains how to use SOFTUNE for coding and debugging. The last chapter explains how to program. MCU-AN- 500001-E-12 – Page 5 QUICK START GUIDE V1.2 Chapter 2 Hardware Tools 2 Hardware Tools This chapter introduces hardware tools 2.1 BGM Adaptor The following figure is a real picture of BGM Adaptor; BGM Adaptor ID is MB2146-08-E. Figure 2.1-1: BGM Adaptor 2.1.1 Brief Introduction of BGM Adaptor The functions of BGM Adaptor are as follows. Table 2.1.1-1: Functions of BGM Adaptor Function Item 2 Support 8FX MCU: Frequency, Voltage F MC-8FX MB95200: 10 MHz, 2.4-5.5 V Breakpoint 256 software breakpoint USB interface to PC/SOFTUNE Comfortable to USB protocol version 1.1 1-Line UART interface to Commodity MCU Baud rate is 62500bps Support CR trimming automatically Final trimming error is less than ±3.75% Provide 5 V and 3.3 V for internal test and demo The function can be available by setting jumper Inside BGMA. (J1 and J2) Total current is limited within 500 mA Support MCU flash engineering development Provide high voltage for flash operation Program and read speed is about 800 B/S programming for MCU-AN- 500001-E-12 – Page 6 QUICK START GUIDE V1.2 Chapter 2 Hardware Tools 2.1.2 Advantages of BGM Adaptor Low price compared with 8FX EV-Chip Tools Small size 128 mm X 55 mm X 29 mm USB interface to PC/SOFTUNE Conformance to USB protocol version 1.1 Less pins used in debug interface (5 pins) Interface between BGMA and target MCU is IDC-10 Good debugging performance Functions are similar to existing 8FX EV chip debugging platform 5 V and 3.3 V power supply for evaluation application Total current is limited within 500 mA MCU-AN- 500001-E-12 – Page 7 QUICK START GUIDE V1.2 Chapter 2 Hardware Tools 2.1.3 Install Driver for BGM Adaptor You need to install a corresponding driver on PC before using BGM Adaptor, the installation steps are as follows. (1) Connect BGM Adaptor to PC and find a new hardware, the following window pops up, check the radio button No, not this time and click Next. Figure 2.1.3-1: Installer- 1 (2) Check the radio button Install from a list or specific location (Advanced), and click Next. Figure 2.1.3-2: Installer- 2 MCU-AN- 500001-E-12 – Page 8 QUICK START GUIDE V1.2 Chapter 2 Hardware Tools (3) Select …\Drivers from the folder where SOFTUNE is installed, click Next. Figure 2.1.3-3: Wizard Searches- 3 (4) Select the best matching description for BGM Adaptor, then click Next. Figure 2.1.3-4: Found New Hardware Wizard- 4 (5) Click Finish to finish the setup. MCU-AN- 500001-E-12 – Page 9 QUICK START GUIDE V1.2 Chapter 2 Hardware Tools Figure 2.1.3-5: Finish- 5 MCU-AN- 500001-E-12 – Page 10 QUICK START GUIDE V1.2 Chapter 2 Hardware Tools 2.2 Evaluation Board Fujitsu offers Evaluation Board (MB95200/210 EV-Board V1.2) for MCU. The introduction of Evaluation Board is as follows. Debug Interface To BGMA Buzzer circuit LEDs to MCU I/O port pins LPC MCU Power supply either from USB or from 2 pin header Jumpers to set MCU pins connect to external circuit or not Potentiometer to MCU AD pin Circuit for LINUART peripheral communication Switch circuit to MCU External Interrupt pins Figure 2.2-1: Evaluation Board MCU-AN- 500001-E-12 – Page 11 QUICK START GUIDE V1.2 Chapter 2 Hardware Tools Evaluation board features list Clock and sub-clock USB 5V power IF, external 5V power IF and the battery Reset circuit and reset key Provide IDC10 debug interface 3 LEDs for general use, LED1 indicates DBG pin work status Provide one buzzer to demonstrate timer output 2 keys for general use Potentiometer and temperature sensor RS-232 level converter and DB9 interface (MAX232). LIN circuit reserved SIO 4 pins reserved. All MCU ports are easy accessible through test pins. Specialty starter kit to support every available MCU packages 2.2.1 Evaluation Board Configuration Before running a sample code or debugging MB95200 MCU on Evaluation Board, some settings must be fixed. The following figure is an overview of Evaluation Board. Figure 2.2.1-1: Overview of Evaluation Board MCU-AN- 500001-E-12 – Page 12 QUICK START GUIDE V1.2 Chapter 2 Hardware Tools 2.2.2 Power Module User can select three types of DC power supply for Evaluation Board. If any of the power supplies is connected correctly to the Evaluation Board, the power LED (LED5) on Evaluation Board will be on. Refer to Figure 2.2.2-1. Figure 2.2.2-1: Power Module To select different power supplies, follow the table below. Power Supply Table 2.2.2-2: Power Supply Selection Header Name 4 AA batteries from BT1 on the back of EV-board. J1: BAT. 9V DC from CN6 J1: 9V. USB from CN7 None MCU-AN- 500001-E-12 – Page 13 Settings None QUICK START GUIDE V1.2 Chapter 2 Hardware Tools 2.2.3 Clock Settings In MB95200H/210H MCU series, main internal CR is used as clock source by default. User can select a crystal clock on board as main clock or sub clock. Follow the settings below, Clock Table 2.2.3-1: Clock Settings Header Name Main clock SW3: X1, X0 Sub clock SW3: X1A, X0A Settings Selectable main clock source Main OSC clock (up to 16.25 MHz, maximum machine clock frequency: 8.125 MHz) External clock (up to 32.5 MHz, maximum machine clock frequency: 16.25 MHz) Main internal CR clock (1/8/10 MHz ± 5%, maximum machine clock frequency: 10 MHz) Selectable subclock source Sub-OSC clock (32.768 kHz) External clock (32.768 kHz) Sub-internal CR clock (typ: 100 kHz, min: 50 kHz, max: 200 kHz) MCU-AN- 500001-E-12 – Page 14 QUICK START GUIDE V1.2 Chapter 2 Hardware Tools 2.2.4 Peripheral Modules There are several peripheral modules on Evaluation Board. To use these peripheral modules, follow the table below. Modules Table 2.2.4-1: Peripheral Modules Header Name Buzzer: BUZ1 SW1: BUZ. AD:VR3 SW2: VR3 Settings SW2: LED2, LED3 LED*: LED2, LED3, LED4 SW1:LED4 Key:S1, S2 SW2: S1, S2 SW2: SOT, SIN UART J5: UART J6: UART SW2: SCK, SOT, SIN LIN** J5: LIN J6: LIN *LED module has four LEDs in total, but P12 (LED1) isn’t active during debugging by BGMA. **LIN module is optional; contact your local vender for EV-board with LIN module. MCU-AN- 500001-E-12 – Page 15 QUICK START GUIDE V1.2 Chapter 2 Hardware Tools 2.2.5 Precaution for Using Evaluation Board High voltage on RST PIN During writing/erasing data in flash memory, a typical +10VD.C. Voltage should be applied on the RST pin. While MCU is connected with BGMA to start debugging, you must open the jumper (J2 red mark in the picture below) to protect the BGMA from being damaged by high voltage through reset pin. Figure 2.2.5-1: Jumper of RST Pin Not miss connect 8FX BGMA (MB2146-09) and MB95200H/210H series BGMA (MB2146-08). MCU-AN- 500001-E-12 – Page 16 QUICK START GUIDE V1.2 Chapter 2 Hardware Tools 2.2.6 BGM Adaptor Interface To start debugging using BGM adaptor, user must connect IDC 10 socket from BGM adaptor to CN1 on EV-board. Refer to Figure 2.2-2: BGM Adaptor Interface Figure 2.2.6-1: BGM Adaptor Interface PIN ID 1 2 PIN NAME UVCC GND Table 2.2.6-2: CN1 3 RSTIN (BGMA->Target) 4 5 RSTOUT RSV PIN ID 6 7 8 9 10 PIN NAME 3.3 V (not open to customers)we can say it is open in LPC BGMA side RSV DBG RSV 5 V (not open to customers) MCU-AN- 500001-E-12 – Page 17 QUICK START GUIDE V1.2 Chapter 2 Hardware Tools 2.3 Emulation System Setup 2.3.1 Setup The emulation system setup is as follows. Figure 2.3.1-1: Emulation System Setup 2.3.2 Steps for Power on First, connect BGM Adaptor and Evaluation Board with 1-line UART; second, connect BGM Adaptor and PC with USB cable; last, power on Evaluation Board. (1) Connect IDC cable and plug in USB cable. Then BGM Adapter status LED turns green. Figure 2.3.2-1: BGM Adapter Plug in USB Cable (2) Then power on EV board, BGM Adapter status LED turns red. Figure 2.3.2-2: Power on Evaluation Board MCU-AN- 500001-E-12 – Page 18 QUICK START GUIDE V1.2 Chapter 3 Install SOFTUNE 3 Install SOFTUNE This chapter introduces the Installation steps of SOFTUNE 3.1 SOFTUNE Version The following settings are done in F2MC-8L/8FX Family SOFTUNE Workbench V30L31. Figure 3.1- 1: SOFTUNE Version MCU-AN- 500001-E-12 – Page 19 QUICK START GUIDE V1.2 Chapter 3 Install SOFTUNE 3.2 Installation of SOFTUNE (1) Open setup folder and double and select “setup.exe” file, the following window appear, click Next. Figure 3.2-1: Set up of SOFTUNE-1 (2) Click Browse to select folder where Setup will install files, and click Next. Figure 3.2-2: Set up of SOFTUNE-2 MCU-AN- 500001-E-12 – Page 20 QUICK START GUIDE V1.2 Chapter 3 Install SOFTUNE (3) Check SOFTUNE Workbench, select SOFTUNE C Compiler and SOFTUNE Assembler Pack, then click Next. Figure 3.2-3: Setup of SOFTUNE-3 (4) Click Finish, and the installation is finished. Figure 3.2-4: Setup of SOFTUNE-4 MCU-AN- 500001-E-12 – Page 21 QUICK START GUIDE V1.2 Chapter 4 Coding and Debugging 4 Coding and Debugging This chapter describes programming and debugging. 4.1 Set up a New Project (1) Select File > New to set up a new project. Figure 4.1-1: Set Up a New Project-1 MCU-AN- 500001-E-12 – Page 22 QUICK START GUIDE V1.2 Chapter 4 Coding and Debugging (2) When the following window appears, select target series name from Target MCU pull-down menu, then fill in the project name and set the project directory etc., last click OK. Figure 4.1-2: Set Up a New Project-2 MCU-AN- 500001-E-12 – Page 23 QUICK START GUIDE V1.2 Chapter 4 Coding and Debugging 4.2 Setup Project (1) Click Project > Setup Project. Figure 4.2-1: Setup a Project-1 (2) Execute (1) above and the following window appears, Figure 4.2-2: Setup a Project-2 MCU-AN- 500001-E-12 – Page 24 QUICK START GUIDE V1.2 Chapter 4 Coding and Debugging (3) Do the following setup in C Compiler tab. Figure 4.2-3: Set C Compiler (4) Set include path from Category. Figure 4.2-4: Set Include Path MCU-AN- 500001-E-12 – Page 25 QUICK START GUIDE V1.2 Chapter 4 Coding and Debugging (5) Set ROM/RAM Area in Linker option. Figure 4.2-5: Set ROM/RAM Area (6) Click Set Section in the above window, the following window appears, do the corresponding setting. Figure 4.2-6: Setup Section MCU-AN- 500001-E-12 – Page 26 QUICK START GUIDE V1.2 Chapter 4 Coding and Debugging (7) Select Register Bank from Category, and select a bank to set Register Bank. Figure 4.2-7: Set Output Data Format (8) Set Output Data Format as desired. Figure 4.2-8: Set Output Data Format MCU-AN- 500001-E-12 – Page 27 QUICK START GUIDE V1.2 Chapter 4 Coding and Debugging 4.3 Coding The project has been built. Now we can start to write codes in SOFTUNE. First, add basal members to project and then add other source code files. 4.3.1 Basic Members of Project Main.c This is main C program and contains the entry point of your project. Your program code will be run here in void main (void) function. mb95200.asm In this assembly file, all addresses of resource registers are defined. The functions of these registers are described in the corresponding chapters of Hardware Manual. Note that this file covers all resources of the evaluation MCU. Take care that you should only use the resources covered by your flash device! readme.txt This member file contains the version information of the template project and some other useful information. This file can be erased if not needed. Start8FX.asm This is a very important file; it contains all softwares and pre-processors adjustable for basic project settings and start-up code. This code is executed before entering the void main (void) function. vectors.c In this C file, the interrupt levels and interrupt numbers are declared and it contains the interrupt handling service by default. Corresponding interrupt control registers might be initialized as well. mb95200.h In this header file, the same as the mb95100.asm file, the bit names of the resource registers are declared and defined. They also correspond to the bit names in Hardware Manual. Note that this file covers all resources of the evaluation MCU. Take care you should only use the resources covered by your flash device! Note: These files as above can be found from websites: English version: http://www.fujitsu.com/cn/fsp/services/mcu/mb95/application_notes.html Simplified Chinese Version: http://www.fujitsu.com/cn/fss/services/mcu/mb95/application_notes.html MCU-AN- 500001-E-12 – Page 28 QUICK START GUIDE V1.2 Chapter 4 Coding and Debugging 4.3.2 Add Members to Project To add a new member to the project, right click the project name in the workspace window, and then select “Add member to project” File to add a new member. Just browse to the corresponding location and add the module as desired to the project. Figure 4.3.2-1: Add Members to Project 4.3.3 Make/Build Select Project, Make or Build, or click the sign with red ellipse as follows. Figure 4.3.3- 1: Make/Build MCU-AN- 500001-E-12 – Page 29 QUICK START GUIDE V1.2 Chapter 4 Coding and Debugging 4.4 Debugging 4.4.1 Emulation Environment Set up The following steps can be skipped if Emulation Environment has been configured (using a template project). To create a new Emulation Environment, right click and select Add Setup > New∙∙∙ from shortcut menu. Then you will be asked for a setup name. Figure 4.4.1-1: Create New Emulation Environment-1 To change the existing environment, click right key and select Change to change Setup Wizard. Figure 4.4.1-2: Create New Emulation Environment-2 (1) The Setup Wizard window appears and clicks Next. MCU-AN- 500001-E-12 – Page 30 QUICK START GUIDE V1.2 Chapter 4 Coding and Debugging Figure 4.4.1-3: Setup Wizard-1 MCU-AN- 500001-E-12 – Page 31 QUICK START GUIDE V1.2 Chapter 4 Coding and Debugging (2) Select Emulator Debugger from Debug Type and clicks Next. Figure 4.4.1-4: Setup Wizard-2 (3) Select MB2146-08 from ICE type and click Next. Figure 4.4.1-5: Setup Wizard-3 MCU-AN- 500001-E-12 – Page 32 QUICK START GUIDE V1.2 Chapter 4 Coding and Debugging (4) Select USB from Device Name and then click Next. Figure 4.4.1-6: Setup Wizard-4 (5) SOFTUNE want to know external oscillator frequency of the EVB board, Response speed optimization option is used to enable/disable clock up function, it is recommended to check the button Enable. Figure 4.4.1-7: Setup Wizard-5 MCU-AN- 500001-E-12 – Page 33 QUICK START GUIDE V1.2 Chapter 4 Coding and Debugging (6) Click Next. Figure 4.4.1-8: Setup Wizard-6 (7) Check Auto load when starting debug and click Next. Figure 4.4.1-9: Setup Wizard-7 MCU-AN- 500001-E-12 – Page 34 QUICK START GUIDE V1.2 Chapter 4 Coding and Debugging (8) Check the button Select All and click Next. Figure 4.4.1-10: Setup Wizard-8 (9) Click Finish. Figure 4.4.1-11: Setup Wizard-9 MCU-AN- 500001-E-12 – Page 35 QUICK START GUIDE V1.2 Chapter 4 Coding and Debugging 4.4.2 Start Debug Select Debug > Start debug to start debugging. Figure 4.4.2-1: Start Debug 4.4.3 Warning and Error If no warning message occurs, it means “CR is OK, Processing is being done normally”. If the following window occurs, it means “NVR is broken and CR trimming has passed”. Click OK and continue to debug. Figure 4.4.3- 1: CR is OK If the following window occurs, it means “NVR is broken and CR trimming has failed”. Click OK and reset BGM Adaptor and MCU. Figure 4.4.3-2: NVR is broken and CR trimming has failed MCU-AN- 500001-E-12 – Page 36 QUICK START GUIDE V1.2 Chapter 4 Coding and Debugging If the following window occurs, it means “CR trimming is in process”. Click Yes to continue to wait or click No to exit from debug mode. Figure 4.4.3-3: CR Trimming is in Process 4.4.4 Debug Window When all above are OK, the following windows appear. Now, debug starts. Figure 4.4.4-1: Debug Window-1 Figure 4.4.4-2: Debug Window-2 MCU-AN- 500001-E-12 – Page 37 QUICK START GUIDE V1.2 Chapter 4 Coding and Debugging 4.4.5 How to Disable Watchdog Function Watchdog function is enabled by default. If it is not in use, please disable it as follows. (1) Click Setup > Debug environment > Debug Environment. Figure 4.4.5-1: Disable Watchdog Function-1 (2) Check the button Disable to disable Watchdog function. Figure 4.4.5-2: Disable Watchdog Function-2 MCU-AN- 500001-E-12 – Page 38 QUICK START GUIDE V1.2 Chapter 5 Programming 5 Programming The follows are three recommended plans for programming. Programming using SOFTUNE. Delete all break points before programming. Click Debug > Start debug, and SOFTUNE starts uploading flash memory as follows. Figure 5-1: Upload Flash Memory Click Debug > Run > Go, and SOFTUNE starts programming flash memory as follows. Figure 5-2: Download Flash Memory Third party programmer (Xeltek solution is available on M/April) The programmer of third party programmer supplier, they have dedicated softwares and dedicated hardwares for themselves. MCU-AN- 500001-E-12 – Page 39 QUICK START GUIDE V1.2 Chapter 5 Programming Programming using dedicated softwares (TBD) The dedicated software is only intended for programming, the dedicated hardware is used as Evaluation Board of Fujitsu. MCU-AN- 500001-E-12 – Page 40 QUICK START GUIDE V1.2 Chapter 6 Additional Information 6 Additional Information For more Information on FUJITSU Semiconductor products, visit the following websites: English version: http://www.fujitsu.com/cn/fsp/services/mcu/mb95/application_notes.html Simplified Chinese Version: http://www.fujitsu.com/cn/fss/services/mcu/mb95/application_notes.html MCU-AN- 500001-E-12 – Page 41 QUICK START GUIDE V1.2 Chapter 7 Appendix 7 Appendix 7.1 Index of Tables Table 2.1.1-1: Functions of BGM Adaptor .............................................................................. 6 Table 2.2.2-2: Power Supply Selection ............................................................................... 13 Table 2.2.3-1: Clock Settings ............................................................................................... 14 Table 2.2.4-2: Peripheral Modules ...................................................................................... 15 7.2 Index of Figures Figure 2.1-1: BGM Adaptor .................................................................................................... 6 Figure 2.1.3-2: Installer- 1 ...................................................................................................... 8 Figure 2.1.3-3: Installer- 2 ...................................................................................................... 8 Figure 2.1.3-4: Wizard Searches- 3........................................................................................ 9 Figure 2.1.3-5: Found New Hardware Wizard- 4 .................................................................... 9 Figure 2.1.3-6: Finish- 5 ....................................................................................................... 10 Figure 2.2-1: Evaluation Board............................................................................................. 11 Figure 2.2.1-1: Overview of Evaluation Board ...................................................................... 12 Figure 2.2.2-1: Power Module .............................................................................................. 13 Table 2.2.2-2: Power Supply Selection ................................................................................ 13 Figure 2.2.5-1: Jumper of RST Pin ....................................................................................... 16 Figure 2.2.6-1: BGM Adaptor Interface ................................................................................ 17 Table 2.2.6-2: CN1 ............................................................................................................... 17 Figure 2.3.1-1: Emulation System Setup .............................................................................. 18 Figure 2.3.2-1: BGM Adapter Plug in USB Cable ................................................................. 18 Figure 2.3.2-2: Power on Evaluation Board .......................................................................... 18 Figure 3.1- 1: SOFTUNE Version ......................................................................................... 19 Figure 3.2-1: Set up of SOFTUNE-1 .................................................................................... 20 Figure 3.2-2: Set up of SOFTUNE-2 .................................................................................... 20 Figure 3.2-3: Setup of SOFTUNE-3 ..................................................................................... 21 Figure 3.2-4: Setup of SOFTUNE-4 ..................................................................................... 21 Figure 4.1-1: Set Up a New Project-1................................................................................... 22 Figure 4.1-2: Set Up a New Project-2................................................................................... 23 Figure 4.2-1: Setup a Project-1 ............................................................................................ 24 Figure 4.2-2: Setup a Project-2 ............................................................................................ 24 Figure 4.2-3: Set C Compiler ................................................................................................ 25 Figure 4.2-4: Set Include Path.............................................................................................. 25 Figure 4.2-5: Set ROM/RAM Area ........................................................................................ 26 MCU-AN- 500001-E-12 – Page 42 QUICK START GUIDE V1.2 Chapter 7 Appendix Figure 4.2-6: Setup Section.................................................................................................. 26 Figure 4.2-7: Set Output Data Format .................................................................................. 27 Figure 4.2-8: Set Output Data Format .................................................................................. 27 Figure 4.3.2-1: Add Members to Project ............................................................................... 29 Figure 4.3.3- 1: Make/Build .................................................................................................. 29 Figure 4.4.1-1: Create New Emulation Environment-1 ......................................................... 30 Figure 4.4.1-2: Create New Emulation Environment-2 ......................................................... 30 Figure 4.4.1-3: Setup Wizard-1 ............................................................................................ 31 Figure 4.4.1-4: Setup Wizard-2 ............................................................................................ 32 Figure 4.4.1-5: Setup Wizard-3 ............................................................................................ 32 Figure 4.4.1-6: Setup Wizard-4 ............................................................................................ 33 Figure 4.4.1-7: Setup Wizard-5 ............................................................................................ 33 Figure 4.4.1-8: Setup Wizard-6 ............................................................................................ 34 Figure 4.4.1-9: Setup Wizard-7 ............................................................................................ 34 Figure 4.4.1-10: Setup Wizard-8 .......................................................................................... 35 Figure 4.4.1-11: Setup Wizard-9 .......................................................................................... 35 Figure 4.4.2-1: Start Debug .................................................................................................. 36 Figure 4.4.3- 1: CR is OK ..................................................................................................... 36 Figure 4.4.3-2: NVR is broken and CR trimming has failed .................................................. 36 Figure 4.4.3-3: CR Trimming is in Process ........................................................................... 37 Figure 4.4.4-1: Debug Window-1 ......................................................................................... 37 Figure 4.4.4-2: Debug Window-2 ......................................................................................... 37 Figure 4.4.5-1: Disable Watchdog Function-1 ...................................................................... 38 Figure 4.4.5-2: Disable Watchdog Function-2 ...................................................................... 38 Figure 5-1: Upload Flash Memory ........................................................................................ 39 Figure 5-2: Download Flash Memory ................................................................................... 39 MCU-AN- 500001-E-12 – Page 43