beautypg.com

Sample command script file – Zilog Z8F0130 User Manual

Page 518

background image

Appendix D. Using the Command Processor

UM013037-1212

494

Zilog Developer Studio II – Z8 Encore!
User Manual

Sample Command Script File

A script file is a text-based file that contains a collection of commands. The file can be
created with any editor that can save or export files in a text-based format. Each command
must be listed on its own line. Anything following a semicolon (

;

) is considered a com-

ment.

The following is a sample command script file:

; change to correct default directory

cd "m:\Z8Encore\test\focustests"

open project "focus1.zdsproj"

log "focus1.log" ; Create log file

log on ; Enable logging

rebuild

Project
(cont’d)

Project Settings

(Debugger page, con’t’d)

Debug Tool

debugtool set

page 500

Setup

debugtool set

page 500

Export Makefile

makfile

page 505

makefile

page 505

Build

Build

build

page 497

Rebuild All

rebuild

page 513

Stop Build

stop

page 515

Set Active Configuration

set config

page 514

Manage Configurations

set config

page 514

delete config

Debug

Stop Debugging

quit

page 513

Reset

reset

page 513

Go

go

page 504

Break

stop

page 515

Step Into

stepin

page 515

Step Over

step

page 514

Step Out

stepout

page 515

Tools

Flash Loader

page 518

Calculate File Checksum

checksum

page 498

Show CRC

crc

page 498

Table 60. Script File Commands (Continued)

ZDS II
Menus

ZDS II Commands

Dialog Box Options

Script File Commands

Location