Figure 2.19, Startup command file – Freescale Semiconductor Microcontrollers User Manual

Page 46

Advertising
background image

Debugger Interface

Debugger Main Window

46

Microcontrollers Debugger Manual

Figure 2.19 Connection Command File Window

The command file in the edit box is executed when the corresponding event occurs. Click
the Browse button to set the path and name of the command file.

The Enable Command File check box allows you to enable/disable a command file on an
event. By default, all command files are enabled:

• The default Startup command file is STARTUP.CMD

• The default Reset command file is RESET.CMD

• The default Preload command file is PRELOAD.CMD

• The default Postload command file is POSTLOAD.CMD

NOTE

Startup settings performed in this dialog box are stored for subsequent
debugging sessions in the [Simulator] section of the PROJECT file using the
variable CMDFILE0.

NOTE

When a CPU is set, the settings performed in this dialog box are stored for
subsequent debugging sessions in the [Simulator XXX] (where XXX is the
processor) section of the PROJECT file using variables CMDFILE0,
CMDFILE1 ... CMDFILEn
.

Startup Command File

The startup.cmd command file is a Debugger system command file. The Startup
command file executes after you load the connection (the target defined in the project.ini
file or when you select Component > Set Connection).

You can specify the Startup command file full name and status (enable/disable) either
with the CMDFILE STARTUP Command Line command or using the Startup property
tab of the

Connection Command File Window

.

Advertising