Fujitsu Microelectronics Europe
FMEMCU- UG-910006-13
User Guide
MB91360 SERIES
EVALUATION BOARD
STARTERKIT MB91360
USER GUIDE
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
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 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,
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, 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.
4.
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.
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 -
UG-910006-13
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Contents
Contents
REVISION HISTORY............................................................................................................ 2
CONTENTS.......................................................................................................................... 4
1 INTRODUCTION.............................................................................................................. 6
1.1 Abstract................................................................................................................... 6
1.2 Key Features........................................................................................................... 6
1.3 General Board Usage.............................................................................................. 7
1.4 Mode Selection ....................................................................................................... 8
2 INSTALLATION............................................................................................................... 9
2.1 Hardware Installation............................................................................................... 9
2.2 Software Installation.............................................................................................. 10
3 GETTING STARTED...................................................................................................... 11
3.1 Softune Workbench Development Introduction...................................................... 11
3.2 Softune Workbench Debugging Introduction ......................................................... 13
4.1 Basic debugger features........................................................................................ 15
4.2 Advanced debugger features................................................................................. 17
5 FLASH PROGRAMMING............................................................................................... 20
5.1 Generic Flash Programmer ................................................................................... 20
6 EVALUATION BOARD HARDWARE ............................................................................ 22
6.1 Board Components ............................................................................................... 22
6.2 Overview of Jumpers............................................................................................. 23
6.3 Connectors for resources and IO-signals............................................................... 25
7 APPENDIX..................................................................................................................... 29
7.1 Memory Mappings MB91F362............................................................................... 29
7.2 Tool options for own projects................................................................................. 31
7.3 Starterkit limitations............................................................................................... 32
7.4 Board Schematics ................................................................................................. 33
7.5 Silk Screen............................................................................................................ 36
7.6 PAL Listing .......................................................................................................... 37
UG-910006-13
- 4 -
© Fujitsu Microelectronics Europe GmbH
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Contents
7.7 Development tools and accessories.................................................................. 39
7.8 Related Documents............................................................................................. 40
7.9 Trouble Shooting................................................................................................. 41
© Fujitsu Microelectronics Europe GmbH
- 5 -
UG-910006-13
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 1 Introduction
1 Introduction
1.1 Abstract
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 stand-
alone 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).
1.2 Key Features
< Footprint QFP208 (0.5mm pitch) + socket for MB91F362 (or emulation socket),
surrounded by headers for test-pins etc.
< 4MHz and 32kHz crystal
< DC Power-supply circuit (incl. testpins for Vcc, GND, LED and switch)
< 512kB external SRAM available for user code and data
< External 16550 UART (supports transfer-rates up to 115.2 kBaud)
< 22V10-PAL for various control functions
< Resets (“Monitor”=Start monitor mode, “User”=exec user program from external
RAM, “Flash”=exec user program from flash-ROM)
< MAX232 + DB9 (female) connectors for monitor and internal UART
< CAN tranceiver and DB9 (male) for internal CAN0
< External Interrupt 0 and 1 connected to buttons for user interaction
< Various jumpers for individual configuration
< 2x16 char LCD (on Port G)
< 8 LEDs (on Port J)
< External bus and all resources logically grouped on pin-headers
UG-910006-13
- 6 -
© Fujitsu Microelectronics Europe GmbH
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 1 Introduction
< Area for extensions (2.54mm grid)
< Standard Euro-format (16x20 cm)
< Built-in monitor debugger (in Flash)
< 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
© Fujitsu Microelectronics Europe GmbH
- 7 -
UG-910006-13
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 1 Introduction
1.4 Mode Selection
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.
UG-910006-13
- 8 -
© Fujitsu Microelectronics Europe GmbH
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 2 Installation
2 Installation
2.1 Hardware Installation
What you’ll need :
<
<
Host : IBM(-comp) PC with Windows 9x or Windows NT ; 1 COM-port
Power Requirements: A power supply, capable of supporting 9-12V DC at about 500
mA. Note that the power connector must be + at the shield and - in the centre. Power
supplies are available from Fujitsu.
<
RS232 : An ‘extension’ (1:1) RS232 cable with DB9 m+f connectors
Connect the power-supply (9-12V DC-input) and the RS232-cable
and switch on the Starterkit.
LED D10 should light up (power-indicator)
and LED D11 flashing (reset indicator).
During the initialization phase
the red monitor LED is on.
After that, a start message from the monitor
(“91360-STARTERKIT MONITOR VxLx”)
will be displayed on the LCD and the green user LED will light up.
The board is now ready to use.
© Fujitsu Microelectronics Europe GmbH
- 9 -
UG-910006-13
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 2 Installation
2.2 Software Installation
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.
UG-910006-13
- 10 -
© Fujitsu Microelectronics Europe GmbH
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 3 Getting Started
3 Getting Started
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.
© Fujitsu Microelectronics Europe GmbH
- 11 -
UG-910006-13
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 3 Getting Started
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 → Assembler
→ 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.
UG-910006-13
- 12 -
© Fujitsu Microelectronics Europe GmbH
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 3 Getting Started
3.2 Softune Workbench Debugging Introduction
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.
3.
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.
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.
© Fujitsu Microelectronics Europe GmbH
- 13 -
UG-910006-13
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 3 Getting Started
If these settings are correct, start the debugger using “Debug – Start Debug”. You should
see a progress bar indicating the download process.
If nothing happens, there will be an error message after some time (“Invalid communication
status”). Double-check the settings again as explained above. Also make sure the
evaluation-board is powered on, ready to use and the RS232-cable is connected properly.
Also see the trouble-shooting section in the appendix.
After starting the debugger, additional windows will appear which contain
locate-arrows for each (possible) source-line, the original source-code,
Figure 3: SWB Debugging window
breakpoint-indicators and the assembler code (in “mixed view”). The actual program position
will be indicated by a yellow line.
ꢀ
You can choose “mixed view” from the context menu (right-click) to display source
and assembly code at the same time. To easily locate the actual line, use “go to current” !
UG-910006-13
- 14 -
© Fujitsu Microelectronics Europe GmbH
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 4 Details of the included Monitor-Debugger
4 Details of the included Monitor-Debugger
4.1 Basic debugger features
GO: Executes the program continuously from the memory location pointed to by the
current program counter (PC) until a termination factor occurs.
STEP IN: Executes the program stepwise according to the listing in the source
window (steps in C- or ASM). Note that Interrupts are disabled during step execution !
STEP OVER: Executes the program stepwise except call-instructions (which will be
executed until return). Interrupts are not disabled during a continuous CALL...RETURN
execution.
STEP OUT: Executes the program continuously to the parent function (until
RETURN). Interrupts are enabled. Note, that debug information is required for this function.
EXECUTE UNTIL CURSOR: Automatically sets a breakpoint at the actual cursor
position and executes continuously until this breakpoint, which will be deleted
afterwards.
Each valid code line in a debugger window automatically has a locator (blue arrow) and a
breakpoint-option (circle). Note that some C-lines may not be displayed with locators and
breakpoints, because the compiler has created “optimized” assembler-code. Select “mixed
view” in order to check the compiler output.
Instead of single-steps, you may also use the arrows to directly execute your program until a
certain line of your source-code :
© Fujitsu Microelectronics Europe GmbH
- 15 -
UG-910006-13
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 4 Details of the included Monitor-Debugger
ABORT: Forcibly terminates execution.
CAUTION: This function can be used in single code line operations only
(example: for(k=DELAY_CONSTANT; k>0; k--);) !!
To abort continous execution on the Starterkit, you have to use an external
interrupt. All examples provided use the „USER0“-button for this purpose. If you
wish to use the „USER0“-button for Abort, make sure you have the ABORT-option in
STARTUP.ASMenabled :
#define ABORT 1
ꢀ The USER0-button is an external interrupt source which will be initialized at the highest
priority. In the interrupt service routine (located in STARTUP.ASM) you will find a software
trap (INTE), which will force the debugger to stop at this specific point. You may use traps
also to intentionally stop in your code for debugging purposes.
UG-910006-13
- 16 -
© Fujitsu Microelectronics Europe GmbH
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 4 Details of the included Monitor-Debugger
4.2 Advanced debugger features
TOGGLE BREAKPOINT: Sets or deletes breakpoint at the current source line or :
To set or delete a breakpoint, click the circles at the beginning of a source-line. A
indicates an active eakpoint. Hit “go”
to execute until this line. A list all breakpoints
can be found under the “Debug – Breakpoint” menu. 255 Software-Breakpoints (using TRAP
replacement) are possible.
ꢀ To set breakpoints at positions which are currently not visible (e.g. because the source-
window of that module is not open), you can also enter a symbolic label directly in the
“Breakpoint” menu. Example: Enter “main” in the address-field and confirm. The new
breakpoint will automatically be assigned to the address of the “main()”-function.
REGISTER WINDOW: Displays the CPU-register window. Updated registers appear
in red. Setup in context menu defines which Registers should be displayed.
WATCH WINDOW: Displays the current variables to „watch“. Double-click on any
variable in your code then specify watch in context menu to add to watch window. All listed
variables in a watch window can be displayed in any number format. Use Edit to directly
change the contents.
Example: Open the Leddemo1-Project and execute until you see the first LED-pattern. Then
double-click on PDRJ in the debugger-window and select „watch“ in the context-menu. The
watch-window will appear and PDRJ will be added to any existing variables. Select PDRJ in
the watch window and choose „Edit“. Enter any value and confirm. You will now see the (8-
Bit) value displayed on the LEDs directly as binary code. This is because PDRJ is the output
latch of the LED-port (J).
MEMORY WINDOW: Displays memory areas in various formats defined by Setup
(context menu). Changing of address/data is possible when debugger is not executing.
Note : If you make changes to the ROM-area (080000..0FFFFF) it can affect the currently
loaded program !
DISASSEMBLER: Disassembles the contents of the code memory beginning from
actual PC position and displays the result in a separate window. Individual
assembler-lines can be changed using the „inline assemble“-function.
© Fujitsu Microelectronics Europe GmbH
- 17 -
UG-910006-13
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 4 Details of the included Monitor-Debugger
DEBUG - STACK: Displays the current stack contents in terms of function calls.
Parameters, if any, are given in brackets.
DEBUG - VECTOR: Reads out and displays the actual interrupt-vector table. Use the „jump“
function to display any code areas pointed to by an interrupt vector (e.g. interrupt service
routines used in your program).
DEBUG - CALL: This function can be used to „call“ any routine defined in your code when
the debugger is halted.
Example: Enter „LCDprinthex(0x1234,4)“ from any example project. The number 1234 will
appear on the LCD. The function-call will be terminated by showing the result (here : none).
You may restore the debugging context by „Clear call“ if execution was stopped during the
function-call. Note that this example assumes that „LCDinitdisp“ was executed before.
DEBUG – LOAD TARGET FILE: Starts a new download of the current load module (ABS
file). Usually this function will be executed automatically after starting the debugger (defined
in debug settings ; see „Project-Setup-Debug“). However, this function can be useful to re-
initialize the debugger for the current debug session.
VIEW - SYMBOL: This function displays all (global) symbols of the current project.
Information about the type (char, integer etc.) and the location (address in RAM or register)
can be shown using „detail“.
VIEW - LOCAL: Similar to View-Symbol, but only local variables of the current function are
shown.
VIEW - COMMAND: From this window, the debugger can be controlled using a command
line input. All GUI functions are available as individual commands.
Examples :
go
step
examine PDRJ
set break main
Dump/Halfword 100000..1000ff
Shortcuts to complex commands can be defined (“alias”) and parameter strings can be
substituted by variables.
Example:
candump = Dump/Halfword 100000..1000ff
A set of commands can be combined to a “macro”. Aliases and macros can be defined
using the command window context menu.
UG-910006-13
- 18 -
© Fujitsu Microelectronics Europe GmbH
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 4 Details of the included Monitor-Debugger
Example:
restart: set register PC=1f4000
set break main
go
In order to document or save debugging details such as memory contents, all outputs fed to
the command console can be written to a file (“logging”).
A whole “program” of commands (incl. flow control) can be written to a PRC-file and
executed. Procedure-files are simple text-files with the extension “.PRC” and can be created
by the Softune Workbench editor or any other text editor. To execute a procedure-file, use
the command window menu or the “file-open” menu during debugging.
ꢀ Procedure-files can be very helpful to automatically configure the debug-environment,
perform automated tests (e.g. when a new C-module has to be tested) or to enhance
basic emulator functions such as breakpoints. Using a procedure file, breakpoints can be
dynamically defined depending on program conditions. See the “Command Reference
Manual” (on-line help) for detailed information about the available command and
parameter syntax.
© Fujitsu Microelectronics Europe GmbH
- 19 -
UG-910006-13
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 5 Flash Programming
5 Flash Programming
Whenever your application has been developed, debugged and tested as explained in the
last chapter, it can be programmed to the internal flash ROM using the „MB91360 Flash
Programmer“. This tool is a general flash programming utility, which allows programming the
internal flash ROM without any restrictions given by the starterkit.
5.1 Generic Flash Programmer
The tool „MB91360 Flash Programmer“ is a general flash programming tool which does not
take care of the special features of this Starterkit. Therefore, it should be used to re-program
the monitor-kernel. On the CD-ROM, you will find some kernel files (MHX-format) which are
fixed for various baud rates. Make sure, you have the latest version available!
The tool can also be used to program any applications directly (without the possibility to
have any debugging functions later on). In this case, the evaluation board will act as a target
system only.
CAUTION: Take special care not to write anything to location 0FFEF4, the „security vector“.
If you do, you will not be able to re-program the device ever again! See the hardware manual
for details!
Make sure you have installed the Flash Programmer from your CD-ROM. The package
includes the executable (Flashprg.exe) as well as some binary files (Brloadxx.bin) and a
user’s guide (Flashprg.pdf).
Figure 4: MB91360 Flash Programmer
UG-910006-13
- 20 -
© Fujitsu Microelectronics Europe GmbH
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 5 Flash Programming
Follow these steps to use the MB91360 Flash Programmer :
1. Be sure to have the starterkit in Monitor (single-chip) mode. Check the position of the
jumpers and dip-switches onboard according to table1.
2. Connect the RS232-cable from any PC-COM-port to “UART0” (female UART
connector on the left side of the Starterkit - do NOT use the monitor COM
connector!).
3. Specify a (hex-)file in the “file to program”-field (use the browse-button to select).
This file must be a converted linker output file from Softune in the Motorola Hex-
Format “*.MHX” (for programming your own applications, be sure to have the load
module converter started in Softune Workbench to generate MHX-files !). For kernel
updates, select a MONxxx.MHX-file (xxx is the Starterkit-baudrate. E.g. :
MON115.MHX is the kernel for 115200 Baud).
4. Specify the COM-port and the desired baud rate for programming.
5. Click on Automatic Mode and press monitor reset on the Starterkit. The programming
sequence will be executed automatically.
CAUTION : DO NOT INTERRUPT THE FLASH PROGRAMMING OR CUT OFF THE
POWER DURING PROGRAMMING !
IT CAN DAMAGE THE FLASH ROM PERMANTENTLY !!!
6. After a successful programming procedure, hit monitor reset to re-initialize the
Starterkit and close the program. Do not forget to plug the RS232-cable back to
„Monitor COM“ if you want to use the monitor debugger again.
ꢀ The Flash Programmer uses the internal Boot-ROM functions instead of the monitor
kernel for flash programming.
For more information and trouble shooting, see the „MB91360 Serial flash programmer
user’s guide“ (Flashprg.pdf) which is included in the installation.
© Fujitsu Microelectronics Europe GmbH
- 21 -
UG-910006-13
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 6 Evaluation Board Hardware
6 Evaluation Board Hardware
6.1 Board Components
Socket QFP208 for
Microcontroller
MB91F361/2
Monitor UART and
RS232-connector
DC input
On/Off
JP16 : Analog
Ports (AD/DA)
JP15 : PWM and
Pulsgen. outputs
JP20 : INTs,
ICU and
Oscillators
512k SRAM
5V Regulator
JP14 : Serial
Interfaces
JP25 :
Addressbus and
MCU
Reset Circuit and
Reset-LED
Power-on LED
PAL
User-LEDs on
Port J
User buttons on
external Ints 0,1
RS232 driver
and connector
JP24 : Databus
LCD on Port
CAN
tranceiver and
CAN line slew rate
Prototyping
LCD
Mode
UG-910006-13
- 22 -
© Fujitsu Microelectronics Europe GmbH
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 6 Evaluation Board Hardware
The evaluation board provides various IO-signals, which can be connected to external
devices. The controller resource functions are available on the connectors JP14, JP15, JP16
and JP20.
External peripheral devices can be connected via the address/data bus on JP24 and JP25.
For more information please refer to the following pin assignments and the schematics in the
appendix.
6.2 Overview of Jumpers
Jumper
JP1
Description
Standard Setting ꢀ
Closed (Vcc supplied)
GND (X0A disabled)
X0 (Active)
Jumper Position
Closed
Main Vcc Net for MCU
32kHz-Oscillator
4 MHz-Oscillator
LPF for 32kHz-Oscillator
Clock Select Pin
Hardware Standby Pin
Select Source MD0
Test Mode Enable
LED enable
JP2
(2-3 closed) Right
(1-2 closed) Left
(2-3 closed) Up
(2-3 closed) Up
(2-3 closed) Up
(2-3 closed) Up
Open
JP3
JP4
Vcc (Enabled)
Vcc (4 MHz)
JP5
JP6
Vcc (Disabled)
Vcc (PAL)
JP7
JP8-10
JP13
JP17-19
JP22-23
JP26
JP27
JP28-29
JP30,31
JP32
JP33
JP34
MD2
Open (no test mode)
Closed (LEDs active)
Closed (A/D active)
Closed (Driver active)
Closed (enabled)
Closed (enable)
Closed (enable)
Closed (enable)
Open (disable)
Open (disable)
GND (Monitor mode)
GND
Closed
Analog Supply Voltage
Driver Supply Voltage
Serial Output 0 enable
Serial Input 0 enable
CAN0 driver enable
USER-buttons enable
Ext. UART int. enable
DTR reset enable
Power-up mode
Closed
Closed
Closed
Closed
Closed
Closed
Open
Open
(1-2 closed) Down
On (Upper Dip Pos)
On
Mode-Pin 2
MD1
Mode-Pin 1
GND
MD0
Mode-Pin 0
GND
On
BOOT
Boot-Pin
GND
On
Table 1: Selection jumpers on MB91360 Starterkit
© Fujitsu Microelectronics Europe GmbH
- 23 -
UG-910006-13
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 6 Evaluation Board Hardware
Jumper
JP12
JP14
JP15
JP16
JP20
JP25
JP24
Description
Vcc/Gnd array for testpurposes
Serial communication pins (UART0-3 , CAN0-2)
Puls generator outputs 0-7, Stepper motor (PWM) outputs 0-4
A/D inputs 0-7, Alarm comp. Input, Sound gen. Output, D/A outputs 0-1
External Interrupts 0-7, Input Capture 0-3, Output Compare 0-3, I2C
Adressbus A0-A20 and Bus-control signals
Databus D0-D31
Table 2: Grouped jumpers on MB91360 Starterkit
UG-910006-13
- 24 -
© Fujitsu Microelectronics Europe GmbH
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 6 Evaluation Board Hardware
6.3 Connectors for resources and IO-signals
MCU-pins are grouped according to their logical functions. See the hardware manual for
details on the resource functions.
JP16 :
Analog Inputs (ADC)
Analog Outputs (DAC)
Sound Generator
Alarm Comparator
JP20 :
External Interrupts,
Input Capture Units
Output Compare Units
I²C Interface
JP14 :
UARTs
Sync. serial interfaces
CANs
JP15 :
Stepper Motor Drivers
PWMs
Puls Generators
The available resource pins can also be used as general purpose IO-ports (using the Port-
function registers PFRx). See table below for details.
© Fujitsu Microelectronics Europe GmbH
- 25 -
UG-910006-13
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 6 Evaluation Board Hardware
Note: Address bus and data bus pins (JP24,25) cannot be used as IO-ports.
Jumper
JP16
Pin-No.
Pin Name
IO-Port Resource Function
064
065
066
067
068
069
070
071
072
073
074
077
080
126
127
075
076
AVCC
AVRH
AN0
-
Analog Vcc
-
Analog Reference High
ADC Input Channel 0
ADC Input Channel 1
ADC Input Channel 2
ADC Input Channel 3
ADC Input Channel 4
ADC Input Channel 5
ADC Input Channel 6
ADC Input Channel 7
Analog Reference Low
Alarm Comparator Input
ADC Trigger Input
PH0
PH1
PH2
PH3
PH4
PH5
PH6
PH7
-
AN1
AN2
AN3
AN4
AN5
AN6
AN7
AVSS
ALARM
ATGX
SGO
SGA
DA0
-
PI3
PM0
PM1
-
Sound Generator Output
Sound Generator Amplitude
DAC Output Channel 0
DAC Output Channel 1
DA1
-
JP20
094
INT0
PK0
Ext. Interrupt 0
095
096
097
098
099
100
101
102
103
104
105
106
INT1
INT2
INT3
INT4
INT5
INT6
INT7
IN0
PK1
PK2
PK3
PK4
PK5
PK6
PK7
PL0
PL1
PL2
PL3
PL4
Ext. Interrupt 1
Ext. Interrupt 2
Ext. Interrupt 3
Ext. Interrupt 4
Ext. Interrupt 5
Ext. Interrupt 6
Ext. Interrupt 7
ICU Input 0
IN1
ICU Input 1
IN2
ICU Input 2
IN3
ICU Input 3
OUT0
OCU Output 0
UG-910006-13
- 26 -
© Fujitsu Microelectronics Europe GmbH
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 6 Evaluation Board Hardware
Jumper
Pin-No.
107
Pin Name
IO-Port Resource Function
PL5 OCU Output 1
PL6 OCU Output 2
OUT1
OUT2
OUT3
SDA
108
109
PL7
OCU Output 3
128
PM2
PM3
I2C-Interface SDA
I2C-Interface SCL
129
SCL
JP14
146
147
148
149
150
151
152
153
154
155
156
157
130
131
132
133
134
135
TX0
PP0
PP1
PP2
PP3
PP4
PP5
PQ0
PQ1
PQ2
PQ3
PQ4
PQ5
PN0
PN1
PN2
PN3
PN4
PN5
CAN 0 TX
RX0
CAN 0 RX
TX1
CAN 1 TX
RX1
CAN 1 RX
TX2
CAN 2 TX
RX2
CAN 2 RX
SIN0
SOT0
SIN1
SOT1
SIN2
SOT2
SOT4
SIN4
SCK4
SIN3
SOT3
SCK3
UART 0 Input
UART 0 Output
UART 1 Input
UART 1 Output
UART 2 Input
UART 2 Output
SIO Output
SIO Input
SIO Clock
SIO Input
SIO Output
SIO Clock
JP15
136
137
138
139
140
141
142
143
OCPA0
OCPA1
OCPA2
OCPA3
OCPA4
OCPA5
OCPA6
OCPA7
PO0
PO1
PO2
PO3
PO4
PO5
PO6
PO7
PPG Output 0
PPG Output 1
PPG Output 2
PPG Output 3
PPG Output 4
PPG Output 5
PPG Output 6
PPG Output 7
© Fujitsu Microelectronics Europe GmbH
- 27 -
UG-910006-13
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 6 Evaluation Board Hardware
Jumper
Pin-No.
162
163
164
165
166
167
168
169
170
171
172
173
174
175
177
178
179
180
Pin Name
IO-Port Resource Function
PR0 SMC 0
PR1 SMC 0
PWM1P0
PWM1M0
PWM2P0
PWM2M0
HVDD
PR2
PR3
-
SMC 0
SMC 0
SMC Driver Vdd
SMC 1
PWM1P1
PWM1M1
PWM2P1
PWM2M1
HVSS
PR4
PR5
PR6
PR7
-
SMC 1
SMC 1
SMC 1
SMC Driver Vss
SMC 2
PWM1P2
PWM1M2
PWM2P2
PWM2M2
PWM1P3
PWM1M3
PWM2P3
PWM2M3
PS0
PS1
PS2
PS3
PS4
PS5
PS6
PS7
SMC 2
SMC 2
SMC 2
SMC 3
SMC 3
SMC 3
SMC 3
Table 3: Overview of available resource-functions and IO-ports on jumpers
UG-910006-13
- 28 -
© Fujitsu Microelectronics Europe GmbH
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 7 Appendix
7 Appendix
7.1 Memory Mappings MB91F362
7.1.1 MODE 000 (Single-Chip / Monitor Mode)
MB91F362 Memory Map
Recommended Mappings
Figure 5: Memory Mapping Single Chip Mode / Monitor Mode
© Fujitsu Microelectronics Europe GmbH
- 29 -
UG-910006-13
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 7 Appendix
7.2 Tool options for own projects
Valid load module files for MB91360 devices can only be achieved if the language tool
configuration is appropriate. If you use the provided samples or templates, you do not have
to worry about these settings.
The most convenient way to create own projects is to copy the provided Template-Project
from the sample-directory and use it as “blank sheet”. However, if you intend to create
projects “from scratch” without the template, the following settings are important.
Target MCU (“Project – Setup” menu) : make sure “MB91FV360” or “MB91F362” is selected
as the target MCU device.
Linker Settings (“Project – Setup tool options – Linker – Disposition”) : MB91360 devices
use a fixed memory map for code stored in Flash-ROM or data assigned to the internal
RAM. In addition, certain Flash-sectors have special meanings, such as the boot-sector
(application always starts from 0F4000) or the kernel of the debugger stored from 0F0000.
Therefore, make sure the following memory map is applied:
Memory Type
Data RAM
Used for
Stack
Area
Sections
STACK
3D000..3DFFF
3E000..3FFFF
080000..0EFFFF
0F0000..0F3FFF
Data RAM
Variables
User Code
Kernel
DATA, INIT
CODE
Flash ROM
FlashROM
1.1.1.1.1 Reserved !
FlashROM
Boot-Sector,
constants
vectors
0F4000..0FFFFF
START,
@INIT, VECTORS
CONST,
and
Table 4: Memory Map
Your linker settings should look like this:
-ro CODE_AREA=0x00080000/0x000EFFFF
-ro ROM_AREA=0x000F4000/0x000FFFFF
-ra STACK_AREA=0x0003D000/0x0003DFFF
-ra RAM_AREA=0x0003E000/0x0003FFFF
-sc STACK/Stack=STACK_AREA
-sc DATA/Data+INIT=RAM_AREA
-sc CODE/Code=CODE_AREA
-sc START+CONST+@INIT=ROM_AREA
Also refer to the detailed memory maps in the appendix.
ꢀ Always check the “map”-file (use the context menu in the project-view and select “open
list file”) to see the used sections and addresses !
© Fujitsu Microelectronics Europe GmbH
- 31 -
UG-910006-13
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 7 Appendix
7.3 Starterkit limitations
If creating new projects, be sure not to use the following functions, which are reserved for
the MB91360 Starterkit:
< Flash-ROM area 0F0000..0F3FFF (reserved for Monitor kernel)
< Port G / upper ADC inputs (used for LCD and mode input)
< Security-Vector (used to call the kernel in Monitor mode)
< External Interrupt 0 (used for Abort function)
< Chip selects 0,2 and 7 (used for MCU and board hardware)
< External memory space 200000..3FFFFF (used for board hardware)
UG-910006-13
- 32 -
© Fujitsu Microelectronics Europe GmbH
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 7 Appendix
UG-910006-13
- 34 -
© Fujitsu Microelectronics Europe GmbH
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 7 Appendix
© Fujitsu Microelectronics Europe GmbH
- 35 -
UG-910006-13
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 7 Appendix
7.6 PAL Listing
;PALASM Design Description
;---------------------------------- Declaration Segment ------------
TITLE STK360_1.PDS
PATTERN A
REVISION 1.3
AUTHOR
M.MIERSE
COMPANY FUJITSU MIKROELEKTRONIK GMBH
DATE
CHIP
20/09/99
STK360 PAL22V10
; -------------------------------- Revision History ----------------
;
; 20.11.98 V1.0 First Version
; 17.02.99 V1.1 Rem-Req and ext. UART Mapping changed
; 16.03.99 V1.2 UART-Reset changed to high-active
; 20.09.99 V1.3 UART-CS changed for ext.bus mode
;
;---------------------------------- PIN Declarations ---------------
PIN 1
RESETIN
DEFAULT
AUXIN
A19
COMBINATORIAL
COMBINATORIAL
COMBINATORIAL
COMBINATORIAL
COMBINATORIAL
COMBINATORIAL
COMBINATORIAL
COMBINATORIAL
COMBINATORIAL
COMBINATORIAL
COMBINATORIAL
COMBINATORIAL
; INPUT
; INPUT
; INPUT
; INPUT
; INPUT
; INPUT
; INPUT
; INPUT
; INPUT
; INPUT
; INPUT
;
PIN 2
PIN 3
PIN 4
PIN 5
A20
PIN 6
CS0
PIN 7
CS2
PIN 8
MONRES
FLASHRES
USERRES
DTR
PIN 9
PIN 10
PIN 11
PIN 13
PIN 12
PIN 14
PIN 15
PIN 16
PIN 17
PIN 18
PIN 19
PIN 20
PIN 21
PIN 22
PIN 23
PIN 24
UNUSED1
GND
UARTRES
MASTRES
CSRAM
CSUART
MODE
COMBINATORIAL
COMBINATORIAL
COMBINATORIAL
COMBINATORIAL
COMBINATORIAL
COMBINATORIAL
REGISTERED
; OUTPUT
; OUTPUT
; OUTPUT
; OUTPUT
; OUTPUT
; OUTPUT
; INT. FLAG
; OUTPUT
; OUTPUT
; OUTPUT
PG5
PONFLAG
LEDGRN
LEDYEL
LEDRED
VCC
COMBINATORIAL
COMBINATORIAL
COMBINATORIAL
; -----------------------------------------------------------------------
; --------------------- OUTPUT EQUATIONS ------------------------------
; -----------------------------------------------------------------------
© Fujitsu Microelectronics Europe GmbH
- 37 -
UG-910006-13
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 7 Appendix
EQUATIONS
; -----------------------------------------------------------------------
; Power-on Indicator (Flip-Flop) :
; -----------------------------------------------------------------------
PONFLAG.CLKF = RESETIN
PONFLAG := 1
; Power-on-Flag ist 0 at Pon ; otherwise 1
; -----------------------------------------------------------------------
; Equations for Modes (Reset-States) :
; -----------------------------------------------------------------------
; --------------------> LEDRED is indicating the Monitor-Reset state, if
LEDRED = USERRES * FLASHRES * /MONRES
+ /DTR
; Mon-reset button pressed
; or uart-reset (DTR line low)
; or Power-on (Default-Mode=Mon)
; (hold-condition)
+ (/PONFLAG * /DEFAULT)
+ /LEDGRN * /LEDYEL
; --------------------> LEDGRN is indicating the User-Reset state, if
LEDGRN = /USERRES * FLASHRES * MONRES
+ (A20 * /A19 * /CS2)
; User-Reset button pressed
; or Remote-User-reset request
; (hold-condition)
+ /LEDYEL * /LEDRED
; --------------------> LEDYEL is indicating the Flash-Reset state, if
LEDYEL = USERRES * /FLASHRES * MONRES
+ (/PONFLAG * DEFAULT)
; Flash-Reset button pressed
; or Power-on (Default-Mode=Flash)
; (hold-condition)
+ /LEDGRN * /LEDRED
MODE = LEDGRN
PG5 = LEDYEL
; Mode-Pin (MD0) is 1, if User-Reset state, otherwise 0
; Flash-Ind-Pin is 1, if Flash-Reset state, otherwise 0
UARTRES = /RESETIN * LEDRED ; UART-reset only if Monitor-Reset
; -----------------------------------------------------------------------
; Reset-Request : Toggles the Masterreset-input (MAX811), if
; -----------------------------------------------------------------------
/MASTRES =
((/MONRES + /USERRES + /FLASHRES) * RESETIN) ; Buttons pressed
+ (( LEDGRN * /A19 * A20 ) * RESETIN)
+ ((/DTR ) * RESETIN)
; or Rem-Request
; or DTR low
; -----------------------------------------------------------------------
; Memory-Mapping Equations :
; -----------------------------------------------------------------------
UG-910006-13
- 38 -
© Fujitsu Microelectronics Europe GmbH
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 7 Appendix
; SRAMS active in areas :
/CSRAM = (/A20 * A19 * /CS0)
; 08:0000...0F:FFFF (CS0)
; 18:0000...1F:FFFF (CS0)
; 38:0000...3F:FFFF (CS2)
+ ( A20 * A19 * /CS0)
+ ( A20 * A19 * /CS2)
; UART-Area = 20:0000...27:FFFF (CS0 in Monitor-mode or CS2 in USER mode)
/CSUART =
(LEDRED * /A20 * /A19 * /CS0) ; CS0 in Mon-Mode
+ (LEDGRN * /A20 * /A19 * /CS2) ; CS2 in User-Mode
7.7 Development tools and accessories
In-Circuit Emulation Tools for MB91360 Series:
Emulation Main Unit
Emulation Board
MB2197-01
MB2197-120
Emulation Header (Probe)
Evaluation Device
Evaluation Board
MB2197-127
MB91FV360GCR
StarterkitMB91360
In-Circuit Emulation Tools for MB91100 Series:
Emulation Main Unit
RAM Stack
MB2197-01
FR-RAM-STACK1-100P-M06
MB2197-111
Header
Header
MB2197-112
Header
MB2197-115
Evaluation Device
Evaluation Board
MB91V10x(A)CR
StarterkitMB91100
Accessories:
Serial Cable
Extension type
QFP208 Socket
Socket IC Lid
NQ-PACK208SD
HQ-PACK208SD
ICE-socket adapter
Test-PCB for Starterkit
Power supply
YQ-PACK208SD
QFP208 footprint to 2.54mm pin rows
9-12V DC (0.5A)
© Fujitsu Microelectronics Europe GmbH
- 39 -
UG-910006-13
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 7 Appendix
7.8 Related Documents
Available manuals for MB91360 series :
1. MB91360 Hardware Manual
2. MB91F36X Datasheet (General Specification)
3. FR Family C-Compiler Manual
4. FR Family Instruction Manual
5. FR Family Assembler Manual
6. FR Family Simulator Manual
7. FR Family Emulator Manual
8. FR Family Linkage Kit Manual
9. FR Family Softune Workbench Manual
Note : All documents are available from the provided CD-ROM, Fujitsu’s Microcontroller CD-
ROMs or from our web-site.
UG-910006-13
- 40 -
© Fujitsu Microelectronics Europe GmbH
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 7 Appendix
7.9 Trouble Shooting
Problem
Solution
Evaluationboard does not
initialize after power-on.
Check voltage supply and jumpers :
ꢀ The voltage on DC-Power plug
LED D10 (Power indicator) does should be in the range of 9-12V. The
not light up and the LC-display
remains empty.
plug should have + on shield and – on
the center. LED D10 should light up
after switching on the board. Use a
multimeter to see whether 5V are
present on the Vcc/Gnd terminals (TP2
and TP3).
ꢀ Check jumper positions according to
table 1 (Esp. : JP1 – JP7) !
ꢀ Remove all user extensions on the
board to avoid shorts !
Evaluationboard stays in reset.
ꢀ LED D11 (Reset) should flash. If D11
LED D11 (Reset indicator) ligths lights up permantantly, the voltage is too
up permanently.
low (below 4.25V) - Increase the voltage
to solve the problem.
ꢀ JP33 (DTR reset) should be left
open. This option allows to reset the
board from a connected PC using the
DTR line (not used by Softune WB).
ꢀ Remove all user extensions on the
board to avoid shorts or leakage
currents !
After power-on, the initial
monitor-message is not shown
on the LCD.
ꢀ Check JP34 (default-mode) : This
jumper should be in the lower position
(Monitor mode). In the upper position,
the board will call the user program in
Flash-ROM directly and will not show
the message.
ꢀ Maybe the monitor-kernel has been
destroyed. Try to re-program the kernel
as desribed in the „flash programming“-
section.
ꢀ Check all jumper positions (table 1).
ꢀ Adjust the LCD contrast using
potentiometer RV1.
The communication from
Softune Workbench to the
ꢀ Make sure your COM-port number
and the baudrate settings are correct
© Fujitsu Microelectronics Europe GmbH
- 41 -
UG-910006-13
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 7 Appendix
Problem
Solution
evaluation board fails
(Communication errors)
(see debugger introduction).
ꢀ Make sure no other programs are
using the same COM-port on your PC.
Close all other applications (e.g. Flash
programmer utilities, terminals etc.)
ꢀ Use the provided RS232-cable (1:1
extension type) to connect from your PC
to the „Monitor COM“ connector.
ꢀ If you are using a PC without a fast
UART (16550 type), you have to switch
to a lower baudrate (e.g. 38400 Baud)
and re-program the kernel according to
this baudrate (see „flash programming“
section).
The program stops at the label
„uninitialized interrupt !“
ꢀ Before downloading a new project to
the evaluation board, re-initialize using
the Monitor-Reset. This will erase all
valid interrupt definitions from previous
programs executed on the starterkit.
ꢀ Make sure you haven’t enabled any
interrupts that have no interrupt handler
(see the INTVECT.INCfile) !
Note : Since the „Abort“-function uses
the external interrupt 0, interrupts are
usually enabled !
Hardware units such as LEDs,
ꢀ Make sure you have enabled these
user buttons, UART0 or CAN are units on the evaluation board using the
not working.
appropriate jumpers (e.g. JP13 for
LEDs). See the provided examples and
the hardware manual for information on
how to control the peripherals.
CAN devices do not respond
ꢀ Adjust the potentiometer RV2 (slew
rate) according to the line.
Table 5: Trouble Shooting
For more information see the Softune Workbench on-line help, the provided manuals, last
minute information and additional or updated documentation on our web-site.
UG-910006-13
- 42 -
© Fujitsu Microelectronics Europe GmbH
Download from Www.Somanuals.com. All Manuals Search And Download.
STARTERKIT MB91360
Chapter 7 Appendix
7.10 Figures
Figure 1: Using the Starterkit as target board for the ICE.......................................................7
Figure 5: Memory Mapping Single Chip Mode / Monitor Mode............................................. 29
7.11 Tables
Table 5: Trouble Shooting.................................................................................................... 42
-- END --
© Fujitsu Microelectronics Europe GmbH
- 43 -
UG-910006-13
Download from Www.Somanuals.com. All Manuals Search And Download.
|