Graphic controller family modular starterkit (23 pages)
Summary of Contents for Fujitsu MB95200 Series
Page 1
Fujitsu Microelectronics (Shanghai) Co., Ltd. MCU-AN- 500018-E-11 Application Note F²MC-8FX FAMILY 8-BIT MICROCONTROLLER MB95200 SERIES HOW TO MAKE ON-BOARD DEBUG APPLICATION NOTE...
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.
How to make on board debug V1.1 Chapter 1 Introduction 1 Introduction Debugging on the target board is a very important step in project design. This document will describe how to debug on a target board. The debugging interface described in this document can be used both as the in-circuit debugging tool and the in-circuit programming tool.
The version currently being used is F2MC-8L/8FX SOFTUNE Workbench V30L31, as shown below in the picture. It is available in the MB95200 MCU Starter Kit (PN: MB2146-410-01-E), or downloaded from Web: http: //www.fujitsu.com/cn/fmc/service/mcu/tools. Figure 2-2 SOFTUNE Version MCU-AN- 500018-E-11 – Page 5...
How to make on board debug V1.1 Chapter 3 MCU Products 3 MCU Products This chapter introduces different models of MCU products. As the in-circuit debugging interface in the single flash MCU is different from that in the dual flash MCU, MCUs are classified into two categories in the list below. Series Flash Chip list...
4 Hardware Design This chapter introduces the circuit of debugging interface. As the MB95200 series has two types of flash, i.e. single flash and dual flash, there are two types of debugging circuits corresponding to them. This chapter will introduce the two programming circuits.
Page 8
How to make on board debug V1.1 Chapter 4 Hardware Design If the MCU target needs a reset circuit, please design the reset circuit according to the diagram below. Target Board Figure 4-2 Debugging Connector and Reset Circuit for Single Flash MCU Pin 4 of the connector is used to connect to the reset circuit.
How to make on board debug V1.1 Chapter 4 Hardware Design 4.2 Dual Flash MCU Debugging Circuit Figure 4-3 shows the circuit diagram of the in-system debugging interface. To design the in- system debugging interface, three pins, UVCC_EV, GND and DBG, are needed. (Add pin RST_OUT if necessary.) Target Board Figure 4-3 Dual Flash MCU Debugging Circuit...
How to make on board debug V1.1 Chapter 5 Debugging Operation 5 Debugging Operation This chapter introduces debugging operation by F2MC-8L/8FX SOFTUNE. 5.1 Preparation before using F2MC-8L/8FX SOFTUNE (1) Connect the BGMA to a PC (2) Connect the EV-board to the BGMA (Note that user can only power on the MCU after connecting the target board to the BGM adaptor)
How to make on board debug V1.1 Chapter 5 Debugging Operation 5.2 Debugging with F2MC-8L/8FX SOFTUNE After the 3-step preparation introduced in chapter 5.1, user can start debugging as shown below. (1) Start debugging. (by clicking 'start debug' in the 'Debug' tag) Figure 5-3 Start Debugging MCU-AN- 500018-E-11 –...
Page 12
How to make on board debug V1.1 Chapter 5 Debugging Operation (2) Start Debugging (Code Update) Click “ D ebug ” → ” R un ” to start debugging or use the shortcut key as indicated in figure 5-5. Figure 5-4 Run Operation Figure 5-5 Shortcut Keys MCU-AN- 500018-E-11 –...
Page 13
How to make on board debug V1.1 Chapter 5 Debugging Operation (3) Register Operation Select View “ → ” Register ” to open the register window. Then press the right button of the mouse to display a pop-up menu, select S etup to add/delete registers in the register “...
Page 14
How to make on board debug V1.1 Chapter 5 Debugging Operation (5) Watch Operation Highlight the symbol to be watched and press the right button of the mouse. A menu pops up and selects “Watch” in the menu. Figure 5-8 Select the Watch Window Put the mouse pointer inside the window and press the right button to display a pop-up menu.
Page 15
How to make on board debug V1.1 Chapter 5 Debugging Operation (6) Breakpoints Setting Set breakpoints by mouse-clicking the inside of the green circle in the code, as shown in the figure below. Click here to set/ reset break point Figure 5-10 Breakpoints Setting Method 1 Another way to set breakpoints is specifying the program address or data address by selecting “Debug”...
How to make on board debug V1.1 Chapter 6 Additional Information 6 Additional Information For more information on FUJITSU MB95200 products, please visit following website: Simplified Chinese Version http://www.fujitsu.com/cn/fmc/services/mcu/mb95200/ English Version http://www.fujitsu.com/cn/fmc/en/services/mcu/mb95200/ MCU-AN- 500018-E-11 – Page 16...