Cmdfile – Freescale Semiconductor Microcontrollers User Manual

Page 767

Advertising
background image

Debugger Engine Commands

Debugger Commands

767

Microcontrollers Debugger Manual

CMDFILE

The CMDFILE command allows you to define all target specific commands in a
command file. For example, startup, preload, reset, and path of this file.

Usage

CMDFILE <Command File Kind> ON|OFF ["<Command File Full

Name>"]

Components

Simulator/target engine.

Example:

in>cmdfile postload on "c:\temp\myposloadfile.cmd"

The myposloadfile command file executes after loading the absolute file.

CR

The CR command initiates writing records of commands to an external file. Writing
records continues until a close record file (

NOCR

) command is executed.

NOTE

Drag & drop actions are also translated into commands in the record file.

NOTE

If no path is specified, the destination directory is the current project directory.

Usage

CR [fileName][;A]

If fileName is not specified, a standard Open File dialog box is opened.

;A specifies to open a file fileName in append mode. Records are appended at the
end of an existing record file.

If the ;A option is omitted and fileName is an existing file, the file is cleared before
records are written to it.

Components

Debugger engine.

Advertising