Download Print this page

Fujitsu MB91460 Series Application Note

Hide thumbs

Advertisement

Quick Links

Fujitsu Microelectronics Europe
MCU-AN-300029-E-V11
Application Note
FR FAMILY
32-BIT MICROCONTROLLER
MB91460 SERIES
MB91461R EMULATION
APPLICATION NOTE

Advertisement

loading

  Related Manuals for Fujitsu MB91460 Series

  Summary of Contents for Fujitsu MB91460 Series

  • Page 1 Fujitsu Microelectronics Europe MCU-AN-300029-E-V11 Application Note FR FAMILY 32-BIT MICROCONTROLLER MB91460 SERIES MB91461R EMULATION APPLICATION NOTE...
  • Page 2: Revision History

    MB91461 Emulation Revision History Revision History Date Issue 2006-04-27 V1.0 MVo – Initial version 2007-04-26 V1.1 MVo – updates based on template “91460_template_91461r-v14” This document contains 23 pages. MCU-AN-300029-E-V1 - 2 - © Fujitsu Microelectronics Europe GmbH...
  • Page 3: Warranty And Disclaimer

    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.
  • Page 4: Table Of Contents

    4 SOFTUNE WORKBENCH MONITOR DEBUGGER ............16 5 ACCEMIC MDE MONITOR DEBUGGER............... 18 6 SOFTUNE WORKBENCH SIMULATOR ............... 21 7 COMPARISON TABLE ....................22 8 APPENDIX ........................23 Figures ........................23 MCU-AN-300029-E-V1 - 4 - © Fujitsu Microelectronics Europe GmbH...
  • Page 5: Introduction

    Chapter 1 Introduction 1 Introduction The MB91461R is a ROMless derivate of the Fujitsu FR-MB91460 Series. It has a complete debug support unit (DSU4) integrated like the evaluation chip MB91V460. This is a major difference to other MB91460 series members. Because of this emulation is slightly different to the Flash devices of this family.
  • Page 6: Evaluation System With Mb91V460

    Starterkit SK91461 or own target application with socket Header Board MB2198-301 Adapter Board MB2198-300 with EVA-Chip MB91V460 Starterkit SK91461 (with socket) DSU-Cable MB2198-10 Emulator MB2198-01 Figure 1: Evaluation System with Eva-Chip MCU-AN-300029-E-V1 - 6 - © Fujitsu Microelectronics Europe GmbH...
  • Page 7 P15_3 Don’t care P15_2 Don’t care INT0 Don’t care Name (Jumpers) Setting P21_0 Don’t care P21_1 Don’t care P15_3 Don’t care P15_2 Don’t care Table 3: Jumper and switches on SK91461 © Fujitsu Microelectronics Europe GmbH - 7 - MCU-AN-300029-E-V1...
  • Page 8 With the predefined setting in template project you can directly download your code and start debugging. Otherwise you will have to check the following setting under ‘Setup’ -> ‘Debug Environment’ -> ‘Debug Environment…’ MCU-AN-300029-E-V1 - 8 - © Fujitsu Microelectronics Europe GmbH...
  • Page 9 You only have to mount a socket instead of the MB91461R chip for connection of the header board. Because of the usage of the external emulation memory you can use full 8MB size, not caring about the amount of memory connected on your target system. © Fujitsu Microelectronics Europe GmbH - 9 - MCU-AN-300029-E-V1...
  • Page 10: Evaluation System With Mb91461

    This chapter describes the evaluation system containing the target chip MB91461R. The emulator can be directly connected to debug support unit (DSU4) on MB91461R. This is a main difference to other MB91460 series derivates. The system consists of following devices: •...
  • Page 11 MB91461R hardware manual, chapter 2.2. Figure 6: DSU connector Table 4: Assignment of DSU Pins to Connector Please select project configuration type STANDALONE if your project is based on the MB91461R template project. © Fujitsu Microelectronics Europe GmbH - 11 - MCU-AN-300029-E-V1...
  • Page 12 EMU_SRAM_CS1_USB.sup For proper startup of the debug sessions the template project includes some procedure file in folder PRC. Please refer to them if your project is not based on the template. MCU-AN-300029-E-V1 - 12 - © Fujitsu Microelectronics Europe GmbH...
  • Page 13: Emu_Flash_Cs0_Usb.sup

    Table 5: Jumper and switches on SK91461 for Flash programming Press the ‘Full Operation’ button and follow the instructions. Please refer to the programmer description for more details. Figure 9: PC Writer software © Fujitsu Microelectronics Europe GmbH - 13 - MCU-AN-300029-E-V1...
  • Page 14 "\nload debug information for project programmed to Flash\n" LOAD/DEBUG STANDALONE\ABS\91460_template_91461r.abs Attention: You have to care that the programmed mhx-file as well as the debug information taken from the abs-file originate from the same project! MCU-AN-300029-E-V1 - 14 - © Fujitsu Microelectronics Europe GmbH...
  • Page 15: Emu_Sram_Cs1_Usb.sup

    Attention: Take care not to overwrite settings for CS1 area in the startup file! Otherwise program execution from external SRAM does not work anymore. © Fujitsu Microelectronics Europe GmbH - 15 - MCU-AN-300029-E-V1...
  • Page 16: Softune Workbench Monitor Debugger

    If your project is based on the MB91461R template project, choose project configuration MONDEB. Otherwise you will have to take care that your code and data sections are linked to the CS1 area configured by the monitor debugger kernel. MCU-AN-300029-E-V1 - 16 - © Fujitsu Microelectronics Europe GmbH...
  • Page 17 Take care to connect switch INT0 to MCU by closing jumper at pin header P24_0! See also application Note “MB91460 SWB Monitor Debugger” (mcu-an-300028-e- mb91460_swb_monitor_debugger) for more information on the monitor debugger features. © Fujitsu Microelectronics Europe GmbH - 17 - MCU-AN-300029-E-V1...
  • Page 18: Accemic Mde Monitor Debugger

    After all settings are finished, the monitor kernel has to be downloaded to MCU. Please set microcontroller to programming mode (MD[0:3] = L) and follow the instructions. MCU-AN-300029-E-V1 - 18 - © Fujitsu Microelectronics Europe GmbH...
  • Page 19 Figure 11: Download of monitor kernel If the kernel download ended successfully, set microcontroller back to run mode (see table 9). Click ‘+’ button in projects window and add your project. Figure 12: Select project © Fujitsu Microelectronics Europe GmbH - 19 - MCU-AN-300029-E-V1...
  • Page 20 The source code window opens and current position of program counter is marked. Now you can step through the application (C-Code or assembler steps), run up to breakpoints, watch variables, view memory contents, modify IO-registers… Figure 14: GUI of Accemic MDE Monitor Debugger MCU-AN-300029-E-V1 - 20 - © Fujitsu Microelectronics Europe GmbH...
  • Page 21: Softune Workbench Simulator

    Therefore use menus ‘Setup’ -> ‘Debug Environment’ -> ‘I/O Port…’ or ‘Interrupt…” Figure 15: SWB simulator Please refer to Softune Workbench User Manual for detailed description of the functionality. © Fujitsu Microelectronics Europe GmbH - 21 - MCU-AN-300029-E-V1...
  • Page 22: Comparison Table

    Number of Time measurement cycles *1) At least one type (Flash or SRAM) is needed. *2) Not supported with Accemic MDE version used for this application note, but feature under development. MCU-AN-300029-E-V1 - 22 - © Fujitsu Microelectronics Europe GmbH...
  • Page 23: Appendix

    Figure 12: Select project ...................... 19 Figure 13: Connection and download of application ............. 20 Figure 14: GUI of Accemic MDE Monitor Debugger ............. 20 Figure 15: SWB simulator ....................21 -- END -- © Fujitsu Microelectronics Europe GmbH - 23 - MCU-AN-300029-E-V1...

This manual is also suitable for:

Mb91461r