beautypg.com

Verify download, Stop debugging, Reset – Zilog Z8F0130 User Manual

Page 147

background image

UM013037-1212

Debug Menu

Zilog Developer Studio II – Z8 Encore!

User Manual

123

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

Verify Download

Select

Verify Download

from the

Debug

menu to determine download correctness by

comparing executable file contents to target memory.

Stop Debugging

Select

Stop Debugging

from the

Debug

menu to exit

Debug

mode.

To stop program execution, select the Break command.

Reset

Select

Reset

from the

Debug

menu to reset the program counter to the beginning of the

program.

If ZDS II is not in

Debug

mode, the

Reset

command starts a debug session using the fol-

lowing 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

command 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.

The Serial Smart Cable performs an on-chip debugger reset.

Go

Select

Go

from the

Debug

menu to execute project code from the current program coun-

ter. If not in

Debug

mode when the

Go

command is selected, the following process is exe-

cuted: