beautypg.com

Target setup, Wait, Wait bp – Zilog Z8F0130 User Manual

Page 542: Target setup wait wait bp

background image

Appendix D. Using the Command Processor

UM013037-1212

518

Zilog Developer Studio II – Z8 Encore!
User Manual

target setup

The

target setup

command displays the current configuration. The syntax of the

tar-

get setup

command is:

target setup

wait

The

wait

command instructs the Command Processor to wait the specified milliseconds

before executing the next command. The syntax of the

wait

command is:

wait

<milliseconds>

For example:

wait 5000

wait bp

The

wait bp

command instructs the Command Processor to wait until the debugger stops

executing. The optional max_milliseconds parameter provides a method to limit the
amount of time a wait takes (that is, wait until the debugger stops or max_milliseconds
passes). The syntax of the

wait bp

command is:

wait bp

[max_milliseconds]

For example:

wait bp

wait bp 2000

Running the Flash Loader from the Command Processor

You can run the Flash Loader from the

Command

field. Command Processor keywords

have been added to allow for easy scripting of the Flash loading process. Each of the
parameters is persistent, which allows for the repetition of the Flash and verification pro-
cesses with a minimum amount of repeated key strokes.

Use the following procedure to run the Flash Loader:

1. Create a project or open a project with a Z8 Encore! microcontroller selected in the

CPU Family and CPU fields of the

General

page of the

Project Settings

dialog box

(see the

General Page

section on page 69).

2. Select

USBSmartCable

as your debug tool (see the

Debug Tool

section on page 114)

and click

Setup

to select the appropriate serial number.