Fujitsu MB91360 manual Examplecandump = Dump/Halfword 100000..1000ff

Page 18

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

Image 18
Contents MB91360 Series Date Issue Revision HistoryWarranty and Disclaimer No Liability for Consequential DamagesContents Fujitsu Microelectronics Europe GmbH UG-910006-13 Key Features IntroductionAbstract Using the Starterkit as target board for the ICE General Board UsageMode Selection Installation Hardware InstallationSoftware Installation Getting Started Softune Workbench Development IntroductionUG-910006-13 Fujitsu Microelectronics Europe GmbH Softune Workbench Debugging Introduction SWB Debugging window Basic debugger features Details of the included Monitor-DebuggerSTARTUP.ASM enabled #define Abort Advanced debugger features Examplecandump = Dump/Halfword 100000..1000ff Examplerestart set register PC=1f4000 set break main Flash Programming Generic Flash ProgrammerIT can Damage the Flash ROM Permantently Evaluation Board Hardware Board ComponentsJumper Description Standard Setting Jumper Position Overview of JumpersJumper Description Connectors for resources and IO-signals Jumper Pin-No Pin Name IO-Port Resource Function JP14 JP15PWM1P0 PR0 SMC Appendix Memory Mappings MB91F362Mode 001 External Bus / User Mode Tool options for own projects Memory Type Used for Area SectionsStarterkit limitations Board Schematics UG-910006-13 Fujitsu Microelectronics Europe GmbH Fujitsu Microelectronics Europe GmbH UG-910006-13 Silk Screen PAL Listing ChipEquations Development tools and accessories MB91FV360GCRRelated Documents Problem Solution Trouble ShootingTrouble Shooting Figures Tables