beautypg.com

Go button – Zilog Z8F0130 User Manual

Page 53

background image

UM013037-1212

Build Toolbar

Zilog Developer Studio II – Z8 Encore!

User Manual

29

6. Configures and executes the debugger options selected in the

Debugger

tab of the

Options

dialog box. If it is a C project, ZDS II resets to the main function if it is

found.

If ZDS II is already in

Debug

mode when the

Download Code

button is clicked, the fol-

lowing process is executed:

1. Resets the device using a software reset.

2. Downloads the program.

You might need to reset the device before execution because the program counter might
have been changed after the download.

Reset Button

Click the

Reset

button in the

Build

or

Debug

toolbar to reset the program counter to the

beginning of the program.

If ZDS II is not in

Debug

mode, the

Reset

button starts a debug session using the follow-

ing process:

1. Initializes the communication to the target hardware.

2. Resets the device.

3. Configures the device using the settings in the

Configure Target

dialog box.

4. Downloads the program.

5. Configures and executes the debugger options selected in the

Debugger

tab of the

Options

dialog box. If it is a C project, ZDS II resets to the main function if it is

found.

If ZDS II is already in

Debug

mode, the

Reset

button uses the following process:

1. ZDS II performs a hardware reset.

2. Configures the device using the settings in the

Configure Target

dialog box.

3. If files have been modified, ZDS II asks, “Would you like to rebuild the project?”

before downloading the modified program. If there has been no file modification, the
code is not reloaded.

For the Serial Smart Cable, ZDS II performs an on-chip debugger reset.

Go Button

Click the

Go

button to execute project code from the current program counter.

If not in

Debug

mode when the

Go

button is clicked, the following process is executed:

1. Initializes the communication to the target hardware.

2. Resets the device.