Chapter 1: Getting started

To get started you need to follow these steps:

1.1 Software

  1. Download the IDE from zilog's webshop: Zilog ZDSII Z8Encore! 5.0.0. It's free, but you have to make an account. You get the download link by email.

    For the linux users: ZDS works in wine, but the usb smartcable drivers don't work. The serial smartcable will work though! Instead of the IDE's debugger you can also use these open-source eZ8 utilities.
  2. Install the IDE and make a New Project.
  3. Set the new project up like this:
    • Project name:Click the button next to the input field to set the directory and filename.
    • Project type: ASM only
    • Cpu family: Select your cpu family here
    • Cpu: Select your cpu here
    • Build type: Executable

Now click Finish.

Go to Project Menu and click Settings. Go to Debugger Options and set the target to Simulator. I used the simulator to test all the examples.
Click the Setup button. You can set the simulator clock speed here. Set it to 20MHz. Most examples are based on a 20MHz clock.
Copy+paste the Example Code and go to the build menu. Click Compile/Assemble, then click Build.

1.2 DevKit

When it comes to picking a devkit you can either get an official board with all kinds of nice features or you can solder something up yourself.

Official Z8F64 devKit

You can get a Z8F64xx development board from mouser for about €32 ($42). Note that this board comes with a 18MHz crystal. Some of the examples of this website use a 20MHz crystal. You can change the frequency in the program or swap out the crystal on the board.
development kit
Z8F64200100KITG

Build your own

You could build your own board for less money. A loose 40pin DIP eZ8 XP costs about $5, so if you already have the cable you could make a cheap board that you can use in any project. The DIP version has up to 29 I/O pins whereas the SMD packages can have up to 60 I/O pins.

You can also build your own serial smartcable. This uses a regular rs232 cable, a level shifter, diode and a 10k resistor. Visit the construction page.

Next chapter→


Please submit corrections, suggestions, and new documentation here: Submit a ticket
← Return to Tutorial Index
This is not an official Zilog website. Zilog nor 8times8 are liable for any damage done to equipment. Tutorial and reference copyright ©8times8 Creative Commons CC-0 License (public domain.) This reference uses content from Zilog's technical datasheets. Fair use only. Datasheets copyright © 2013 Zilog®, Inc. Z8, Z8 Encore!, Z8 Encore! XP and Z8 Encore! MC are trademarks or registered trademarks of Zilog, Inc. Read Zilog's terms at zilog.com

Website design by Koen van Vliet. Hosted by sourceforge.net