beautypg.com

FUJITSU MB91360 User Manual

Page 19

background image

STARTERKIT MB91360

Chapter 4 Details of the included Monitor-Debugger

© Fujitsu Microelectronics Europe GmbH

- 19 -

UG-910006-13

Example:

restart: set register PC=1f4000

set break main

go

In order to document or save debugging details such as memory contents, all outputs fed to
the command console can be written to a file (“logging”).

A whole “program” of commands (incl. flow control) can be written to a PRC-file and
executed. Procedure-files are simple text-files with the extension “.PRC” and can be created
by the Softune Workbench editor or any other text editor. To execute a procedure-file, use
the command window menu or the “file-open” menu during debugging.

Procedure-files can be very helpful to automatically configure the debug-environment,

perform automated tests (e.g. when a new C-module has to be tested) or to enhance
basic emulator functions such as breakpoints. 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.