Fujitsu MB91360 manual Details of the included Monitor-Debugger, Basic debugger features

Page 15

STARTERKIT MB91360

Chapter 4 Details of the included Monitor-Debugger

4 Details of the included Monitor-Debugger

4.1Basic debugger features

GO: Executes the program continuously from the memory location pointed to by the current program counter (PC) until a termination factor occurs.

STEP IN: Executes the program stepwise according to the listing in the source window (steps in C- or ASM). Note that Interrupts are disabled during step execution !

STEP OVER: Executes the program stepwise except call-instructions (which will be executed until return). Interrupts are not disabled during a continuous CALL...RETURN execution.

STEP OUT: Executes the program continuously to the parent function (until RETURN). Interrupts are enabled. Note, that debug information is required for this function.

EXECUTE UNTIL CURSOR: Automatically sets a breakpoint at the actual cursor position and executes continuously until this breakpoint, which will be deleted

afterwards.

Each valid code line in a debugger window automatically has a locator (blue arrow) and a breakpoint-option (circle). Note that some C-lines may not be displayed with locators and breakpoints, because the compiler has created “optimized” assembler-code. Select “mixed view” in order to check the compiler output.

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

- 15 -

UG-910006-13

Image 15
Contents MB91360 Series Revision History Date IssueNo Liability for Consequential Damages Warranty and DisclaimerContents Fujitsu Microelectronics Europe GmbH UG-910006-13 Key Features IntroductionAbstract General Board Usage Using the Starterkit as target board for the ICEMode Selection Hardware Installation InstallationSoftware Installation Softune Workbench Development Introduction Getting StartedUG-910006-13 Fujitsu Microelectronics Europe GmbH Softune Workbench Debugging Introduction SWB Debugging window Details of the included Monitor-Debugger Basic debugger featuresSTARTUP.ASM enabled #define Abort Advanced debugger features Examplecandump = Dump/Halfword 100000..1000ff Examplerestart set register PC=1f4000 set break main Generic Flash Programmer Flash ProgrammingIT can Damage the Flash ROM Permantently Board Components Evaluation Board HardwareOverview of Jumpers Jumper Description Standard Setting Jumper PositionJumper Description Connectors for resources and IO-signals Jumper Pin-No Pin Name IO-Port Resource Function JP15 JP14PWM1P0 PR0 SMC Memory Mappings MB91F362 AppendixMode 001 External Bus / User Mode Memory Type Used for Area Sections Tool options for own projectsStarterkit limitations Board Schematics UG-910006-13 Fujitsu Microelectronics Europe GmbH Fujitsu Microelectronics Europe GmbH UG-910006-13 Silk Screen Chip PAL ListingEquations MB91FV360GCR Development tools and accessoriesRelated Documents Trouble Shooting Problem SolutionTrouble Shooting Tables Figures