Download Print this page

Fujitsu MB91360 User Manual

Mb91360 series starterkit
Hide thumbs

Advertisement

Quick Links

Fujitsu Microelectronics Europe
FMEMCU- UG-910006-13

User Guide

MB91360 SERIES
EVALUATION BOARD
STARTERKIT MB91360
USER GUIDE

Advertisement

loading

  Also See for Fujitsu MB91360

  Summary of Contents for Fujitsu MB91360

  • Page 1: User Guide

    Fujitsu Microelectronics Europe FMEMCU- UG-910006-13 User Guide MB91360 SERIES EVALUATION BOARD STARTERKIT MB91360 USER GUIDE...
  • Page 2: Revision History

    Revision History Date 1999 1.0 MM First draft 2001 1.2 MM 09 July 2003 V1.3, MSt new format, Info about MB91F361 removed This document contains 43 pages. UG-910006-13 STARTERKIT MB91360 Revision History Issue - 2 - © Fujitsu Microelectronics Europe GmbH...
  • Page 3: 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...
  • Page 4: Table Of Contents

    MODE 001 (External Bus / User Mode) ... 30 Tool options for own projects... 31 Starterkit limitations ... 32 Board Schematics ... 33 Silk Screen ... 36 PAL Listing ... 37 UG-910006-13 STARTERKIT MB91360 Contents - 4 - © Fujitsu Microelectronics Europe GmbH...
  • Page 5 Development tools and accessories... 39 Related Documents... 40 Trouble Shooting... 41 7.10 Figures 43 7.11 Tables 43 © Fujitsu Microelectronics Europe GmbH STARTERKIT MB91360 Contents - 5 - UG-910006-13...
  • Page 6: Introduction

    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.
  • Page 7: General Board Usage

    < 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.
  • Page 8: Mode Selection

    “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...
  • Page 9: Installation

    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 <...
  • Page 10: 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.
  • Page 11: Getting Started

    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...
  • Page 12 Of cource, you can also use the HELP-menu anytime during development or debugging. UG-910006-13 STARTERKIT MB91360 Chapter 3 Getting Started - 12 - © Fujitsu Microelectronics Europe GmbH...
  • Page 13: Softune Workbench Debugging Introduction

    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.
  • Page 14 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 STARTERKIT MB91360 Chapter 3 Getting Started - 14 - © Fujitsu Microelectronics Europe GmbH...
  • Page 15: Details Of The Included Monitor-Debugger

    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 STARTERKIT MB91360 - 15 -...
  • Page 16 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 STARTERKIT MB91360 - 16 - © Fujitsu Microelectronics Europe GmbH...
  • Page 17: Advanced Debugger Features

    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 STARTERKIT MB91360 to execute until this line. A list of all breakpoints...
  • Page 18 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...
  • Page 19 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 STARTERKIT MB91360 set register PC=1f4000 - 19 -...
  • Page 20: 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.
  • Page 21 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...
  • Page 22: Evaluation Board Hardware

    UG-910006-13 STARTERKIT MB91360 Chapter 6 Evaluation Board Hardware Socket QFP208 for Microcontroller Monitor UART and MB91F361/2 - 22 - © Fujitsu Microelectronics Europe GmbH RS232-connector JP15 : PWM and Pulsgen. outputs Oscillators 512k SRAM JP25 : Addressbus and Reset Circuit and...
  • Page 23: Overview Of Jumpers

    JP34 Power-up mode Mode-Pin 2 Mode-Pin 1 Mode-Pin 0 BOOT Boot-Pin Table 1: Selection jumpers on MB91360 Starterkit © Fujitsu Microelectronics Europe GmbH STARTERKIT MB91360 Chapter 6 Evaluation Board Hardware Standard Setting Closed (Vcc supplied) GND (X0A disabled) X0 (Active)
  • Page 24 External Interrupts 0-7, Input Capture 0-3, Output Compare 0-3, I JP25 Adressbus A0-A20 and Bus-control signals JP24 Databus D0-D31 Table 2: Grouped jumpers on MB91360 Starterkit UG-910006-13 STARTERKIT MB91360 Chapter 6 Evaluation Board Hardware - 24 - © Fujitsu Microelectronics Europe GmbH...
  • Page 25: Connectors For Resources And Io-Signals

    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...
  • Page 26 Ext. Interrupt 2 Ext. Interrupt 3 Ext. Interrupt 4 Ext. Interrupt 5 Ext. Interrupt 6 Ext. Interrupt 7 ICU Input 0 ICU Input 1 ICU Input 2 ICU Input 3 OCU Output 0 - 26 - © Fujitsu Microelectronics Europe GmbH...
  • Page 27 SCK3 JP15 OCPA0 OCPA1 OCPA2 OCPA3 OCPA4 OCPA5 OCPA6 OCPA7 © Fujitsu Microelectronics Europe GmbH STARTERKIT MB91360 Chapter 6 Evaluation Board Hardware IO-Port Resource Function OCU Output 1 OCU Output 2 OCU Output 3 I2C-Interface SDA I2C-Interface SCL CAN 0 TX...
  • Page 28 SMC 0 SMC Driver Vdd SMC 1 SMC 1 SMC 1 SMC 1 SMC Driver Vss SMC 2 SMC 2 SMC 2 SMC 2 SMC 3 SMC 3 SMC 3 SMC 3 - 28 - © Fujitsu Microelectronics Europe GmbH...
  • Page 29: Appendix

    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...
  • Page 30: Mode 001 (External Bus / User Mode)

    STARTERKIT MB91360 Chapter 7 Appendix 7.1.2 MODE 001 (External Bus / User Mode) MB91F362 Memory Map Recommended Mappings Figure 6: Memory Mapping External Mode / User Mode UG-910006-13 - 30 - © Fujitsu Microelectronics Europe GmbH...
  • Page 31: Tool Options For Own Projects

    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.
  • Page 32: Starterkit Limitations

    < 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 STARTERKIT MB91360 Chapter 7 Appendix - 32 - © Fujitsu Microelectronics Europe GmbH...
  • Page 33: Board Schematics

    STARTERKIT MB91360 Chapter 7 Appendix 7.4 Board Schematics © Fujitsu Microelectronics Europe GmbH - 33 - UG-910006-13...
  • Page 34 STARTERKIT MB91360 Chapter 7 Appendix UG-910006-13 - 34 - © Fujitsu Microelectronics Europe GmbH...
  • Page 35 STARTERKIT MB91360 Chapter 7 Appendix © Fujitsu Microelectronics Europe GmbH - 35 - UG-910006-13...
  • Page 36: Silk Screen

    STARTERKIT MB91360 Chapter 7 Appendix 7.5 Silk Screen UG-910006-13 - 36 - © Fujitsu Microelectronics Europe GmbH...
  • Page 37: Pal Listing

    MASTRES CSRAM CSUART MODE PONFLAG LEDGRN LEDYEL LEDRED ; ----------------------------------------------------------------------- ; --------------------- OUTPUT EQUATIONS ; ----------------------------------------------------------------------- © Fujitsu Microelectronics Europe GmbH STARTERKIT MB91360 Chapter 7 Appendix COMBINATORIAL ; INPUT COMBINATORIAL ; INPUT COMBINATORIAL ; INPUT COMBINATORIAL ; INPUT COMBINATORIAL ; INPUT COMBINATORIAL ;...
  • Page 38 ; User-Reset button pressed ; or Remote-User-reset request ; (hold-condition) ; Flash-Reset button pressed ; or Power-on (Default-Mode=Flash) ; (hold-condition) ; UART-reset only if Monitor-Reset ; or Rem-Request ; or DTR low - 38 - © Fujitsu Microelectronics Europe GmbH...
  • Page 39: Starterkitmb91360

    ; UART-Area = 20:0000...27:FFFF (CS0 in Monitor-mode or CS2 in USER mode) /CSUART = (LEDRED * /A20 * /A19 * /CS0) + (LEDGRN * /A20 * /A19 * /CS2) 7.7 Development tools and accessories In-Circuit Emulation Tools for MB91360 Series: Emulation Main Unit Emulation Board Emulation Header (Probe) Evaluation Device...
  • Page 40: Related Documents

    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 -...
  • Page 41: Trouble Shooting

    After power-on, the initial monitor-message is not shown on the LCD. The communication from Softune Workbench to the © Fujitsu Microelectronics Europe GmbH STARTERKIT MB91360 Chapter 7 Appendix Solution Check voltage supply and jumpers : The voltage on DC-Power plug should be in the range of 9-12V.
  • Page 42 (e.g. JP13 for LEDs). See the provided examples and the hardware manual for information on how to control the peripherals. Adjust the potentiometer RV2 (slew rate) according to the line. - 42 - © Fujitsu Microelectronics Europe GmbH...
  • Page 43: Figures

    Figure 6: Memory Mapping External Mode / User Mode ... 30 7.11 Tables Table 1: Selection jumpers on MB91360 Starterkit... 23 Table 2: Grouped jumpers on MB91360 Starterkit ... 24 Table 3: Overview of available resource-functions and IO-ports on jumpers ... 28 Table 4: Memory Map ... 31 Table 5: Trouble Shooting...