To the maximum extent permitted by applicable law, Fujitsu Microelectronics Europe GmbH restricts
its warranties and its liability for STARTERKIT MB91360 and all its deliverables (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,
ujitsu Microelectronics Europe GmbH disclaims all warranties and liabilities for the performance of
F
the Product and any consequential damages in cases of unauthorised decompiling and/or reverse
engineering and/or disassembling. Note, the STARTERKIT MB91360 and all its deliverables 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
The Fujitsu MB91360 evaluation board is a stand-alone application board that makes it easy
to evaluate and demonstrate almost all features of the MB91360 microcontroller series.
Along with the supplied Windows-based development tools, it can be used as a system for
user program developments.
The board can be configured as a target for the MB91360 emulation-system or as a standalone evaluation unit. When using the system in stand-alone mode, a monitor debugger is
available to allow high-level debugging using Softune Workbench.
All peripheral functions are available on external pin-headers in order to design and test user
applications cost- and time-effectively. For some resource functions, additional hardware is
already present on the board (e.g. CAN- and UART-transceivers, LEDs, Buttons, etc).
The included Windows-based Software “Softune Workbench” is an integrated front-end for
development and debugging. It allows fast development of “ANSI C”-based applications for
the evaluationboard. To get started quickly, a number of example projects and templates are
available.
Related documents such as “MB91360 Hardware Manual” are available and should always
be used in addition to this manual (see appendix).
<Software includes Softune Workbench, a set of tools (e.g. flashloader) and example
projects.
1.3 General Board Usage
The MB91360 Starterkit can be used as stand-alone evaluation board or as a target system
for the MB2197-01 In-Circuit-Emulator.
To use the board as stand-alone evaluation board, a pre-programmed flash device
(MB91F362 with monitor software) must be present inside the QFP-208 socket. The chip will
use the built-in monitor to handle communication with the PC and makes use of the 512k
SRAM onboard as program-memory for user’s application. This manual explains how to use
the MB91360 Starterkit as a stand-alone evaluation board.
To use the board as target for the In-Circuit-Emulator, unscrew the socket and remove the
MB91F362 from the socket. Be careful not to bend any pins of the chip! Using a vacuum
chip-handler is highly recommended.
Then mount the emulator probe-cable on top of the QFP-socket. Use the provided screws
and make sure the cable has the right orientation. Follow the emulator set-up manual on the
CD-ROM for any further steps.
Figure 1: Using the Starterkit as target board for the ICE
The board has three different “modes”, which are represented by the three reset-buttons
“USER”, “FLASH” and “MONITOR”.
By default, the board will startup in the “MONITOR”-mode, which automatically invokes the
debugger kernel. The board now can communicate with Softune Workbench. This means,
any application can be downloaded and debugged with all provided features such as
breakpoints, watches, single step etc. (see chapter “Softune Debugging Features”).
Once any code has been downloaded to SRAM, the application can also be executed
directly from a “USER” reset. The application will run without any intervention from the host
(e.g. breakpoints). This mode should mainly be used to test the application before
programming the entire contents to flash.
If finally the application has been transferred to flash-ROM, execution can start from the
flash-ROM using the “FLASH”-reset. This is the stand-alone mode for any user application.
As a last step, the board can be configured to start directly in the “FLASH”-mode after
power-on (by jumper JP34). This allows creating of a “real” stand-alone application.
Insert the provided CD-ROM, browse to the installation page and select the Installation
option for Softune Workbench. Follow the instructions to unpack and install Softune
Workbench for FR ,as well as some example projects and additional tools for the MB91360
Starterkit. It is recommended to use the default installation path C:\Softune.
After the installation, you will find all language tools, the IDE and other system files within the
directory Softune\Bin. Samples for the Starterkit can be found in the \smplFR directory. The
\tools directory contains additional software tools (flashloader etc.).
Execute “FR Family Softune Workbench” from your Start-Menu.
If any errors occur during installation, remove any previous versions of Softune Workbench
from your PC and retry. Make sure you have enough disk space available and you have a
supported Windows OS installed. For more information see the provided installation
information and last-minute information.
Refer to the getting started session (next chapter) for more details on how to use Softune
Workbench for developing and debugging.
Make sure you have Softune Workbench for FR installed on your PC and the evaluation
board is ready to use. For details refer to the Hardware and Software Installation chapters.
This chapter uses the available examples to illustrate some features of Softune Workbench.
3.1 Softune Workbench Development Introduction
Start Softune Workbench. Select “File – Open Project” to load the first example
“LEDdemo1.Prj”. In the project tree on the left side, you can open the “source”-folder which
contains the source-files registered to this project. A double-click on one of the files will
invoke the built-in editor, which supports syntax-highlighting, tags and various other
functions.
Figure 2: Softune Workbench Editor
You may customize the editor by a right-click on the editor window.
Whenever you make changes to your source-files, you have to re-compile and link the
related files to produce a valid loadmodule (ABS-file). This is done using the MAKE-function.
MAKE invokes the assembler, C-compiler and linker for FR whenever necessary (only the
changed files will be re-compiled).
If you wish to re-compile the entire project regardless of any changes, you can use the
BUILD-function. To check for syntax-errors on a specific source-file, use the
COMPILE/ASSEMBLE function.
These three functions are available on the button-bar or from the main menu (Project –
Compile / Make / Build / Abort).
Click on MAKE or BUILD. Messages from the individual language tools will be fed into the
output window at the bottom of the main screen. If the tool chain (C-compiler R Assembler R Linker) was completed successfully, the message “No Error” will appear.
If you get any errors during compilation, an appropriate message will be generated. Try this
with a simple syntax-error (e.g. delete a semicolon “;” from the end of a C-line) and click on
MAKE again. You will now see a message like this:
Now Making...
main.c
*** c:\softune\sample\..\leddemo1\src\main.c(43) E4062C: syntax error near `for'
------------------------------
Error detected.
------------------------------
To locate the position in the source-file, where the error has occurred, double-click on the
message. The editor will open the appropriate source-file, indicating the error highlighted in
red, depending on the customise settings of the editor. Correct the error and re-compile the
project as explained above.
If more errors occurred, you can go through the error list step by step using the menu “Edit –
Top/Previous/Next/Bottom Error” or using the appropriate buttons which have the same
functions:
To get on-line help about a specific error, select the error message and press F1. In many
cases, you can get some useful hints how to solve the problem. Of cource, you can also
use the HELP-menu anytime during development or debugging.
Whenever you have successfully created a valid load module, you may switch from the
development mode to the debugging mode of Softune Workbench.
Basically, there are 3 types of debugging systems supported :
1. The software simulator: This type of debugger is always present and does not
require any special hardware extensions. The simulator will cover the FR-core
features, but no peripheral functions. Therefore, you can use the simulator to
verify program flow, check for dynamic errors, look at the generated assembler
code and so on.
2. The monitor debugger: This debugger type requires an evaluation board like the
MB91360 Starterkit connected to one of the COM-ports of your PC. Therefore,
make sure you have the evaluation board connected and powered-up as
described before. Explanations in this manual refer to the monitor debugger only.
3. The emulator debugger: The in-circuit-emulator (ICE) is a system, which allows a
connection to any target system using a probe-cable. The appropriate system for
the MB91360 series is the MB2197-01 system. More information about this
system can be found on the Fujitsu Micros CD-ROM or on our website.
Which debugger is used for the actual project can be configured in the “Project – Setup –
Debug” menu:
Always verify the settings before you start debugging a new project ! The current “setup” is
indicated by the selected item in the “Available Setup Name” dropdown-box. The provided
examples contain 3 setups (simulate, emulate and monitor). Ensure “monitor” is selected.
Click on “monitor” in the “Setup Name List” and click “Change”. A debug setup wizard will
appear to guide you through the possible settings.
Make sure you are using the right COM-port number and Baudrate !
The default-settings for the monitor-debugger are fixed to :
COM-Port1 and 38400 Baud. Change the settings if necessary.