beautypg.com

Zilog EZ80F916 User Manual

Page 40

background image

UM014423-0607

Using the Integrated Development Environment

ZiLOG Developer Studio II

eZ80Acclaim!

®

User Manual

20

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 soft reset in which just PC and SPL are reconfigured as specified in

the Configure Target dialog box.

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.

The Serial Smart Cable performs an external target 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.

3. Configures the device using the settings in the Configure Target dialog box.

4. Downloads the program.

This manual is related to the following products: