Fujitsu MB88121 SERIES, MB91460 SERIES manual Use Active Configuration Mondebuginternal

Page 49

SK-91F467-FLEXRAY V1.1

Getting Started

7) Select Active Configuration “MONDEBUG”

Figure 5-3: Project configuration selection

5.2.2 Use Active Configuration MONDEBUG_INTERNAL

With this selection the project is linked to be used with the Softune Workbench monitor debugger. Corresponding linker settings are done for the memory map in order to avoid overwriting of the sections which are used by the monitor debugger. The code is linked in this configuration for external SRAM, otherwise it is not possible to debug code with the Softune Workbench monitor debugger. The monitor

Note:

Always check the memory map of the linker settings and ensure that this memory map is suitable for the application and target system in use. Additionally the .mp1 file should be checked to ensure correct settings.

7.Check MCU settings in the module start91460.asm. Be careful regarding any modifications. If the peripheral clock speed is modified it can happen that the communication between Softune Workbench and monitor debugger is lost. In the module start91460.asm some basic MCU settings are done and some initial data copy transfers are performed for specific data sections e.g. INIT. Check module vectors.c if any interrupts are used for proper vector table set-up.

8.Write application code in the module main.c or add any other module to the project.

9.Write and modify source code and settings corresponding to the needs of the application. Finally use “Make”, or “Build” to compile and link the project. The generated output files can be found in the sub-folder MONDEB_INTERNAL of the project folder. The *.mhx file (Motorola S-Record) is located in the ABS sub-folder.

© Fujitsu Microelectronics Europe GmbH

- 49 -

FMEMCU-UG-910017-11

Image 49
Contents MB88121 Series MB91460 Series Revision History Date IssueNo Liability for Consequential Damages Warranty and DisclaimerContents Connectors Trouble Shooting SILK-PLOT of the Board Abstract IntroductionFeatures General Description External Bus interface Connectors MCU Operating ModeOn Board Memory MCU ClocksPower Supply MCU PinsUser Buttons User LEDs and optional LCDAC plug adapter InstallationStarter kit status after power on Jumper Description / Function Type Default Jumper SettingsUART4 RTS CTS Jumper settingsJumper Location Default Jumper SettingsSoftune Workbench start menu location Software Installation Installation of Softune WorkbenchSoftune Workbench V6 IDE DIP switch Setting Logical value Jumpers and SwitchesMCU Operating Mode MCU Operating-Mode S5FlexRay CC Operating-Mode S2 FlexRay CC Operating ModeFlexRay CC SPI Settings FlexRay CC SPI Settings S1Power Switch Switch Setting DescriptionJumper Setting Description Power supply configurationsRegulator Test point Voltage Voltage Test PointsMCU Analogue Power Supply Voltage MCU Power Supply VoltageMCU Power Supply SK-91F467-FLEXRAY MCU ADC Supply FlexRay CC Power Supply Voltage at SK-91F467-FLEXRAYFlexRay CC Supply JP7 MCU-FlexRay CC Connection at SK-91F467-FLEXRAY10 MCU-FlexRay CC Connection Channel aChannel B 11 FlexRay CH-A Configuration12 FlexRay CH-B Configuration 13 FT1080 Control Settings 3 FT1080 Control Settings S614 FT1080 Connection to MCU LIN / RS-232 Uart CAN0 CAN215 CAN-MCU connection Uart 16 UART2 SettingsUart 4 Flash programming 17 UART4 Settings18 UART5 Settings DIP switch Setting Description User DIP Switch 8 Bit S4User Push Buttons INT0, INT1, INT2 and ICU0/TIN0 22 Reset Connections Reset Generation23 Supply Monitor Settings By default the Uart reset is disabled 24 Reset Uart SelectionPower Connector ConnectorsUart / LIN Connector X1, X4 Pin Number Pin Signal DescriptionFlexRay Connector X2 Can Connector X9, X10Can Connector Signals FlexRay Connector SignalsFlexRay Physical Layer Modules FlexRay Physical Layer Module Connector X3USER-LEDs and optional LC-Display D1-D16, J6 LED/LCD SignalsMCU Pin Connectors J1-J4 In-Circuit-Programming ConnectorIn-Circuit Programming Connector Connector MCU PinsVG96 X13 Signals External Bus Connectors X13, X14 4.9.1 VG96ABC DIN 41612VG48 X14 Signals Distance between VG-Connectors2 VG48ABC DIN 41612 Softune Workbench main window Introduction to Softune WorkbenchSK-91F467-FLEXRAY Getting Started Create a New Project Project Start-upEnter the folder myapplication Edit myapplication.prjOpen Softune Workbench workspace *.wsp Select Active Configuration Mondebug Use Active Configuration MondebuginternalSoftune Workbench Linker Mapping Start Softune Monitor Debugger via the Debug Command Use Active configuration StandaloneGeneral Description Softune Workbench Monitor DebuggerUser LEDs U1, MCU MB91F467DA DIP switch S5, default all OFFSWB debugging window Basic Debugger Features Use the button INT0 on the SK-91F467-xxx for Abort function Advanced Monitor Debugger FeaturesExample SK-91F467-FLEXRAY Getting Started Memory Map of Softune Workbench Monitor debugger Memory Configuration for User ApplicationsMemory Type Used for Areas Sections 0x0080.0000 0x009F.FFFF Checklist for project configurationProgramming internal Flash of MB91F467DA series Flash ProgrammingFMEMCU-UG-910017-11 Fujitsu Microelectronics Europe GmbH FME Flash Programmer output message window Trouble shooting Trouble shootingTop Side Silk-Plot of the BoardBoard Layout Bottom Side Bottom SideSK-91F467-FLEXRAY PCB HistoryHistory PCB Related Products AppendixInformation on the WWW Tables Trouble shooting History PCB Figures Usart Abbreviations