background image

Easy Kit FMCDC-MB95260H-EK-01 V1.2 

Chapter 5 5BDevelopment Platform Quick Start 

5  Development Platform Quick Start  

5.1  Tools Setup Sequence 

Start the debugging system in the following sequence: 

9

  Select mode switch on Easy EV-Board to debug mode; 

9

  Connect Easy Kit to PC USB interface; 

9

  The Easy Kit will be recognized as “BGM Adaptor (MB2146-08)” in Windows. 

 

5.2  Open Project and Start Debug 

Users can start debug from SOFTUNE in the following sequence. Here take IO_LED project 
for example. 

9

  Start the SOFTUNE  by selecting 

Program

 > 

SOFTUNE V3

FFMC-8L Family

 

SOFTUNE Workbench

 from 

Start 

Menu in Windows; 

9

 Click 

Open Workspace

 from 

File

 Menu in SOFTUNE; 

9

 Select 

IO_LED.wsp

 in 

Open Space

 window; 

9

 Click 

Start Debug

 from 

Debug

 Menu.  

If the entire procedure goes right, a debug will start normally. 

 

5.3  Operation Precautions 

9

  All pins of MB95200 Series MCU are directly connected to Easy EV-board 20 pin 

interface. If the user wants to connect these pins out, it’s recommended to add terminal 
resistors in series with the pins. 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MCU-AN-500059-E-12 – Page 18 

Summary of Contents for FMCDC-MB95260H-EK-01

Page 1: ...Fujitsu Semiconductor Shanghai Co Ltd Setup Guide MCU AN 500059 E 12 F MC 8FX FAMILY 8 BIT MICROCONTROLLER MB95200 SERIES EASY KIT FMCDC MB95260H EK 01 SETUP GUIDE ...

Page 2: ... contents of this manual may not be transferred or copied without the express permission of Fujitsu 4 The products contained in this document are not intended for use with equipment which require extremely high reliability such as aerospace equipment undersea repeaters nuclear control systems or medical equipment for life support 5 Some of the products described in this manual may be strategic mat...

Page 3: ...Easy Kit Interface Description 7 2 4 Easy Kit USB Configuration 8 2 5 Easy Kit Mode Setting 11 3 EASY KIT SCHEMATIC 12 4 SAMPLE CODE MANUAL 13 4 1 Topic List 13 4 2 Project Structure 14 4 3 Source Code File Description 15 4 3 1 Header Files 15 4 3 2 Startup asm File 16 4 3 3 Vectors c File 17 4 3 4 Main c File 17 5 DEVELOPMENT PLATFORM QUICK START 18 5 1 Tools Setup Sequence 18 5 2 Open Project an...

Page 4: ...H EK 01 1PCS 9 Quick Start Guide 1PCS User could download SOFTUNE and MB95200 Sample Code from the following address http www fujitsu com cn fss services mcu tools html An USB extension cable A plug to A jack is optional if direct USB connection to PC is inconvenient 1 2 System Block To setup a debugging system connect PC and an Easy Kit together as shown below Figure 1 1 System Block 1 3 Handling...

Page 5: ...tc of each device relation for the operation voltage and frequency of MCU of operation Compact development environment a light and small Easy Kit Since a monitor program is performed in exclusive memory space it does not consume user memory space Continuation execution step execution and break correspondence It connects with a host computer by the USB interface 1 5 Hardware Setup In the hardware s...

Page 6: ...s 1 Support MB95200 Series MCU MCU MAX machine clock 16 25 MHz MCU power voltage 2 4 1 2 V 5 5 1 V 2 Break pointer 256 software breakpoints 3 USB interface to PC SOFTUNE Compatible to USB protocol version 1 1 4 1 Line UART interface to the MB95200 Series MCU The Baud rate is 62 500 bps 5 Support the MCU flash programming for engineering development Flash operation at MCU rated voltage The program ...

Page 7: ... pin 3 GND Target MCU Vss 4 RST Target MCU reset input 5 5V Power supply to Easy EV Board All the 20 pins of the MCU on Easy EV Board are directly connected to the Easy EV Board interface Please check the table below Pin Number Pin Name Pin Number Pin Name 1 X0 PF0 20 12 EC0 DBG 2 X1 PF1 19 P07 INT07 3 Vss 18 P06 INT06 TO01 4 X1A PG2 17 P05 INT05 AN05 TO00 HCLK2 5 X0A PG1 16 P04 INT04 AN04 SIN HCL...

Page 8: ...to a PC USB interface If the connection is right the following window will pop up Follow the instructions displayed and then click Next Figure 2 1 Install Easy Kit in Windows 1 Select Install from a list or specific location Advanced then click Next Figure 2 2 Install Easy Kit in Windows 2 MCU AN 500059 E 12 Page 8 ...

