Fujitsu MB91460 SERIES, MB88121 SERIES manual Examplerestart set register PC=2000000 set break main

Models: MB88121 SERIES MB91460 SERIES

1 73
Download 73 pages 7.7 Kb
Page 58
Image 58

SK-91F467-FLEXRAY V1.1

Getting Started

A set of commands can be combined to a “macro”. Aliases and macros can be defined using the command window context menu.

Example:restart: set register PC=2000000 set break main

Run continuously

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.

Note:

Procedure-files can be very helpful to configure the debug- environment automatically, 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 defined dynamically depending on program conditions. See the “Command Reference Manual” (on-line help) for detailed information about the available command and parameter syntax. Some procedure files exist already included in the example project directory.

FMEMCU-UG-910017-11

- 58 -

© Fujitsu Microelectronics Europe GmbH

Page 58
Image 58
Fujitsu MB91460 SERIES, MB88121 SERIES manual Examplerestart set register PC=2000000 set break main