Z8 GP™ ZGP323 Programming System
User Manual
Page 6
Using ZDS II to Burn a Hex File into a ZGP323 OTP Chip
UM019101-0305
4. In the
Select Configuration
dialog, select
Debug
and click
OK
.
5. Open
Project –> Settings
.
6. In the
General
tab, verify the
CPU Family
field is set to
ZGP323
.
7. In the
General
tab, set the
CPU
field to
ZGP323XXX2832_Window
.
8. Set the
Output Files Directory:
to the directory in which you want your output files
stored. By default, ZDSII stores your files in the same directory as the project files.
9. In the
Debugger
tab, make sure the
Driver:
field is set to
Simulator
.
10. Click
OK
.
11. When asked to rebuild affected files, click
Yes
to rebuild the project. (You can also re-
build later by pressing F7.)
The Build Output Window at the bottom of ZDSII provides status messages about the
rebuild’s progress.
12. To debug the program using the simulator, open the
Build
menu and select
Debug
and
then
Reset
to load the simulator with the program code. The simulator is used to com-
pletely debug the program before downloading to the chip. Select
Build > Debugger >
Stop Debugging
when you have finished debugging.
13. Now that the program is complete, we’re going to create a hex file you can download
into a ZGP323 chip installed on the Programing System.
14. In ZDSII, open the
Build
menu and select
Set Active Configuration
.
15. In the
Select Configuration
dialog, select
Release
and click OK.
16. Rebuild the project. Open the
Build
menu and select
Rebuild All
.
17. Browse to the
c:\Program Files\ZDSII_Z8GP_<version>
\samples\ZGP323_ledBlink\ledblink_c\src
directory. There you will find
the file
ledblink_c.hex
, the hex file just created when you rebuilt the project in Re-
lease configuration.
18. Connect the Z8 GP ZGP323 programming system to your development PC as de-
scribed in “Installing the USB Interface Driver and Cable” on page 3.
19. Open
Project > Settings
.
The
Project Settings
window appears.
electronic components distributor