background image

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.

Downloaded from 

Elcodis.com

 

electronic components distributor

 

Summary of Contents for Z8 GP ZGP323

Page 1: ...ic DIP chips are included for use in prototyping The windowed CDIP chips are provided for your convenience and are eraseable with ultraviolet light This User Manual tells you how to connect programmin...

Page 2: ...iLOG ZDSII_ product _ version number Configuring the 5VDC Universal Power Supply The universal power supply kit features several different plug configurations in one box and the power supply itself in...

Page 3: ...gure 2 Hardware Setup Using the Supplied USB Cable When you first connect the Programming System to your computer you need to help Win dows load the appropriate driver from the ZDSII installation dire...

Page 4: ...Next 5 Select Specify a location then click Next 6 Browse to the driver directory one of the following ZDSII Installation Directory device drivers USB ZDSII Installation CD Device Drivers USB 7 Click...

Page 5: ...lowing proce dure to open the sample project named ledblink_c pro build a hex file from the pro gram and burn that hex file into the supplied ZGP323 28 CDIP chip via the OTP programming module If you...

Page 6: ...u 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...

Page 7: ...rter 23 Install the package converter into the ZIF socket on the Programming System Match pin 1 of the package converter with pin 1 of the ZIF socket Pin numbers are silk screened on the board 24 Inst...

Page 8: ...demo example no option bits need to be added 33 If you do not want a serial number loaded into the part select the None button in the Method area For this demo example select None To load a serial num...

Page 9: ...ocket on the Programming Sys tem 3 Install the OTP chip you wish to burn into the package converter installed in the Pro gramming System s ZIF socket Match pin 1 of the chip with pin 1 of the package...

Page 10: ...w in the Device drop down menu 9 In the Hex File section click the button and select the hex file you wish to burn into the OTP chip 10 Set the remaining OTP programming parameters as necessary for yo...

Page 11: ...ology described is intended to suggest possible uses and may be superseded ZiLOG INC DOES NOT ASSUME LIABILITY FOR OR PROVIDE A REPRESENTATION OF ACCURACY OF THE INFORMATION DEVICES OR TECHNOLOGY DESC...

Reviews: