F 2 MC-8L FAMILY 8-BIT MICROCONTROLLER MB89201 SERIES GETTING STARTED DEV-MB89N202-APP1 OPERATION MANUAL

Similar documents
F 2 MC-8FX Family. 8-bit Microcontroller. MB95200 Series

F²MC-8L FAMILY MB89201 SERIES FLASH PROGRAMMING 8-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

MB95260H/MB95270H. MB95280H Series. MB95260H Series/MB95270H Series/

Manual of Board ET-PIC STAMP 18F8722-K22 ET-PIC STAMP 18F8722-K22

Programming in the MAXQ environment

SKP16C26 Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

Development Tools. 8-Bit Development Tools. Development Tools. AVR Development Tools

)8-,768'HY.LW 2YHUYLHZ. )XMLWVX0LNURHOHNWURQLN*PE+ Am Siebenstein Dreieich-Buchschlag, Germany

Application Note. Startup DevKit16. History 19 th June 00 TKa V1.0 started 20 th June 00 TKa V1.1 Some minor text corrections

CMS-8GP32. A Motorola MC68HC908GP32 Microcontroller Board. xiom anufacturing

P89V51RD2 Development Board May 2010

8051 General Purpose Board

EPM900 - Overview. Features. Technical Data

M16C/62P QSK QSK62P Plus Tutorial 1. Software Development Process using HEW4

EMULATOR SYSTEM MB

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

Quick-Start Guide. BNS Solutions. QSK62P Plus

AVR Development Board

CEIBO FE-5131A Development System

ET-PIC 24 WEB-V1. o Central Processing Unit (CPU) o System. o nanowatt Power Managed Modes. o Analog Features

AC/DC. Adapter. Serial. Adapter. Figure 1. Hardware Setup

User Manual For CP-JR ARM7 USB-LPC2148 / EXP

AT89S8252 Development Board V1.0. Manual

Evaluation board for NXP LPC2103. User Guide. Preliminary Version updated 27 th Aug TechToys Company All Rights Reserved

F²MC-8FX FAMILY MB95200H/210H SERIES SOP8/SOP16/SOP20 PGM ADAPTOR 8-BIT MICROCONTROLLER APPLICATION NOTE

High-Performance 32-bit

F2MC-8FX EEPROM Library

MegaAVR-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

ET-BASE AVR ATmega64/128

CoiNel Technology Solutions LLP. LPC2148 ARTIST Instruction Manual LPC2148 ARTIST. Instruction manual. Revision 1

R8C/Tiny. StarterKit Plus SKP8CMINI-15, SKP8CMINI-17. Clock Stop Detect

Locktronics PICmicro getting started guide

Old Company Name in Catalogs and Other Documents

F²MC-8FX FAMILY MB95100 SERIES EMULATOR HW SETUP 8-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

Evaluation & Development Kit for Freescale PowerPC MPC5517 Microcontroller

HandsOn Technology -- HT-MC-02 MODEL: HT-MC-02

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

C8051F00x/01x-DK C8051F00X/01X DEVELOPMENT KIT USER S GUIDE. 1. Kit Contents. 2. Hardware Setup using a USB Debug Adapter

F²MC-8FX FAMILY MB951XX SERIES SYNCHRONOUS FLASH PROGRAMMING 8-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

eip-24/100 Embedded TCP/IP 10/100-BaseT Network Module Features Description Applications

LPC2148 DEV BOARD. User Manual.

1. Opening the sample code workspace Loading the selected sample code project and Opening sample code source files... 5

AC/DC Adapter. Figure 1. Hardware Setup

Also available for purchase separately are socket daughter boards for the QFN-11 and QFN-10 packages.

BIG8051. Development system. User manual

Old Company Name in Catalogs and Other Documents

HOW TO MAKE PRPGRAMMING ON TARGET BOARD

Figure 1-1 ISPAVRU1 application

SECURE DIGITAL ACCESS SYSTEM USING IBUTTON

Fujitsu Microelectronics Europe User Guide FMEMCU-UG MB91460 SERIES EVALUATION BOARD SK-91F467D-208PFV USER GUIDE

The Atmel ATmega168A Microcontroller

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

STK User Guide

CPU369-Module Documentation. Fujitsu Microelectronics Europe GmbH Am Siebenstein Dreieich-Buchschlag, Germany

Intel Galileo gen 2 Board

Old Company Name in Catalogs and Other Documents

Chapter 12. Microcontroller Application Development Tools

LPC1788 Mio Board. The functional details of the board are as follows-

AVR Peripheral Board. Campus Component Pvt. Ltd.

PART 1 : MR Introduction 2. Features. PART 2 : CPU Board 1. Placement Diagram (Silkscreen) 2. Circuit Diagram 3.

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

AC/DC. Adapter. Ribbon. Cable Serial. Serial. Adapter. Figure 1. Hardware Setup using an EC2 Serial Adapter

PART 1 : MR-162. PART 2 : CPU Board. PART 3 : Software Tools. PART 4 : Compile and Download. 1. Introduction 2. Features

FUJITSU FLASH MCU Programmer for F 2 MC-8FX Specifications

Programmer. User Guide

F 2 MC TM -16 FAMILY

How to Link Two Project Files Using Softune Workbench

AN1752 APPLICATION NOTE

In the HEW, open a new project by selecting New workspace from the main menu.

SKP16C62P Tutorial 2 Creating A New Project Using TM. Renesas Technology America Inc.

FM3. MB9B500 Series 32-BIT MICROCONTROLLER FSS MB9BF506R EV-BOARD USER MANUAL APPLICATION NOTE FUJITSU SEMICONDUCTOR (SHANGHAI) LIMITED

ez80f91 Modular Development Kit

EMULATOR SETUP MB BIT COMPACT-ICE

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

M16C R8C FoUSB/UART Debugger. User s Manual REJ10J

M16C R8C FoUSB/UART Debugger. User Manual REJ10J

The industrial technology is rapidly moving towards ARM based solutions. Keeping this in mind, we are providing a Embedded ARM Training Suite.

Z8 Encore! XP/Z8 Encore! Development Kits

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

XC866 Getting Started on EasyKit & Toolkits

STK User Guide

S3F8S5A Development Kit

Debugging in AVR32 Studio

Quick Start Guide TWR-S08PT60. 5-Volt S08P Family of 8-bit MCUs for Industrial and Appliance Applications TOWER SYSTEM

FR Family FR81S Series, Emulation System

A Simple Console Application for Z8 Encore! XP MCUs

F2MC-8FX EEPROM LIBRARY

CEIBO FE-51RD2 Development System

TK-78K0/KF2 Evaluation kit Tutorial Guide

PART 1 : MR Introduction 2. Features. PART 2 : CPU Board 1. Placement Diagram (Silkscreen) 2. Circuit Diagram 3.

A pplications Engineering. Powerful Processors Easy to Use SKP16C26. User's M anual. Rev. 1.0 December w w w.renesas.com

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

STR710-EVAL. Evaluation Board for STR71xF. Main components. Description. Features. STR710-EVAL board

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Emulator Setup Instructions for MB91360

UM QN908x Quick Start. Document information. QN908x, Quick Start, Development Kit, QN9080 DK, QN9080 Development Kit

Lab 1 Introduction to Microcontroller

The MAXQ TM Family of High Performance Microcontrollers

8051 Microcontroller

FUJITSU FLASH MCU Programmer for F 2 MC-16LX Specifications

Transcription:

Electronics Source Co., L td. Operation Manual F 2 MC-8L FAMILY 8-BIT MICROCONTROLLER MB89201 SERIES GETTING STARTED DEV-MB89N202-APP1 OPERATION MANUAL

Content Introduction 3 1. Chapter 1 Hardware 1.1 Features 4 1.2 Overview of DEV-MB89N202-APP1 Evaluation Board 5 1.3 Connection and setting 6 1.4 Hardware specifications 7 2. Chapter 2 Fujitsu Flash Software Programmer 2.1 Serial Programming Setup 8 2.2 Fujitsu Flash software Programmer setup 9 2.3 Connect DEV-MB89N202-APP1 10 3. Chapter 3 Fujitsu Softune Workbench IDE 3.1 Softune Workbench setup 15 3.2 Getting start with Softune Workbench 18 3.3 How to create new project 26 2

