Available command lists, Command syntax, Kernel commands – Freescale Semiconductor Microcontrollers User Manual

Page 732: Syntax example

Advertising
background image

Debugger Engine Commands

Commands Overview

732

Microcontrollers Debugger Manual

Command Syntax

To display the syntax of a command, type the command followed by a question mark.

Syntax Example:

in>printf?

PRINTF (<format>, <expression>, <expression>, ...)

Available Command Lists

Commands described on the following pages are sorted into 5 groups, according to their
specific actions or targets. However, these groups have no relevance in the use of these
commands. A list of all commands in their respective group is given below.

Kernel Commands

Kernel commands are commands that can be used to build command programs. They can
only be used in a debugger command file, since the Command Line component can only
accept one command at a time. It is possible to build powerful programs by combining
Kernel commands with Base commands, Common commands and Component specific
commands.

Table 34.1

contains all available Kernel commands.

Table 34.1 List of Kernel Commands

Command, Syntax

Short Description

A

Affects a value

AT

Sets a time delay for command execution

CALL

fileName[;C][;NL]

Executes a command file

DEFINE

symbol [=] expression

Defines a user symbol

ELSE

Other operation associated with

IF command

ELSEIF

condition

Other conditional operation associated with IF
command

ENDFOCUS

Resets the current focus (refer to FOCUS
command)

ENDFOR

Exits a FOR loop

ENDIF

Exits an IF condition

Advertising