Home

F²MC-8L/16LX/FR FAMILY

image

Contents

1. 8 Figure 4 2 Basic Circuit for Single Flash MCU W WWW Wan 9 Figure 5 1 Select MCU Type and Hex 10 Figure 5 2 Click Full Operation oooooW WWW mna 11 Figure 5 3 Indicate PrOCOSS 153 moom oo enana elsa au GUT 12 Figure 5 4 Open Demo Wo mmm 12 SA 8125 D 0 KON on 13 FIGUKE 5 6 Begin to RO ga Naa kana Bir ja V alu 13 Figure 5 7 Watchdog Setting Menu aaiaaaaaaaaaaaaaaaaaaaaaaananaaaaanaaaaanaaaaananaaanaaananaaananaaaaaaaaa 14 Figure 5 8 Watehdog Setting 94 esa san aru RR R 14 Figure 6 1 Error about MCU Selection ooo W oom eene 15 Figure 6 2 Error about Connecting Order by Using USB Programmer 15 Figure 6 3 Error about Connecting by Using SOFT UNE 15 MCU AN 500017 11 Page 17
2. MB95F222K MB95F282K MB95F222H pug MB95F282H MB95F220H 279 MB95F223K MB95F280H Flash MB95F223H MB95F283H 95 284 MB95F284H MB95F332K MB95F332H Dual MB95F333K Flash MB95F330H MB95F333H MB95F334K MB95F334H MCU AN 500017 11 Page 7 How to Make Programming Interface on Target Board V1 1 Chapter 4 Hardware Design 4 Hardware Design This chapter introduces programming steps using either MB95200 series USB programmer or F2MC 8L 8FX SOFTUNE Workbench V30L31 As Chapter 3 shows that the MCUs have two types the debug circuit have any differences This chapter will give you the different types MCU programming circuit 41 Single Flash MCU Programming Circuit The follows figure shows the circuit diagram of the in system programming interface To design this in system programmer interface we need four pins UVCC_EV GND RSTIN and DBG RST_OUT if necessary please add it Adapter interface Target Board Figure 4 1 Basic Circuit for Single Flash MCU Components Recommendation D1 VF lt 0 3V when IF 1mA E g LL103A 155294 Following list shows the functions of the interface connector 1 J1 is a 10 pins connector which is the interface of this circuit 2 The write voltage VCC 4 5V to 5 5V is supplied from the user system UVCC_EV and DBG pin timing controls the PGM mode entry 3 Pin2 of the connector used to connect the GND 4 Programmer provides 10V directly to RSTX pin du
3. Interface on Target Board V1 1 Chapter 2 Application Environment 2 3 USB Programmer The MB95200 series USB programmer is as below picture It can be downloaded from Web http www fujitsu com cn fss services mcu tools htm JZ x us MB95200series USB Programmer Target Microcontroller 4 v Hex File 0 LED mh Open Command Full Operation E B P R MB95200ser ies Erase Blank Check Frogram USB Programmer FUJITSU Read amp Compare Copy J FLASH INFOMATION Start Address OOC000H End Address Flash Memory size 0040003 version Infomation Help Figure 2 3 MB95200 Series USB Programmer MCU AN 500017 E 11 Page 6 How to Make Debug Interface on Target Board V1 1 FUJITSU Chapter 3 MCU Products 3 MCU Products This chapter introduces MCU product which is suit to this document This in circuit programming circuit have some differences between single flash MCU and dual flash MCU This part will list you the two types of MCU as follow able 3 1 Products Flash Flash Chip list Type Type T Chip list MB95F202K MB95F262K 95 202 95 262 Single Dual MB95F200H Flash MB95F203K MB95F260H Flash MB95F263K MB95F203H MB95F263H MB95F204K MB95F264K MB95F204H MB95F264H MB95F212K sinis MB95F212H MB95F272H MB95F210H Flash MB95F213K MB95F270H Flash MB95F273K MB95F213H MB95F273H MB95F214K MB95F214H MB95F274H
4. Target Board V1 1 Chapter 1 Introduction 1 Introduction Programming to target board is a very important step for project design This document shows you how to make programming to target board In this part you can realize the programming function process The programming interface in this document could be used as an in circuit debug and in circuit programming tool MCU AN 500017 E 11 Page 4 co How to Make Debug Interface on Target Board V1 1 FUJITSU Chapter 2 Application Environment 2 Application Environment This chapter introduces the application environment of MB95200H 210H SOP20 PGM adaptor 21 Programming Tool The debug tool is BGMA BGM Adaptor the type of it is MB2146 08 E as below picture It can be gotten from MB95200 MCU Starter Kit PN MB2146 410 01 E Figure 2 1 BGM Adaptor 2 2 SOFTUNE SOFTUNE is used to program and debug as software development environment The version of it is F2MC 8L 8FX SOFTUNE Workbench V30L31 as below picture It can be gotten from MB95200 MCU Starter Kit PN MB2146 410 01 E or downloaded from website http www fujitsu com cn fss services mcu tools html Version information Xx FUJITSU Microcontroll F2MC BL 8FX Family SOFTUNE Workbench 30L91 ALL RIGHTS RESERVED COPYRIGHT C FUJITSU LIMITED 1997 LICENCED MATERIAL PROGRAM PROPERTY OF FUJITSU LIMITED s Figure 2 2 SOFTUNE Version MCU AN 500017 E 11 Page 5 How to Make Programming
5. 1 1 Hardware Connection 1 Connect BGM adapter with computer by USB then connect it with target board Adapter interface PC USB connector 2 Power up MCU on the target board Please note user must give the power supply to the target board after connecting target board with BGM adaptor 5 1 2 Programming Step 1 Open MB95200 series USB programmer 2 Select MCU type 3 Select mhx file at the path Current project DIR Debug ABS use 952005 USE Programmer mE ro x 2 FLASH INFOMATION OH Start Address Hex File Open End Address Do F FF FH Command Flash size O04000H Version Inf ti Full Operation E B P R MB95200series Erase Blank Check Program USB Programmer FUJITSU Read amp Compare Copy Figure 5 1 Select MCU Type and Hex File 4 Click Full Operation to do programming MCU AN 500017 E 11 Page 10 How to Make Debug Interface on Target Board V1 1 FUJITSU Chapter 5 Programming Process CT Figure 5 2 Click Full Operation 5 The USB programmer also provides single operation including Erase Blank Check Program Read amp Compare and Copy MCU AN 500017 11 Page 11 How to Make Programming Interface on Target Board V1 1 Chapter 5 Programming Process 5 2 Use F2MC 8L 8FX SOFTUNE to Program 1 Connect BGMA to PC 2 Connect EV board to BGMA 3 Power on the EV board Figu
6. Calas us Wi JL AL 4 1 Roe mq Aue M E 1 A dk wb Step in and step over TE DEL NE ar rix rmm a m mom eme cs m cos a nomcn m s s mem meme c caca p TET Rel i ho ik acr ire p 1 h m Tea 1 pic ur J L M a gum dm om dome dm Ron kb mmm Ist Ika kera 1 kn our Ao m LL I ar ee Te sg Sc rt mi pus BTA or om mmm GU Oo Pt md ba eld muy TE Rd ae is Wire nbr TK nur ACHLIKT i ri v bs TI TM LETTE h tur nuc uy tq BT un ET M W AT a r TECXTT FIT 1 x i i ZZ em ux m Ere 3 7 s ena Maa Figure 5 6 Begin to Program MCU AN 500017 E 11 Page 13 How to Make Programming Interface on Target Board V1 1 Chapter 5 Programming Process Note SOFTUNE will change watchdog bit in MCU with watchdog setting as follows but USB programmer include dedicated soft
7. Fujitsu Semiconductor Shanghai Co Ltd Application Note F2MC 8FX FAMILY 8 BIT MICROCONTROLLER MB95200 SERIES HOW TO MAKE PRPGRAMMING ON TARGET BOARD APPLICATION NOTE C2 FUJITSU How to Make Programming Interface on Target Board V1 1 Revision History Revision History Change of Records 2009 2 10 Benjamin Yang V1 0 First draft 2009 2 11 Benjamin Yang V1 1 Modify 2010 1 11 Ivan Xiao V1 1 Add a note to page 14 This manual contains 17 pages 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 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 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 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 port
8. en user connects the power supply before BGM adapter connector the error as below will occur Flash Programmer AN ERROR TRIM CR 1 Figure 6 2 Error about Connecting Order by Using USB Programmer 6 2 Solve the Error Message Window from SOFTUNE 1 When user connects the power supply before BGM adapter connector the error as below will occur Softune396 x AN 294115 Cannot continue debugging due to CR trimming value error Figure 6 3 Error about Connecting by Using SOFTUNE MCU AN 500017 E 11 Page 15 How to Make Programming Interface on Target Board V1 1 Chapter 7 Additional Information 7 Additional Information For more information about how to use MB9595200H 210H EV board BGM Adaptor and SOFTUNE please refer to SKT MB2146 410 01 E User Manual or visit following websites English version http www fujitsu com cn fsp services mcu mb95 application notes html Simplified Chinese Version http www fujitsu com cn tss services mcu mb95 application notes html MCU AN 500017 E 11 Page 16 co How to Make Debug Interface on Target Board V1 1 FUJITSU Chapter 8 Appendix 8 Appendix 8 1 Tables cae EN oa na 7 8 2 Figures Figure Ba Aa Mt ain 5 Figure 2 2 SOFTUNE Version WWW W Wanna 5 Figure 2 3 MB95200 Series USB Programmer oo o Wo Woo aa 6 Figure 4 1 Basic Circuit for Single Flash
9. ions thereof must not be exported without permission as defined under the law 2008 Fujitsu Semiconductor Shanghai Co Ltd MCU AN 500017 E 11 Page 2 How to Make Debug Interface on Target Board V1 1 J CONTENTS FUJITSU CONTENTS PREVISION AOA ba nba 2 ANTRODU GO Ne 4 2 APPLICATION ENVIRONMENT oo menanam 5 2 1 Progamming RR 5 22 FFT TT eee ee 5 23 U B Ogan Eta 6 3 PRODUCTS sek ee ran 7 A HARDWARE DESIGN tes 8 41 Single Flash MCU Programming Circuit ooooWoW oom mba 8 42 Dual Flash MCU Programming Circuit ooooW Wo Wan 9 5 PROGRAMMING PROCESS oo oom oo mocca 10 5 1 Use MB95200 Series USB Programmer to 10 Hardware COMME OM m 10 5 1 2 Programming casan ia sabotase 10 5 2 Use F2MC 8L 8FX SOFTUNE to Program W W KW mb 12 6 TROUBLE SHOOTING sai 15 6 1 Solve the Error Message Window from USB 15 6 2 Solve the Error Message Window from SOFTUNE 15 7 ADDITIONAL INFORMATION aaaaaanaaaaaaanaaaaaaauaa nunannnnnnnnnnnnnnnnnnnnnnnnnnnnnnunnnnunnnnnnnnnnnnnnnnnnna 16 AP PEN aa ea 17 TADOS rH 17 O2 17 MCU AN 500017 E 11 Page 3 How to Make Programming Interface on
10. re 5 3 Indicate Process 1 3 4 Open a project E g IO LED using SOFTUNE SOFTUNE Workbench Edit View Project Debug Setup Window Help File name AD_BASIC Open Files of type Works ace wep v Cancel acak ahi Figure 5 4 Open Demo Project MCU AN 500017 E 11 12 How to Make Debug Interface on Target Board V1 1 FUJITSU Chapter 5 Programming Process 5 Start debug Edit View Project Debug Setup Window sale alo F FE EE alal 22 Workspace aD X B AD BASIC abs AD 4276 tendif E J Source Files pu E H Include Files stop H Dependencies B 3 2 Debug Uploading the flash memory Is 1saz3 sup z mb35200 startup mb35200 Main Furl FZ MBSSF204K Figure 5 5 Start Debug 6 Run a step and the system begin to program Press F5 or F6 on the keyboard or click step in or step over in the workbench MAP MT Wake MEA a g asc ADE mar TA ajar Ab Fy e CELER 110 n A br xA LL Eu R ad SERIES Tes wider Um pasa wm namm sb rae aa tr LA bim H m FiF U d Mpa e m Ab Bl
11. ring flash erase write operation If it is pulled high in user system please consider to add a low drop diode for separate H voltage 5 DBG pin provides 1 line UART communication with the Programmer Serial write mode can be set if provide special timing of DBG and VCC pin MCU AN 500017 E 11 Page 8 How to Make Debug Interface on Target Board V1 1 FUJITSU Chapter 4 Hardware Design 4 2 Dual Flash MCU Programming Circuit The follows figure shows the circuit diagram of the in system debug interface To design this in system programmer interface we need three pins UVCC EV GND and RST OUT if necessary please add Adapter interface v Figure 4 2 Basic Circuit for Single Flash MCU Components Recommendation D1 VF lt 0 3V when IF 1mA E g LL103A 155294 Following list shows the functions of the interface connector 1 J1 is a 10 pins connector which is the interface of this circuit 2 The write voltage VCC 4 5V to 5 5V is supplied from the user system UVCC EV and DBG pin timing controls the PGM mode entry 3 Pin2 of the connector used to connect the GND 4 DBG pin provides 1 line UART communication with the Programmer Serial write mode can be set if provide special timing of DBG and VCC pin MCU AN 500017 E 11 Page 9 How to Make Programming Interface on Target Board V1 1 Chapter 5 Programming Process 5 Programming Process 5 1 Use MB95200 Series USB Programmer to Program 5
12. ware will not so when use SOFTUNE to debugging and programming please pay more attention on watchdog setting below are 2 conditions to use watchdog 1 Use SOFTUNE debugging and programming Set SOFTUNE watchdog setting the same as code setting enable or disable 2 Use USB programmer include dedicated software to programming Just enable watchdog or disable watchdog in code For how to use watchdog please refer to MCU AN 500013 E 11 Watchdog Timer Application Note cCO Debug startup asm 9 Setup Window Help Development ala Debug environment k Debug Environment Flash area control k Setup Wizard Tool Keyboard SECTION RESVECT CONST Editar EA __ start Tool execution 3d code area Figure 5 7 Watchdog Setting Menu Setup debug environment Tab Error output Load Hesponse speed Step execution Watch Hadis Lhip Directory Watchdog Enable Disable Figure 5 8 Watchdog Setting Option MCU AN 500017 E 11 Page 14 How to Make Debug Interface on Target Board V1 1 J Chapter 6 Trouble Shooting FU ITSU 6 Irouble Shooting 6 1 Solve the Error Message Window from USB Programmer 1 When using the USB programmer please choose the right target microcontroller type Or error occurs as below 5 format decoder Eg address error in 5 Figure 6 1 Error about MCU Selection 2 Wh

Download Pdf Manuals

image

Related Search

Related Contents

User Manual - D-Link  OG7003, OG7004 & OG7009 Boiling Tops  Annexe A – Ressources du pharmacien  Quick Start Guide - Rosen Electronics  GBC A3, 2 x 125 micron, gloss, 25 pack  

Copyright © All rights reserved.
Failed to retrieve file