Introduction The evaluation board, DEV-MB89N202-APP1 is developed as basic design of Fujitsu s Flash Microcontroller, MB89F202/MB89N202. This evaluation board is specifically aimed at the practical design engineers, technicians, researchers and also include students and amateurs who interest to begin or change to develop practical application with Fujitsu s Flash Microcontroller, MB89F202/MB89N202. The components which be used in this board are most common in electronics market, the circuit shows how to do in-circuit programming and basic interfacing of external peripherals and components such as LED 7-Segment display, EEPROM, key switch and buzzer. In this operation manual divided into three chapters. The first chapter shows the overview of DEV-MB89N202-APP1 hardware, how to setting, duty of main components and something must to be care in operation. The chapter two, show the operation with serial programming circuit, how to setup and use Fujitsu Flash Programmer software to communicate DEV-MB89N202-APP1 with PC via COM-PORT for download machine code into internal Flash Program Memory. And the last chapter emphasis to explains how to use Fujitsu Softune Workbench step by step. All of explainations try to do with sample operation pictures for easy to understand. Throughout the manual emphasis in explaination the use of DEV-MB89N202-APP1 and software tools but no in-depth of software programming. Please also refer to the application notes which prepare to demonstrate this evaluation board for detail information. 3

Chapter 1 Hardware 1.1 Features On board MCU : MB89F202/MB89N202-16 Kbytes Flash Program Memory - MB89N202 : 1000 Program/Erase cycles - MB89F202 : 10,000 Program/Erase cycles - 512 byte RAM - 10-bit ADC - UART - 8/16 bit capture timer/counter Main Clock Frequency 8 MHz In-Circuit Serial Programming via RS232 Communication. 4 digits 0.4 inch LED 7 Segments Display 3 LEDs Display Serial EEPROM : 24C01 4 key inputs 2 channels thermister input 2 channels NO/NC relay contacts 10A/120V Buzzer Basic sample software projects for various applications. Thermistor (Accessories) 4

1.2 Overview of DEV-MB89N202-APP1 Evaluation Board The DEV-MB89N202-APP1 evalution board shows the sample detail of Fujitsu Flash Microcontroller MB89F202/MB89N202 practical application, provide most common user interface such as 4-digit green LED 7-Segment display, three LED and four key input. These features are advantage to write and debug basic software. 5 SW1: EEPROM Resonator Fujitsu MCU Display Reset Button 24C01 8MHz MB89N202 Panel CN5: Thermister Input1 CN4: Thermister Input2 CN3: Relay Contact1 CN2: Relay Contact2 CN1: Power Connection CN5 RS232: Serial Communication Connection Serial Programming Circuit Mainboard Buzzer SL1: Program/Run Selection LED1 LED2 LED3 Key1 Key2 Key3 Key4 Display Panel

1.3 Connection and Setting Power connection DEV-MB89N202-APP1 is built-in rectifier, filter and 5-V regulator circuit so can be applied both +12V dc power supply or 9V ac power source such as transformer via CN1. Users don t worry about the polarity of power cord but should care about the voltage level to prevent electrical damaged. Serial Programming Circuit The main advantage of MB89F202/MB89N202 is can be programmed by asynchronous serial programming. Because of programming process use only TXD, RXD and high voltage signal so only MAX232 and a few passive device are needed for this circuit. 6 Program/Run Selection Slider switch SL1 is be used for mode selection between programming and running mode. The setup are shown in pictures below. Run Program Note : After selected the position of SL1, Reset button:sw1 must be pressed to enter programming mode or running mode.

1.4 Hardware specifications 7 L = 91mm W = 75mm H = 40mm **Note : The pictures are above are not actual size. Recommended Operation Condition 1. Power Supply Input Voltage +12 VDC, 9VAC 2. Maximum Thermistor Input Voltage 5V 3. Relay Contact Rating 10A/120V

Chapter 2 Fujitsu Flash Software Programmer 2.1 Serial Programming Hardware Setup 8 Reset Button Program/Run Selector Serial Port (RS232) Power Connector RS232 Connector Procedure to prepare DEV-MB89N202-APP1 for in-circuit programming. 1. Connect power supply to CN1 of evaluation board. 2. Connect serial port between serial port of computer with RS232 Connector of evaluation board. 3. Set slide switch to P Position. 4. Press Reset Button to enter serial programming mode.

