Fujitsu DevKit16 User manual

FUJITSU MICROELECTRONICS EUROPE
Development tools for 16LX Family
DevKit16
User Guide
Version
VersionVersion
Version
1.28

DEVELOPMENT TOOLS FOR 16LX FAMILY
DevKit16 User Guide

Table of Content
What is in this Guide.........................................................................................................................4
What is not included in this guide ...............................................................................................5
Where to find news, options, next beans, next CPU boards, latest FAQ and support ...........5
What is included in DevKit16...........................................................................................................6
Hardware .......................................................................................................................................6
Software..........................................................................................................................................6
DevKit16 Features and Technical Specification ............................................................................8
5 in 1 combo of HW features........................................................................................................8
Additional HW features................................................................................................................8
Open HW architecture..................................................................................................................9
Getting Started ................................................................................................................................10
Technical requirements to run software...................................................................................10
HW installation............................................................................................................................10
Default settings for SOFTUNE ..................................................................................................11
Default settings for Processor Expert(TM)...............................................................................12
DevKit16 SW overview...............................................................................................................12
Softune WorkBench....................................................................................................................12
PROCESSOR EXPERT(TM)....................................................................................................12
SW installation ............................................................................................................................15
Get it running ..............................................................................................................................16
Design application with Processor Expert(TM) and run it using Softune Workbench monitor
debugger.......................................................................................................................................16
Run first application using Softune WorkBench and FUJITSU monitor debugger............16
Run first application using Processor Expert(TM)and its Debugger&Kernel ........................17
Processor Expert tutorial............................................................................................................19
Create your own tutorial (step by step).....................................................................................19
Application Debug ..........................................................................................................................22
Software debuggers.....................................................................................................................22

Benefits of DevKit16 for software debugging..........................................................................23
Softune Workbench and Fujitsu monitor debugger..............................................................24
Processor Expert(TM) debug kernel features .............................................................................25
Flash It!...........................................................................................................................................27
Overview of DevKit16 FLASH programming tool .................................................................27
Installing the FLASH programming tool..................................................................................28
Installing the FLASH programming tool..................................................................................28
Starting the FLASH programming tool....................................................................................28
Description of controls................................................................................................................28
Commonly used settings of the controls....................................................................................30
Necessary Devkit16 mainboard HW settings............................................................................31
How to burn user program into the FLASH............................................................................31
How to burn the SOFTUNE debug monitor.............................................................................32
How to burn the PE debug kernel.............................................................................................33
How to burn the CPU FLASH without Devkit16.....................................................................34
Running burned program ..........................................................................................................35
FlashTool commands - parameters ...........................................................................................35
Notes .............................................................................................................................................35
Error Messages:...........................................................................................................................36
Processor Expert beans IntFLASH and ExtFLASH – runtime support of FLASH access
and design time checks................................................................................................................37
CPU board for MB90F543 description..........................................................................................38
CPU Board overview...................................................................................................................38
Connectors ...................................................................................................................................39
Jumpers, buttons and switches .................................................................................................42
Default jumper settings...............................................................................................................45
Main board description...................................................................................................................46
Main board overview..................................................................................................................46
Memories......................................................................................................................................48
FPGA............................................................................................................................................48
CAN interfaces.............................................................................................................................48
UART interfaces..........................................................................................................................48
LED Diodes..................................................................................................................................49
Audio amplifier and speaker......................................................................................................49
Connectors ...................................................................................................................................50

Switches........................................................................................................................................53
Jumpers........................................................................................................................................55
The Mainboard Programmer‘s Reference....................................................................................61
Register addresses and chip selects............................................................................................61
Interrupts.....................................................................................................................................61
Simulated CPU ports (P0, P1, P2, P3 of Fujitsu FLASH CPU)..............................................62
Add-on FPGA ports....................................................................................................................63
Add-on FPGA output-only port.................................................................................................64
User UART...................................................................................................................................65
I2C.................................................................................................................................................67
Keyboard controller....................................................................................................................70
LED display .................................................................................................................................71
FPGA EEPROM .........................................................................................................................71
System control registers..............................................................................................................73
Default jumper settings...............................................................................................................81
What to do if ...................................................................................................................................82
Get the most from DevKit16 ...........................................................................................................84
Download the current SW and HW updates............................................................................84
Check the net for newest beans..................................................................................................84
DevKit16 Power Supply Requirements ..........................................................................................85
Warranty and Disclaimer ...............................................................................................................86
Revision and Error List ..................................................................................................................88
Appendix..........................................................................................................................................90