Page 9: ...sy Kit Manual Select Drivers from the folder where SOFTUNE is installed click Next Figure 2 3 Install Easy Kit in Windows 3 Select BGMA MB2146 08 as displayed below and then click Next Figure 2 4 Install Easy Kit in Windows 4 MCU AN 500059 E 12 Page 9 ...

Page 10: ...omplete the installation Figure 2 5 Install Easy Kit in Windows 5 Windows will install the driver automatically Click Finish after the driver has completed the installation normally Then users can find the Easy Kit is recognized as BGM Adaptor MB2146 08 in Windows system Figure 2 6 Easy Kit is installed in Windows MCU AN 500059 E 12 Page 10 ...

Page 11: ...om Top View Figure 2 8 Mode Switch from Top View Set mode switch on Easy Kit to debug mode as Figure 2 5 3 In this mode after connecting the Easy Kit to USB interface user could start debug in the SOFTUNE on PC Figure 2 9 Easy Kit Debug Mode Setting Set mode switch on Easy Kit to free run mode as Figure 2 5 4 In this mode the target MCU is in free run mode after connecting Easy Kit to USB interfac...

Page 12: ...Easy Kit FMCDC MB95260H EK 01 V1 2 Chapter 3 3BEasy Kit Schematic 3 Easy Kit Schematic The Easy EV Board schematic is shown as below Figure 3 1 Easy EV board Schematic MCU AN 500059 E 12 Page 12 ...

Page 13: ...4 4BSample Code Manual 4 Sample Code Manual 4 1 Topic List User could access the following address to get the SOFTUNE IDE and sample code for MB95200 Series Easy Kit http www fujitsu com cn fss services mcu tools html MCU AN 500059 E 12 Page 13 ...

Page 14: ...ple code is organized as Figure 4 1 in Windows system Figure 4 1 Easy Kit Demo Project Structure It s recommended that user saves all the source codes in one source code folder In Easy Kit Demo project folder scr is used There are six files used in this project They are shown as below Figure 4 2 Source Code Files MCU AN 500059 E 12 Page 14 ...

Page 15: ...r files in this window Figure 4 3 SOFTUNE Version 4 3 1 Header Files The MB95200 h and the _f2mc8fx h are header files including MB95200 Series MCU I O registers definition Here take PDR0 for example In MB95200 h PDR0 is defined as below ifdef __IO_DEFINE pragma segment IO IO_PDR0 locate 0x0 endif typedef union __BYTE byte struct __BYTE P00 1 __BYTE P01 1 __BYTE P02 1 __BYTE P03 1 __BYTE P04 1 __B...

Page 16: ...0 define PDR0 IO_PDR0 byte define PDR0_P00 IO_PDR0 bit P00 define PDR0_P01 IO_PDR0 bit P01 define PDR0_P02 IO_PDR0 bit P02 define PDR0_P03 IO_PDR0 bit P03 define PDR0_P04 IO_PDR0 bit P04 define PDR0_P05 IO_PDR0 bit P05 define PDR0_P06 IO_PDR0 bit P06 define PDR0_P07 IO_PDR0 bit P07 4 3 2 Startup asm File The Startup asm is the MB95200 Series MCU initialization file including stack settings registe...

Page 17: ...4 IRQ1 external interrupt ch 1 ch 5 IRQ2 external interrupt ch 2 ch 6 IRQ3 external interrupt ch 3 ch 7 To ILR0 0xFC IRQ0 external interrupt ch 0 ch 4 IRQ1 external interrupt ch 1 ch 5 IRQ2 external interrupt ch 2 ch 6 IRQ3 external interrupt ch 3 ch 7 And declare the interrupt function as in Vectors c below __interrupt void external_int00 void pragma intvect external_int00 0 IRQ0 external interru...

Page 18: ...NE in the following sequence Here take IO_LED project for example 9 Start the SOFTUNE by selecting Program SOFTUNE V3 FFMC 8L Family SOFTUNE Workbench from Start Menu in Windows 9 Click Open Workspace from File Menu in SOFTUNE 9 Select IO_LED wsp in Open Space window 9 Click Start Debug from Debug Menu If the entire procedure goes right a debug will start normally 5 3 Operation Precautions 9 All p...

Page 19: ...For more Information on FUJITSU Semiconductor products visit the following websites English version address http www fujitsu com cn fsp services mcu mb95 application_notes html Chinese version address http www fujitsu com cn fss services mcu mb95 application_notes html MCU AN 500059 E 12 Page 19 ...

Page 20: ...9 Figure 2 4 Install Easy Kit in Windows 4 9 Figure 2 5 Install Easy Kit in Windows 5 10 Figure 2 6 Easy Kit is installed in Windows 10 Figure 2 7 Mode Switch from Top View 11 Figure 2 8 Mode Switch from Top View 11 Figure 2 9 Easy Kit Debug Mode Setting 11 Figure 2 10 Easy Kit Free Run Mode Setting 11 Figure 3 1 Easy EV board Schematic 12 Figure 4 1 Easy Kit Demo Project Structure 14 Figure 4 2 S...

Reviews: