Home

Application Note

image

Contents

1. wm namm amp Pose Ki eee a RE SRE LA INT HANYA JP U d E fa rr rn e m J Bl Calas us Wi JL AL 4 1 Roe mq Aue M E 1 A d i wb Sten in and sten TE DEL NE ar rix rmm a m mom eme cs m cos a nomcn m s s mem meme c caca a TET ee Rel i ho ik ee ee aem mcm acr ire p 1 h m Tea 1 pic ur J L M gum dm om dome dm Ron cd ie c Ika d kn our Ao m LL I ar ee Te sg sie pus OR BT or mmm GU Oo Pt eis ba eld muy TE Rd E h Wire nbr TK nur kz ACHLIKT ike v bs TI TM rire h tur nuc uy tq BT un ET M W at r TECXTT FIT 1 x
2. 11 Page 5 co FUJITSU How to Make Programming 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 html JZ x us MB95200series USB Programmer Target Microcontroller 4 Hex File 0 LED mh Command Full MB95200ser ies Erase Blank Check Program USB Programmer j FUJITSU Read amp Compare Copy J FLASH INFOMATION Start Address OOC000H End Address Flash Memory size 0040003 version Infomation Help Figure 2 3 95200 Series USB Programmer 500017 E 11 Page 6 How to Debug Interface 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 MCU 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 Dua MB95F272H MB95F210H Flash MB95F213K MB95F
3. i men i em ux m Ere 3 7 s ena Maa sl Figure 5 6 Begin to Program MCU AN 500017 E 11 Page 13 co FUJITSU 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 software 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 Ig Setup Window Help Development Debug environment k Flash area control Debug Environment Setup Wizard Tool Keyboard SECTION RESVECT CONST 1 Editar EA start Tool execution 34 3 code area Figure 5 7 Watchdog Setting Menu setup debug environment Tab Error output Load Hesponse speed Step execution Watch Hadis Chip Directory Enable Disable Figure 5 8 Watchdog Setting Option MCU A
4. 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 Figure 5 3 Indicate Process 1 3 4 Open a project E g 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 BF ahi Figure 5 4 Open Demo Project MCU AN 500017 E 11 12 How to Debug Interface Target Board V1 1 FUJITSU Chapter 5 Programming Process 5 Start debug Edit View Project Debug Setup Window sale alo FE EE alal 22 Workspace aD X B AD BASIC abs AD 4276 tendif F 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 or step over in the workbench MOA Wake MEA a g Jis g asc Pal HAI SRY ane n slim DNF e k diss n n A br xA Eu R SERIES Tes
5. 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 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 ioj x 2 FLASH INFOMATION OH Start Address 00 000 Hex File Open Address Command Flash Memar size O04000H Version Inf ti Full 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 Debug Interface 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 E 11 Page 11 co FUJITSU How to Make Programming Interface on Target
6. 270H Flash MB95F273K MB95F213H MB95F273H MB95F214K MB95F214H MB95F274H MB95F222K MB95F282K MB95F222H pug MB95F282H MB95F220H 279 MB95F223K MB95F280H Flash MB95F223H MB95F283H 95 284 MB95F284H MB95F332K MB95F332H Dual MB95F333K Flash 95 95 MB95F334K MB95F334H MCU AN 50001 7 E 11 Page 7 FUJITSU 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 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 v Target Board Figure 4 1 Basic Circuit for Single Flash MCU Components Recommendation D1 VF 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 pin timing controls the PGM mode entry
7. 3 Pin2 of the connector used to connect the GND 4 Programmer provides 10V directly to RSTX pin during 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 pin MCU AN 500017 E 11 Page 8 How to Debug Interface 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 GND and DBG RST_OUT if necessary please add Adapter interface v Target Board 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 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 co FUJITSU How
8. N 500017 E 11 Page 14 How to Make Debug Interface on Target Board V1 1 Chapter 6 Trouble Shooting FU ITSU 6 Trouble 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 E address error in 5 Figure 6 1 Error about MCU Selection 2 When 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 11 Page 15 co FUJITSU 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 en fsp services mcu mb95 application notes html Simplified Chinese Version http www fujitsu com en fss services mcu mb95 application notes html MCU AN 500017 E 11 P
9. PERFORM The following document contains information on Cypress products Although the document is marked with the name Spansion and Fujitsu the company that originally developed the specification Cypress will continue to offer these products to new and existing customers Continuity of Specifications There is no change to this document as a result of offering the device as a Cypress product Any changes that have been made are the result of normal document improvements and are noted in the document history page where supported Future revisions will occur when appropriate and changes will be noted in a document history page Continuity of Ordering Part Numbers Cypress continues to support existing part numbers To order these products please use only the Ordering Part Numbers listed in this document For More Information Please contact your local sales office for additional information about Cypress products and solutions About Cypress Cypress NASDAQ CY delivers high performance high quality solutions at the heart of today s most advanced embedded systems from automotive industrial and networking platforms to highly interactive consumer and mobile devices With a broad differentiated product portfolio that includes NOR flash memories F RAM and SRAM Traveo microcontrollers the industry s only PSoC programmable system on chip solutions analog and PMIC Power Management ICs CapSense capacitive touch sensing
10. TSU How to Make Programming Interface on 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 How to Make Debug Interface Target Board V1 1 FUJITSU Chapter 2 Application Environment 2 Application Environment This chapter introduces the application environment of MB95200H 210H SOP20 PGM adaptor 2 1 Programming Tool The debug tool is BGMA BGM Adapior 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
11. age 16 co How to Make Debug Interface on Target Board V1 1 FUJITSU Chapter 8 Appendix 8 Appendix 8 1 Tables UI Gd OU CG cece UU T TP 7 8 2 Figures Foue 2 1 AGADO Mt ain 5 Figure 2 2 SOFTUNE Version ooo 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 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 GUT 12 Figure 5 4 Open Demo Wo mmm 12 aM OIG KON on 13 FIGUKE SOD SOI TO RO ga Naa it 13 Figure 5 7 Watchdog Setting Menu o Woo mna 14 Figure 5 8 Watehdog Setting ODIIOEI senos bcn 14 Figure 6 1 Error about MCU Selection ooo W oom 15 Figure 6 2 Error about Connecting Order by Using USB Programmer 15 Figure 6 3 Error about Connecting by Using SOFTUNE 15 MCU AN 50001 7 E 11 Page 17
12. controllers and Wireless BLE Bluetooth Low Energy and USB connectivity solutions Cypress is committed to providing its customers worldwide with consistent innovation best in class support and exceptional system value A lt SPANSION v 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 protec
13. s Fujitsu Semiconductor Shanghai Application Note F2MC 8FX FAMILY 8 BIT MICROCONTROLLER MB95200 SERIES HOW TO MAKE PRPGRAMMING ON TARGET BOARD APPLICATION NOTE C2 FUJITSU co 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 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 case
14. s the products or portions 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 co How to Make Debug Interface on Target Board V1 1 J CONTENTS FU ITSU CONTENTS PREVISION AOA ba nba 2 ANTRODU GO Ne 4 2 APPLICATION ENVIRONMENT oo menanam 5 2 1 Progamming Hobi 5 22 OOF TONE 5 23 U B aceite atu 6 3 MCU PRODUCTS acea E E E 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 5 11 Hardware COMME OM 10 5 1 2 Programming 10 5 2 Use F2MC 8L 8FX SOFTUNE to Program ooooW W W KW mb 12 b TROUBLE SHOOTING aa aa 15 6 1 Solve the Error Message Window from USB 15 6 2 Solve the Error Message Window from SOFTUNE 15 7 ADDITIONAL INFORMATION mm mma 16 AP PEN aa ea 17 TADOS rH 17 O2 17 MCU AN 500017 E 11 Page 3 FUJI
15. tion 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 Soansion assumes no liability for any damages of any kind arising out of the use of the information in this document Copyright 2013 Spansion Inc All rights reserved Spansion the Spansion logo MirrorBit MirrorBit Eclipse 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 owner

Download Pdf Manuals

image

Related Search

Related Contents

Eminent hdMedia Stream  RSA Lighting C-100 User's Manual  Shuttle X50V3L  StarTech.com USBthere - 2 Port Bus Powered 165 Foot (50 meter)  UMX™ Habu S DF180    1. EINFÜHRUNG - produktinfo.conrad.com  Jean-Pierre Lachaud  SBS TE0SCTTXK mobile phone case  HP LaserJet 8150 Printer Repair Manual  

Copyright © All rights reserved.
Failed to retrieve file