The following document contains information on Cypress products.
AN07-00149-3E
FR Famil y FR80
32-BIT MICROCONTROLLER
MB91625/635/640/660/665series
Setup Guide
MB2198-700-E
AN07-00149-3E
All Rights Reserved.
The contents of this document are subject to change without notice. Customers are advised to consult with
FUJITSU sales representatives before ordering.
The information, such as descriptions of function and application circuit examples, in this document are
presented solely for the purpose of reference to show examples of operations and uses of Fujitsu
semiconductor device; Fujitsu does not warrant proper operation of the device with respect to use based on
such information. When you develop equipment incorporating the device based on such information, you
must assume any responsibility arising out of such use of the information. Fujitsu assumes no liability for
any damages whatsoever arising out of the use of the information.
Any information in this document, including descriptions of function and schematic diagrams, shall not be
construed as license of the use or exercise of any intellectual property right, such as patent right or
copyright, or any other right of Fujitsu or any third party or does Fujitsu warrant non-infringement of any
third-party’s intellectual property right or other right by using such information. Fujitsu assumes no liability
for any infringement of the intellectual property rights or other rights of third parties which would result from
the use of information contained herein.
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 use
accompanying 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 use requiring
extremely high reliability (i.e., submersible repeater and artificial satellite).
Please note that Fujitsu will not be liable against 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 protection, 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 prior authorization by Japanese
government will be required for export of those products from Japan.
The company names and brand names herein are the trademarks or registered trademarks of their
respective owners.
Copyright© 2007-2010 FUJITSU SEMICONDUCTOR LIMITED all rights reserved
1
AN07-00149-3E
Revision History
Revision
Date
Descriptions
1.0
December 4, 2007
Initial release
2.0
March 21, 2008
Revised conforming to MB91660 series
3.0
May 24, 2010
Revised conforming to MB91625/665 series
2
AN07-00149-3E
Table of Contents
Revision History ...................................................................................................................................2
1
Introduction...................................................................................................................................4
2
Setup Procedures...........................................................................................................................4
3
Hardware Configuration ...............................................................................................................5
4
Hardware Setup.............................................................................................................................7
4.1
Setup of emulator and each board.........................................................................................7
4.2
Jumper setting of adapter board ............................................................................................8
3
AN07-00149-3E
1
Introduction
This guide describes the configuration of debugging environment and the setup procedures of
Fujitsu 32-bit Microcontroller MB91625 / 635 / 640 / 660 / 665 series.
In addition, it provides
cautions to use the debugging environment of MB91625 / 635 / 640 / 660 / 665 series.
2
Setup Procedures
Figure 2-1 shows the flow of setup procedures for debugging environment of MB91625 / 635 /
640 / 660 / 665 series.
The following sections describe the connection of emulator and each
board, and setting procedures and operation of the adaptor board.
For start procedures of
SOFTUNE and the debugger, see SOFTUNE Setup Guide.
Setup start
Connect the emulator and each board. (P. 8)
Set the adapter board. (P. 9)
Power ON the emulator.
Power ON a target board.
Start the SOFTUNE. (*)
Start the debugger. (*)
Debugging start
* See SOFTUNE Setup Guide
Figure 2-1 Flow of Setup Procedures
4
AN07-00149-3E
3
Hardware Configuration
Figure 3-1 shows the configuration for debugging environment of MB91625 / 635 / 640 / 660 / 665
series.
It consists of the host PC, the emulator (MB2198-01-E), the evaluation chip (MB91V650),
the adapter board (MB2198-700-E), the configuration board *1 (MB2198-790-01-E), the header
board, and the target board (user board).
It is necessary to set up the integrated development
environment SOFTUNE for the host PC. (For its setup procedures, see SOFTUNE First Step
Guide.)
Prepare the appropriate type of the header board that supports a chip and a package to be
used. Table 3-1 shows types of header boards to support each of chip and package.
In addition, it
is necessary to implement the socket (NQPACK) on the target board (user board) to connect the
header board.
Host PC
Target board
(User board)
Oscillation clock
Evaluation chip
Header board
Emulator
Adapter board
Configuration board(*)
*1: The configuration board (MB2198-790-01-E) is included in the adapter board (MB2198-700-E).
Figure 3-1
Configuration of Debugging Environment
5
AN07-00149-3E
Table 3-1 Configuration of Debugging Environment for Each Product
Product to
Evaluation
be
chip
Emulator
Adapter board
Header board
Remarks
MB2198-704-E
Package:
+
evaluated
Configuration
board
MB91625
MB91V650
MB2198-01-E
MB2198-700-E
series
+
MB91635
MB2198-790-01-E
LQFP-100
MB2198-702-E
series
Package:
LQFP-144
MB91640
MB2198-703-E
series
Package:
LQFP-176
MB91660
MB2198-701-E
series
Package:
LQFP-120
MB91665
MB2198-705-E
series
Package:
LQFP-48
MB2198-706-E
Package:
LQFP-64
* In addition to the above, it is necessary to prepare the target board (user board) and the oscillation clock
(crystal oscillator) separately.
6
AN07-00149-3E
4
Hardware Setup
The following describes the setup procedures of debugging environment for MB91625 / 635 / 640
/ 660 / 665 series.
4.1
Setup of emulator and each board
Figure 4-1 shows connection between the emulator and each board.
made for each board, as shown in Figure 4-1.
Connection should be
It is necessary to supply power to the emulator
and the adapter board through the AC adapter attached.
In addition, the evaluation chip
(MB91V650) should be mounted on the adapter board.
Connects the host PC
and emulator.
Connects AC adapter.
Emulator(MB2198-01-E)
Mounts evaluation chip
(MB91V650) on IC socket.
Connects AC adapter.
Adapter board
(MB2198-700-E)
1pin position
Connects configuration
board (attached to adapter
board)
Use flat cable (attached to
adapter board) to connect
header board.
Figure 4-1
Connection between Emulator and Each Board
7
AN07-00149-3E
4.2
Jumper setting of adapter board
The adapter board has jumper pins and they need to be set in accordance with your usage.
4-2 shows positions of jumper pins to be set on the adapter board.
Figure
Tables 4-1 to 4-8 describe
jumper settings of the adapter board. Meshed values (■)in Tables are recommended values for
jumper pin settings.
Set the jumper pins on the adapter board following Tables.
Jumper pin
(VBUS)
Jumper pin
(Regulator)
Jumper pin
(UVCC)
Jumper pin
(Clock supply)
Jumper pin
(Mode setting)
Jumper pin
(Power supply/reset)
Jumper pin
(USB)
Oscillation clock*
(Crystal oscillator)
Jumper pin
(Reset)
* It is necessary to prepare the
crystal oscillator with the
frequency to be used in the user
system.
Figure 4-2 Jumper Pin Positions on Adapter Board
8
AN07-00149-3E
Table 4-1 Jumper Setting on Adapter Board (VBUS)
Jumper
Setting
S22
+5V (initial
(VBUS)
value)
PORT
Description
Connects +5V to VBUS pin of USB connector on the adapter board.
Connects PH3 pin of Evaluation MCU to VBUS pin of USB connector
on the adapter board.
Table 4-2 Jumper Setting on Adapter Board (Regulator)
Jumper
Setting
S12
0 (initial value)
(EHBUSEN)
1
Fixes EHBUSEN pin of Evaluation MCU(MB91V650) to “Hi”.
S15
0
Fixes REGSEL0 pin of Evaluation MCU(MB91V650) to “Low”.
(REGSEL0)
1 (initial value)
S16
0
(REGSEL1)
1 (initial value)
S17
0
(REGSEL2)
1 (initial value)
Table 4-3
Description
Fixes EHBUSEN pin of Evaluation MCU(MB91V650) to “Low”.
Fixes REGSEL0 pin of Evaluation MCU(MB91V650) to “Hi”.
Fixes REGSEL1 pin of Evaluation MCU(MB91V650) to “Low”.
Fixes REGSEL1 pin of Evaluation MCU(MB91V650) to “Hi”.
Fixes REGSEL2 pin of Evaluation MCU(MB91V650) to “Low”.
Fixes REGSEL2 pin of Evaluation MCU(MB91V650) to “Hi”.
Jumper Setting on Adapter Board (UVCC)
Jumper
Setting
Description
S26
USR (initial value)
Connects UVCC pin of Evaluation MCU(MB91V650) to the power
(VCC)
supply of the user system.
EML
Connects UVCC pin of Evaluation MCU(MB91V650) to the power
supply of the emulator.
9
AN07-00149-3E
Table 4-4 Jumper Setting on Adapter Board (Mode setting)
Jumper
Setting
S27
LOW (initial value)
HI
S29
USR (initial value)
(MD1)
Description
Fixes MD1 pin of Evaluation MCU(MB91V650) to “Low “(*).
Fixes MD1 pin of Evaluation MCU(MB91V650) to “Hi” (*).
Connects MD1 pin of Evaluation MCU(MB91V650) to the user
system.
EML
Handles MD1 pin of Evaluation MCU(MB91V650) on the adapter
board.
S30
USR (initial value)
(MD0)
Connects MD0 pin of Evaluation MCU(MB91V650) to the user
system.
EML
Handles MD0 pin of Evaluation MCU(MB91V650) on the adapter
board.
S28
LOW (initial value)
HI
S14
USR
(C)
Fixes MD0 pin of Evaluation MCU(MB91V650) to “Low “(*)
Fixes MD0 pin of Evaluation MCU(MB91V650) to “Hi “(*)
Connects C pin of Evaluation MCU ( MB91V650) to the user
system.
EML (initial value)
Connects C pin of Evaluation MCU(MB91V650) to the capacitor
(0.1μF and 10μF in parallel) on the adapter board.
(*) If MD pin is handled on the adapter board.
10
AN07-00149-3E
Table 4-5 Jumper Setting on Adapter Board (Power supply/reset)
Jumper
Setting
Description
S20
USR
Supplies INITX signal from the user system to INITX pin of
(INITX)
Evaluation MCU(MB91V650).
EML (initial value)
Supplies the reset signal from the emulator to INITX pin of
Evaluation MCU(MB91V650).
S21
USR
(TRSTX)
Supplies INITX signal from the user system to TRSTX pin of
Evaluation MCU(MB91V650).
EML (initial value)
Supplies the reset signal from the emulator to TRSTX pin of
Evaluation MCU(MB91V650).
S13
Short (initial value)
(SCVCC)
Connects SCVCC pin of Evaluation MCU(MB91V650) to the
power supply pin.
Open
Separates SCVCC pin of Evaluation MCU(MB91V650) from the
power supply pin (allowing such measurement devices as
voltmeter to be connected).
S19
+3.3V (initial
Selects 3.3 V of the drive power supply when connecting FPGA
(VCCIO6/7)
value)
pin to the user system.
VCCA
Selects VCCA of the drive power supply when connecting FPGA
pin to the user system.
11
AN07-00149-3E
Table 4-6 Jumper Setting on Adapter Board (Power supply/reset)
Jumper
Setting
Description
S31
USR (initial value)
Supplies INITX signal from the user system to UNITX pin of
(UINITX)
Evaluation MCU (MB91V650).
EML
Supplies the reset signal from the emulator to UNITX pin of
Evaluation MCU (MB91V650).
Table 4-7 Jumper Setting on Adapter Board (USB)
Jumper
Setting
Description
S1
Short (initial value)
Connects P33 pin of Evaluation MCU (MB91V650) to the user system.
Open
Not connects P33 pin of Evaluation MCU (MB91V650) to the user
system.
S9
VBUS
(PH3)
Connects PH3 pin of Evaluation MCU (MB91V650) to USB connector
(VBUS pin) on the adapter board.
USR (initial value)
Connects PH3 pin of Evaluation MCU (MB91V650) to the user
system.
S2
Short (initial value)
Connects P32 pin of Evaluation MCU (MB91V650) to the user system.
Open
Not connects P32 pin of Evaluation MCU (MB91V650) to the user
system.
S7
PUC
(PH2)
Connects PH2 pin of Evaluation MCU (MB91V650) to USB connector
(UDP pin) on the adapter board.
USR (initial value)
Connects PH2 pin of Evaluation MCU (MB91V650) to the user
system.
S5
USR (initial value)
(UDM)
Connects UDM pin of Evaluation MCU (MB91V650) to the user
system.
EML
Connects UDM pin of Evaluation MCU (MB91V650) to USB
connector on the adapter board.
S4
USR (initial value)
(UDP)
Connects UDP pin of Evaluation MCU (MB91V650) to the user
system.
EML
Connects UDP pin of Evaluation MCU (MB91V650) to USB
connector on the adapter board.
S23
PD_EN
(UDP)
(initial value)
Connect 15KΩ pull-down resistance to UDM pin (2nd pin) of USB
connector on the adapter board.
12
AN07-00149-3E
PD_DIS
Not connect 15KΩ pull-down resistance to UDM pin (2nd pin) of USB
connector on the adapter board.
S24
PD_EN
(UDM)
(initial value)
PD_DIS
Connect 15KΩ pull-down resistance to UDP pin (2nd pin) of USB
connector on the adapter board.
Not connect 15 KΩ pull-down resistance to UDP pin (2nd pin) of USB
connector on the adapter board.
13
AN07-00149-3E
Table 4-8 Jumper Setting on Adapter Board (Clock supply)
Jumper
Setting
Description
S6
USR (initial value)
Connects X0 pin of Evaluation MCU (MB91V650) to the user
(X0)
system.
EML
Connects X0 pin of Evaluation MCU (MB91V650) to the oscillation
IC socket on the adapter board.
S8
USR (initial value)
(X1)
Connects X1 pin of Evaluation MCU (MB91V650) to the user
system.
EML
Connects X1 pin of Evaluation MCU (MB91V650)to the oscillation
IC socket on the adapter board.
S10
USR (initial value)
(X1A)
Connects X0A pin of Evaluation MCU (MB91V650) to the user
system.
EML
Connects X0A pin of Evaluation MCU (MB91V650) to the
oscillation IC socket on the adapter board.
S11
USR (initial value)
(X0A)
Connects X1A pin of Evaluation MCU (MB91V650) to the user
system.
EML
Connects X1A pin of Evaluation MCU(MB91V650)
oscillation IC socket on the adapter board.
14
to the