Fujitsu Microelectronics Europe
Application Note
MCU-AN-300209-E-V10
F 2 MC-16FX FAMILY
SUPPORT TOOL
EMULATOR SYSTEM MB2198-01
INSTALLATION GUIDE MB2198-01
APPLICATION NOTE
MB2198 – Installation Guide
Revision History
Revision History
Date Issue
2006-07-18 V1.0; PHu; initial version based on MB2147-01 installation
This document contains 18 pages.
MCU-AN-300209-E-V10 - 2 - © Fujitsu Microelectronics Europe GmbH
MB2198 – Installation Guide
Warranty and Disclaimer
Warranty and Disclaimer
To the maximum extent permitted by applicable law, Fujitsu Microelectronics Europe GmbH restricts its warranties and its liability for all products delivered free of charge (eg. software include or header files, application examples, target boards, evaluation boards, engineering samples of IC’s etc.), its performance and any consequential damages, on the use of the Product in accordance with
(i) the terms of the License Agreement and the Sale and Purchase Agreement under which agreements the Product has been delivered, (ii) the technical descriptions and (iii) all accompanying written materials. In addition, to the maximum extent permitted by applicable law, Fujitsu
Microelectronics Europe GmbH disclaims all warranties and liabilities for the performance of the
Product and any consequential damages in cases of unauthorised decompiling and/or reverse engineering and/or disassembling. Note, all these products are intended and must only be used
in an evaluation laboratory environment.
1. Fujitsu Microelectronics Europe GmbH warrants that the Product will perform substantially in accordance with the accompanying written materials for a period of 90 days form the date of receipt by the customer. Concerning the hardware components of the Product, Fujitsu
Microelectronics Europe GmbH warrants that the Product will be free from defects in material and workmanship under use and service as specified in the accompanying written materials for a duration of 1 year from the date of receipt by the customer.
2. Should a Product turn out to be defect, Fujitsu Microelectronics Europe GmbH´s entire liability and the customer´s exclusive remedy shall be, at Fujitsu Microelectronics Europe GmbH´s sole discretion, either return of the purchase price and the license fee, or replacement of the
Product or parts thereof, if the Product is returned to Fujitsu Microelectronics Europe GmbH in original packing and without further defects resulting from the customer´s use or the transport.
However, this warranty is excluded if the defect has resulted from an accident not attributable to Fujitsu Microelectronics Europe GmbH, or abuse or misapplication attributable to the customer or any other third party not relating to Fujitsu Microelectronics Europe GmbH.
3. To the maximum extent permitted by applicable law Fujitsu Microelectronics Europe GmbH disclaims all other warranties, whether expressed or implied, in particular, but not limited to, warranties of merchantability and fitness for a particular purpose for which the Product is not designated.
4. To the maximum extent permitted by applicable law, Fujitsu Microelectronics Europe GmbH´s and its suppliers´ liability is restricted to intention and gross negligence.
NO LIABILITY FOR CONSEQUENTIAL DAMAGES
To the maximum extent permitted by applicable law, in no event shall Fujitsu
Microelectronics Europe GmbH and its suppliers be liable for any damages whatsoever
(including but without limitation, consequential and/or indirect damages for personal injury, assets of substantial value, loss of profits, interruption of business operation, loss of information, or any other monetary or pecuniary loss) arising from the use of the Product.
Should one of the above stipulations be or become invalid and/or unenforceable, the remaining stipulations shall stay in full effect
© Fujitsu Microelectronics Europe GmbH - 3 - MCU-AN-300209-E-V10
MB2198 – Installation Guide
Contents
Contents
REVISION HISTORY.............................................................................................................. 2
WARRANTY AND DISCLAIMER........................................................................................... 3
CONTENTS ............................................................................................................................ 4
0 INTRODUCTION................................................................................................................ 5
1 HARDWARE REQUIREMENTS ........................................................................................ 6
1.1
Devices ..................................................................................................................... 6
2 SETTING UP THE EMULATION SYSTEM ....................................................................... 8
2.1
Installing the emulator system................................................................................... 8
2.1.1
Adapter Board ............................................................................................. 8
2.1.2
Main-Clock .................................................................................................. 9
2.1.3
Sub-Clock.................................................................................................. 10
2.1.4
C-pin switching.......................................................................................... 10
2.1.5
Mount the Adapter Board on the Emulator................................................ 10
2.1.6
Insert the Evaluation Chip ......................................................................... 11
2.1.7
Connect the Probe Cable to the Adapter Board........................................ 11
2.1.8
Connect the Emulator System with the Starter Kit .................................... 11
2.1.9
The BGA416 MCU emulator system then looks like in the picture below: 12
2.1.10
DIP switches on the Target System (e. g. FLASH-CAN-100P-340) ......... 12
2.1.11
Connect the MB2198-01 Emulator to a PC or a LAN network .................. 12
2.1.12
Power connection...................................................................................... 12
2.1.13
Power down .............................................................................................. 12
3 SETTING UP THE EMULATION SOFTWARE................................................................ 13
3.1
Installing the emulator software on PC ................................................................... 13
3.2
Check Emulation System with the IO-Port Sample Project..................................... 13
4 TROUBLESHOOTING..................................................................................................... 16
4.1
Emulator Software does not work in debugging mode............................................ 16
4.2
Wrong COM-Port in Softune Workbench ................................................................ 16
4.3
Emulator MB2198-01 Menu Settings ...................................................................... 16
4.4
Using LAN............................................................................................................... 17
5 APPENDIX A ................................................................................................................... 18
5.1
Table of Emulation System Configuration and supported Starterkits...................... 18
MCU-AN-300209-E-V10 - 4 - © Fujitsu Microelectronics Europe GmbH
MB2198 – Installation Guide
Introduction
0 Introduction
This installation guide will help you to quickly start setting up the MB2198-01 Emulation
Hardware for Fujitsu 16FX Family MCUs and its usage with the Softune Workbench
V30L33R08 or higher. For in-depth information please refer to the following manuals:
MB2198-01 Hardware Manual (Emulator)
MB2198-500 Hardware Manual (Adapter Board BGA416)
Evaluation Board Documentation (e.g. for Flash-CAN-100P-340 v1.1)
At the end of this document you will find a guide of trouble shooting items, in order to perform a quick operation check of the 16-bit emulation system.
© Fujitsu Microelectronics Europe GmbH - 5 - MCU-AN-300209-E-V10
MB2198 – Installation Guide
Chapter 1 Hardware Requirements
1 Hardware Requirements
BASIC DEVICES OF MB2198 EMULATOR SYSTEM
1.1 Devices
The basic devices which are required for setting up the 16FX emulation system for 416-pin
MB96V300 Evaluation MCU:
• Emulator Main Unit MB2198-01
• Adapter Board MB2198-500 BGA416
• Probe
(here: MB2198-501 QPF100 NQPACK)
MCU-AN-300209-E-V10 - 6 - © Fujitsu Microelectronics Europe GmbH
MB2198 – Installation Guide
Chapter 1 Hardware Requirements
• Evaluation chip (here: MB96V300)
• Target system
(here: FLASH-CAN-100P-340 Starter Kit Board)
• RS232-, USB- or LAN-connection cable
• Two Power supplies (12V DC)
In addition to the emulator, ordered from Fujitsu, a customer should get the ‘Accessories 16’kit that includes a set of manuals and some cables.
© Fujitsu Microelectronics Europe GmbH - 7 - MCU-AN-300209-E-V10
MB2198 – Installation Guide
Chapter 2 Setting up the Emulation System
2 Setting up the Emulation System
HARDWARE INSTALLATION
2.1 Installing the emulator system
Attention: Be sure that the system is not connected to any power supply, when connecting or disconnecting components to and from it.
2.1.1 Adapter Board
MB2198-500
Figure 2-1: Clock installation
The red arrow marks the crystal-area of the Main-Clock.
The white arrow marks the crystal-area of the Sub-Clock.
MCU-AN-300209-E-V10 - 8 - © Fujitsu Microelectronics Europe GmbH
MB2198 – Installation Guide
Chapter 2 Setting up the Emulation System
The Figure 2-2 shows the schematic of the Clock-Supply circuit. The correct setting has to be done by jumpers S3, S4, and S5.
User X1
User X0
S3 [X1]
S3 [X0]
USR
EML
USR
EML
X1
X0
User X1A
User X0A
S4
[CLKSEL1]
Port
CLK
Port
CLK
S4
[CLKSEL0]
S5 [X1A]
S5 [X0A]
USR
EML
USR
EML
GP04_1
X1A
GP04_0
X0A
Figure 2-2: Clock supply configuration
2.1.2 Main-Clock
It is recommended to install a crystal and two capacitors (about 15 pF) directly to the
Adapter Board. See Figure 2-1: Clock installation
To supply the Main-clock from the user system, add an oscillator to the user system and have the Main-clock supplied using a CMOS buffer.
Please refer to the graphic above and to the Figure 2-1 how to enable the Main-Clock.
Clock Supply
Main-Clock on adapter-board
Main-Clock on target system
X0
EML
USR
S3
X1
EML
USR
S4
CLKSEL0 CLKSEL1 X0A
S5
X1A
*S
: see Sub-Clock
Table 2-1: Main-Clock Supply
© Fujitsu Microelectronics Europe GmbH - 9 - MCU-AN-300209-E-V10
MB2198 – Installation Guide
Chapter 2 Setting up the Emulation System
2.1.3 Sub-Clock
It is recommended to install a 32.768 kHz crystal and two capacitors (about 15 pF) directly to the Adapter Board. See Figure 2-1: Clock installation
To supply the Sub-clock from the user system, add an oscillator to the user system.
Please refer to the graphic above and to the Table 2-2 how to enable the Sub-Clock.
Clock Supply
Sub-Clock on adapterboard
Sub-Clock on target system
X0
*M
*M
S3
X1
*M
*M
S4
CLKSEL0 CLKSEL1 X0A
S5
X1A
Port Port EML EML
CLK CLK USR USR
*M
: see Main-Clock
Table 2-2: Sub-Clock
2.1.4 C-pin switching
The C-pin can be supplied from the emulation system or from the user system. This is selected by jumper S1. If S1 is set to EML, the capacitor on the adapter board is used. If the capacitance of the user board is to be used, select position USR.
Please refer to Table 2-3 how to set the C-Pin.
C-Pin Switching
Capacitance on adapter board
Capacitance on user system
S1
EML
USR
Table 2-3: C-pin Switching
2.1.5 Mount the Adapter Board on the Emulator
The MB2198-500 Adapter Board has two connectors (ADAPTER
BOARD CONNECTOR A and B) on the back, which fit into the connectors of the Emulator MB2198-01.
Pay attention that the small white triangles on the side of the connectors point together.
MCU-AN-300209-E-V10 - 10 - © Fujitsu Microelectronics Europe GmbH
MB2198 – Installation Guide
Chapter 2 Setting up the Emulation System
2.1.6 Insert the Evaluation Chip
First, push down the outer frame of the
BGA socket of the Adapter Board. Near one corner is a small triangle, which points to Pin 1 of the chip socket.
The Evaluation Chip has one flat corner.
This indicates the Pin Position 1.
Then insert the Chip as shown in the right picture and release the frame.
2.1.7 Connect the Probe Cable to the Adapter Board
Connect a Probe Cable to the bottom side of the Adapter Board. For e. g. MB96F348 use the QFP100 NQPACK PROBE cable
(MB2198-501).
The cable has to insert in the FLAT CN A
(CN3) and FLAT CN B (CN4) connectors on the Adapter Board.
2.1.8 Connect the Emulator System with the Starter Kit
Connect the Probe Cable to a Starter Kit (e. g.
FLASH-CAN-100P-340).
Insert the cable properly into the MCU socket on the Starter Kit Board. Note, that it fits only in the correct position: Three edges of the socket are round and one is flat. In addition both the probe socket and the Board have small triangles which point to
Pin 1.
After inserting, use a small cross tip screwdriver to fix the four screws of the probe cable.
© Fujitsu Microelectronics Europe GmbH - 11 - MCU-AN-300209-E-V10
MB2198 – Installation Guide
Chapter 2 Setting up the Emulation System
2.1.9 The BGA416 MCU emulator system then looks like in the picture below:
2.1.10 DIP switches on the Target System (e. g. FLASH-CAN-100P-340)
The DIP switches on the
FLASH-CAN-100P-340
Starter Kit has to be set as illustrated in the left pictures.
For Single-Chip-Run Mode only switch No. 3 has to be switched ON.
2.1.11 Connect the MB2198-01 Emulator to a PC or a LAN network
The Emulator has three different communication interfaces.
• USB
• RS232
• LAN
Choose one of these communication interfaces.
2.1.12 Power connection
Connect a power supply to the Emulator first, then switch on the emulator. This prevents damages in the Adapter Board, in the Evaluation Chip, and in the Emulator itself.
The power LED should be lighting green and in the LC display the following text should occur: “NO CONNECT [Enter]: MENU”
After this connect a power supply to the target system, i. e. the Starter Kit Board.
2.1.13 Power down
Contrariwise to the power-on connection, the power on the target system has to be switched off first during power-down.
The emulator has to be switched off at last.
MCU-AN-300209-E-V10 - 12 - © Fujitsu Microelectronics Europe GmbH
MB2198 – Installation Guide
Chapter 3 Setting up the Emulation Software
3 Setting up the Emulation Software
SOFTWARE INSTALLATION
3.1 Installing the emulator software on PC
To work with the 16-Bit emulation system, you have to install the Softune Workbench
Software environment from the CD-ROM. After executing setup.exe you will find a menu with install options. Select all items and start the installation. The default path is C:\Softune. After the installation you will find the Softune workbench ready to use for the new 16FX microcontroller family.
The CD-ROM includes also some demonstration projects for the MB96340 Series. Install them also in a directory of your PC.
3.2 Check Emulation System with the IO-Port Sample Project
Open the Softune Workbench. Then choose the Menu File/Open. The following window will pop up:
Confirm Workspace/Project file with the OK button.
Now choose the IO-Port-Workspace-File IOPort.wsp in the Open File Dialog Window.
Then the Softune Workbench window will look like this:
© Fujitsu Microelectronics Europe GmbH - 13 - MCU-AN-300209-E-V10
MB2198 – Installation Guide
Chapter 3 Setting up the Emulation Software
On the top of the screen you find a standard menu bar with some icons.
The left window shows the Structure of the work space including the source codes, include files, header files and debugger information.
The right upper window is used for editing and observing files.
The lower Window is the status and message window.
Open the file Main.c by double clicking it in the left upper
Window.
The following c code will be displayed in the right upper window:
Now choose the Menu Project/Build or press Ctrl+F8. Now the complete project will be compiled and all object codes will be created.
The message Window will now display:
Now building...
--------------------Configuration: IOport.prj - Debug--------------------
Start.asm
Main.c vectors.c
Mb96340.asm
Now linking...
C:\…..\mb96340\IOport\ABS\IOport.abs
Now starting load module converter...
C:\…...\mb96340\IOport\ABS\IOport.mhx
------------------------------
No Error.
------------------------------
Depending on your communication interface to the emulator, double click one of the following download methods in the upper left window:
• MB2198-01_COM1.sup
• MB2198-01_LAN.sup
• MB2198-01_USB.sup
MCU-AN-300209-E-V10 - 14 - © Fujitsu Microelectronics Europe GmbH
MB2198 – Installation Guide
Chapter 3 Setting up the Emulation Software
After a short moment, the Softune Workbench will go in its debugger state. The Window will look like this:
Look on the LC display of the Emulator. The following message should be displayed:
“BREAK Vol:OK [Enter]:Menu”
Now choose the menu Debug/Run/Go or press F5 or click the button.
Look at the Starter Kit Board. The LEDs of Port0 have to flash alternately.
The LCD on the emulator should display:
“EXEC Vol:OK [Enter]:Menu”
To end debugging, choose Debug/End debug in the Softune Menu Bar. The emulator system will then halt.
© Fujitsu Microelectronics Europe GmbH - 15 - MCU-AN-300209-E-V10
MB2198 – Installation Guide
Chapter 4 Troubleshooting
4 Troubleshooting
TROUBLE DURING INSTALLATION
4.1 Emulator Software does not work in debugging mode
Note, that the Emulator Software will not work if the Emulator is not powered on, not connected to a Target Board, not connected properly to a PC or if no Evaluation MCU is in the socket.
The Target Board must provide power logic signals to all MCU pins.
4.2 Wrong COM-Port in Softune Workbench
The basic setting after installation for the RS232-PC-COM-Port is COM1. If you want to use your COM2-Port then click with the right mouse button on the entry MB2198-01_COM1.sup in the project window. Then a small popup window is displayed. Choose change.
Now a Setup Wizard starts. Let all entries in their default states, until the following window occurs:
In this window, you can choose the COM2 port.
Click Next> and finally Finish.
Use the following settings for the Emulator 2198-01 in case of trouble:
Menu
1.) LAN
1.) IP Address:
2.) Subnet Mask:
3.) MAC Address:
4.) Port Address:
(defined by System Administrator)
(defined by System Administrator)
(defined by System Administrator)
(defined by System Administrator)
MCU-AN-300209-E-V10 - 16 - © Fujitsu Microelectronics Europe GmbH
MB2198 – Installation Guide
Chapter 4 Troubleshooting
2.) USB
3.) Loader Mode
4.) Information:
1.) Version:
2.) Key Click:
Loader, CMN, Depen1-3, CMNSUB
ON/OFF
To set up the LAN interface click on the entry “MB2198-01_LAN.sup” in the project window.
Then click on the right mouse button. Choose change in the popup window. Then a setup wizard for the LAN interface is started. Follow the next steps.
When the following window is displayed, make sure that Monitor program auto-loading is selected:
Follow the next steps and finally press Finish.
© Fujitsu Microelectronics Europe GmbH - 17 - MCU-AN-300209-E-V10
MB2198 – Installation Guide
Chapter 5 Appendix A
5 Appendix A
Emulation System Configuration and supported Starterkits
5.1 Table of Emulation System Configuration and supported Starterkits
Flash-MCU
MB96Fxxx
Probe Cable Socket
348xxA-PQC MB2198-501
NQPACK100RB
HQPACK100RB
Starterkit
FLASH-CAN-100P-340
348xxA-PMC MB2198-502
NQPACK100SD-ND
HQPACK100SD
FLASH-CAN-100P-340 +
ADA-91270-90340-100PFV
SK-96380-120PMT
MCU-AN-300209-E-V10 - 18 - © Fujitsu Microelectronics Europe GmbH