4
44
4
What is in this Guide
What you’ll find inside this guide and few words about its
organization
evKit16 is designed to help you to design applications with FUJITSU
16LX MCU family members. This guide should lead you – step by
step - to get your results soon. You could print a copy of this document
for further use, when you start work with the DevKit16 boards.
DevKit16 provides a lot of features, so this guide introduces them using top-
down approach. The guide describes how to use DevKit16 for the 16LX series
MCU, allowing to get acquainted with the methods for developing and
debugging 16LX-driven applications.
Chapter 2: What is included in DevKit16 provides brief information which
HW and SW tools are included in package.
Chapter 3: DevKit16 features and technical specification provides
necessary technical and operational information
Chapter 4: Getting Started explains how to run your first application on
DevKit16 including all steps and HW and SW installation.
Chapter 5: Debug application explains methods how to debug your
application on DevKit16.
Chapter 6: FLASH It! explains how to store final application in DevKit16
CPU or external FLASH.
Chapter 7,8: CPU Board Description and Main board Description provide
explanation how to control the DevKit16 configurations and detailed
description of CPU and main board including all DIP switches, jumpers and
connectors.
Chapter 9: Introduction to SW tools explains, what the DevKit16 SW tools
could do for you.
Chapter
1
D

5
55
5
Chapter 10: Main board Programmers Reference includes description of
FPGA registers and their function.
Chapter 11: How to… includes hints for DevKit16 operation, which you
should check before call technical support.
Chapter 12: Get the most from DevKit16 provides hints and tips how to
benefit from DevKit16 and its options
Chapter 13: Power supply requirements
Chapter 14: Revisions and errors list
Appendix includes schematics of DevKit16 and other technical references
WHAT IS NOT INCLUDED IN THIS GUIDE
This guide is not detailed manual for the CPU, parts and software tools. Please
find more in the following resources:
MCU, Softune Workbench and tools – FUJITSU Micros CD ROM (Ver 3.0 or higher)
Processor Expert(TM) and tools – DEVKIT16 Software CD ROM
Parts and other HW components – datasheets of their producers
WHERE TO FIND NEWS, OPTIONS, NEXT BEANS,
NEXT CPU BOARDS, LATEST FAQ AND SUPPORT
Please visit DevKit16 WEB site www.processorexpert.com/devkit16 for news
and giveaways. You could also register in order to obtain news by mail.
For MCUs and Fujitsu technologies please visit FUJITSU WEB site
www.fujitsu-fme.com.
When you need additional CPU personality board please call your nearest
FUJITSU subsidiary or authorized FUJITSU distributor. You should specify:
•version of CPU you need
•whether you need CPU to be soldered or mounted in a socket. Socket version is
provided in order to allow use of FUJITSU emulator

6
66
6
What is included in
DevKit16
Brief overview of what you’ll find inside DevKit16 package
DevKit16 package contains both HW boards and SW tools on CD.
HARDWARE
The DevKit16 HW includes
•CPU personality board (default for MB90F543 MCU)
•Main board
•Serial cable to connect PC and DevKit16
When you need additional CPU board please call your nearest FUJITSU
subsidiary or authorized FUJITSU distributor. According to your request there
are available CPU boards with soldered CPU or with 100pin socket. Socket
versions are intended to support FUJITSU emulator.
SOFTWARE
Two CDs are included in package.
•CD 1: FUJITSU Micros Documentation & Software
•CD 2: DevKit16 Software
CD 1 includes all the
•MCUs informations
•Softune Workbench with C compiler, assembler, linker and other tools.
CD 2 provides tools for Rapid Application Development support on DevKit16.
Chapter
2

7
77
7
•Fujitsu Monitor Debugger for MB90F543 to provide debug for Softune on
DevKit16
•Processor Expert(TM)
•Bean Wizard
•Processor Expert(TM) Debug Kernel for MB90F543
•DevKit16 FLASH Programming tool

8
88
8
DevKit16 Features
and Technical
Specification
This chapter introduces features of DevKit16 and provides
necessary technical and operational information for
DevKit16.
he FUJITSU DevKit16 concentrates the combination of five most
requested HW development kits features:
5 IN 1 COMBO OF HW FEATURES
•Standard Starter Kit
•FLASH Development Kit
•CAN Development Kit
•Application Board
•Rapid Hardware Prototyping
ADDITIONAL HW FEATURES
•Open HW architecture
•Keeps CPU resources available for user
•Supports single chip debug for CPUs from 16LX family with External Bus
Interface
•Supports jumperless CPU mode control
Chapter
3
T
Table of contents
Other Fujitsu Tools manuals


