2.2 Fujitsu Flash Software Programmer setup Run Setup.exe of Fujitsu MCU Programmer V 5.0.02 9 Click on Select destination folder of the program, and click next. The setup is progress

2.1 Connect DEV-MB89N202-APP1 Run Fujitsu MCU Programmer Version 5.0.02 from Start menu. Start>Programs>MCU Programmer 10 The programmer will show all available COM port on computer. Available COM port Select F2MC8L Asynchronous and then click Connect button.

11 COM port is current used If DEV-MB89N202-APP1 is connected, the programmer will show ASYN adapter found at COM port which current connected. For example as above, COM1 is connected to the board. Wait a moment, The software will shows the dialogbox as below. Then click on Advanced Mode button.

Select file type, for example as below, select Motorola S format. 12 And then Click Load File/Project button.

13 The Programmer will shows file dialogbox as below, the target.mhx files are normally kept in folder ABS of project file groups. For example as below select UART.mhx

Click Ok button to start programming process. 14

Chapter 3 Fujitsu Softune Workbench IDE 3.1 Softune Workbench IDE setup Run Setup.exe of Softune Workbench V30L29 15 Click OK Click on Browse to change location of Softune Click on Next

16 Select require component, if your computer has enough resource, recommend to select all component. Click on checkbox to select component Click on Next Setup is progress

Click on Finish 17

3.2 Getting start with Softune Workbench Run Softune Workbench V30L29 from Start menu. Start>Programs>Softune V3>FFMC-8L-Family-Softune-Workbench And wait a moment, below logo is shown. 18 Overviews of Sotune Workbench IDE. Menu Bar Toolbar Build All Icon Project Window Editor Output Window

Open existing project 19 1. Select Menu File 2. Click on Open Workspace 3. Click on to select Workspace file 4. Click on

And then Softune Workbench will shows the selected project. 20 Build All Project Window Editor Editor window adjustment. 1. Click right on editor window 2. Select Customize

21 3. Click on to select/deselect 4. Click on to change Font Change editor s font by using menu. 1. Select Menu View 2. Select to change Font

To change project s configuration. 1. Select menu Project 22 2. Select to setup Project To Make sure that one of register bank must be selected, to prevent data memory overlapping. 3. Select Linker 4. Select Bank0

To enable absolute module converter. 23 5. Select Converter 6. Check 7. Select type of machine code file format 8. Click on Project simulation procedure. 1. Select Debug menu 2. Click on to start debugger

24 3. Click on Next to set debug. 4. Select Simulator Debugger 5. Click on Next

25 6. Select Menu Debug 7. Select Load target file

3.3 How to create new project 26 1. Click on menu File 2. Select New 3. Click on 4. Click on OK

27 4. Select Project 5. Click on 6. select MCU Family 7. Select Target MCU ** 8. Name the project and Workspace 9. Select project file group location 10. Click on ** Note : If MB89N202 or MB89F202 not appear on list box, can be absolutely replaced by MB89P935A, because they are same structure.

After finished to create new project, Softune will create project folder name as project name at selected location, and no source code file inside the project folder. The shortest way is to create source code file for the project is to copy the sample source code files from sample project folder and modify them. 28 1. Find project folder 2. Open project folder

29 3. Find sample project folder 4. Copy source file folder to new project folder

30 5. Click right on Source Files 6. Select Add Member to folder 7. Add whole source code file in folder 9. Click on menu Project 10. Click on Setup Project 8. Source Code files are included to project

31 11. Click on MCU 12. Re-check MCU 13. Click on C Compiler 14. Add C Compiler option to accept // symbol

15. Click on Linker 32 16. Click on Disposition/Connection 17. Click on Set Section

33 18. Select ROM Section 19. Select Section Name 20. Select type of section 21. Click on to Two sections must be added 17. Specify I/O Section 18. Click on to add section 24. Click on to finish setup section

34 25. Select Register Bank 26. Select Bank 0 27. Click on Converter 28. Click on to enable absolute module converter 29. Select hex file format type 30. Click on to finish setup project

35 31. Click on to Compile new project Hex file have been created If no error, It s complete to create new project