ZiLOG Z51F0811 MCU User manual

Copyright ©2012 Zilog®, Inc. All rights reserved.
www.zilog.com
User Manual
Z51F0811 MCU Evaluation Kit
Z8051™Family of 8-Bit Microcontrollers
UM024201-0212

Foreword UM024201-0212
Z51F0811 MCU Evaluation Kit
User Manual
ii
DO NOT USE THIS PRODUCT IN LIFE SUPPORT SYSTEMS.
LIFE SUPPORT POLICY
ZILOG’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE
SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS PRIOR WRITTEN APPROVAL OF
THE PRESIDENT AND GENERAL COUNSEL OF ZILOG CORPORATION.
As used herein
Life support devices or systems are devices which (a) are intended for surgical implant into the body, or (b)
support or sustain life and whose failure to perform when properly used in accordance with instructions for
use provided in the labeling can be reasonably expected to result in a significant injury to the user. A criti-
cal component is any component in a life support device or system whose failure to perform can be reason-
ably expected to cause the failure of the life support device or system or to affect its safety or effectiveness.
Document Disclaimer
©2012 Zilog, Inc. All rights reserved. Information in this publication concerning the devices, applications,
or technology 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 DESCRIBED IN THIS DOCUMENT. ZILOG ALSO
DOES NOT ASSUME LIABILITY FOR INTELLECTUAL PROPERTY INFRINGEMENT RELATED
IN ANY MANNER TO USE OF INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED
HEREIN OR OTHERWISE. The information contained within this document has been verified according
to the general principles of electrical and mechanical engineering.
Z8, Z8 Encore!, Z8 Encore! XP and Z8 Encore! MC are trademarks or registered trademarks of Zilog, Inc.
All other product or service names are the property of their respective owners.
Warning:

UM024201-0212 Revision History
Z51F0811 MCU Evaluation Kit
User Manual
iii
Revision History
Each instance in the Revision History table below reflects a change to this document from
its previous version.
Date Revision
Level Description Page
Feb
2012 01 Original issue. All

Revision History UM024201-0212
iv
Z51F0811 MCU Evaluation Kit
User Manual

UM024201-0212 Table of Contents
Z51F0811 MCU Evaluation Kit
User Manual
v
Table of Contents
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .iii
Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
List of Figures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
List of Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .ix
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Kit Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Supported Operating Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Z51F0811 Evaluation Board Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Z51F0811 Evaluation Board Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Install the Z8051 OCD Software and Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Z8051 OCD Driver Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
FTDI USB-to-UART Driver Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Configure the Z8051 OCD and Z51F0811 Evaluation Board . . . . . . . . . . . . . . . . . . . . . . . . 10
Build and Run the Z51F0811 Demo Project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
HyperTerminal Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Sample Projects and Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Schematic Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Appendix A. OCD Driver Installation on Windows Vista Systems . . . . . . . . . . . . . . . . . . . 22
Appendix B. OCD Driver Installation on Windows 7 Systems . . . . . . . . . . . . . . . . . . . . . . . 28
Customer Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

Table of Contents UM024201-0212
vi
Z51F0811 MCU Evaluation Kit
User Manual

UM024201-0212 List of Figures
Z51F0811 MCU Evaluation Kit
User Manual
vii
List of Figures
Figure 1. Z51F0811 Evaluation Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Figure 2. Block Diagram of the Z51F0811 Evaluation Board . . . . . . . . . . . . . . . . . . . 3
Figure 3. An Example Setup [to be supplied] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Figure 4. The Found New Hardware Wizard Welcome Screen . . . . . . . . . . . . . . . . . . 6
Figure 5. The Found New Hardware Wizard’s Browse Screen . . . . . . . . . . . . . . . . . . 7
Figure 6. A Successful USB-to-UART Driver Installation . . . . . . . . . . . . . . . . . . . . . . 8
Figure 7. Connecting the 10-Circuit Cable to the Board . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 8. Connecting the USB Mini-B Cable to the Board . . . . . . . . . . . . . . . . . . . . 11
Figure 9. Initial OCD Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 10. Configuration Dialog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 11. A Typical On-Chip Debugger Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 12. Reset & Go Toolbar Icon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Figure 13. Demo Program Menu in HyperTerminal . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Figure 14. Z51F0811 Evaluation Board, #1 of 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Figure 15. Z51F0811 Evaluation Board, #2 of 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Figure 16. Found New Hardware Dialog, Windows Vista . . . . . . . . . . . . . . . . . . . . . . 22
Figure 17. Install Device Driver Dialog, Windows Vista . . . . . . . . . . . . . . . . . . . . . . . 23
Figure 18. Couldn’t Find Driver Dialog, Windows Vista . . . . . . . . . . . . . . . . . . . . . . . 24
Figure 19. Browse For Driver Dialog, Windows Vista . . . . . . . . . . . . . . . . . . . . . . . . . 25
Figure 20. Can’t Verify Publisher Dialog, Windows Vista . . . . . . . . . . . . . . . . . . . . . 26
Figure 21. Successfully Installed Dialog, Windows Vista . . . . . . . . . . . . . . . . . . . . . . 27
Figure 22. Install Device Driver Dialog, Windows 7 . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Figure 23. Driver Software Installation Dialog, Windows 7 . . . . . . . . . . . . . . . . . . . . 29
Figure 24. Device Manager Dialog, Windows 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

List of Figures UM024201-0212
viii
Z51F0811 MCU Evaluation Kit
User Manual

UM024201-0212 List of Tables
Z51F0811 MCU Evaluation Kit
User Manual
ix
List of Tables
Table 1. Z51F0811000KIT Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Table 2. Z51F0811 Evaluation Kit Sample Projects . . . . . . . . . . . . . . . . . . . . . . . . . 18
Table 3. Z51F0811 Evaluation Kit Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . 18

List of Tables UM024201-0212
x
Z51F0811 MCU Evaluation Kit
User Manual

UM024201-0212 Introduction
Z51F0811 MCU Evaluation Kit
User Manual
1
Introduction
This manual describes how to set up Zilog’s Z51F0811 Evaluation Kit (Zilog part number
Z51F0811000KIT) and use it to evaluate your Z8051-based designs and applications.
The Kit features a small Evaluation Board consisting of four LEDs, three pushbuttons,
port pin headers and a UART-to-USB port. The Board features the Z51F0811 MCU in a
32-pin QFN package, plus a DBG connector to connect the board to a host development
PC using the Z8051 USB On-Chip Debugger (OCD) cable. For more details about the
Z51F0811 MCU, please refer to the Z51F0811 Product Specification (PS0296).
This document guides you through the following tasks:
•
Installing the Z8051 On-Chip Debugger software and documentation
•
Installing the Z8051 On-Chip Debugger driver
•
Installing the FTDI USB driver
•
Setting up the Z8051 On-Chip Debugger and the Z51F0811 Evaluation Board
•
Building and running the Z51F0811 demo project
•
Setting up a terminal emulation program
Kit Contents
Table 4 lists the contents of the Z51F0811 MCU Evaluation Kit.
Table 4. Z51F0811000KIT Contents
Item Description Quantity
1 Z51F0811 Evaluation Board 1
2 Z8051 USB On-Chip Debugger (OCD) 1
3 Z8051 OCD Target Cable (10ckt) 1
4 USB Cable: A (male) to Mini-B 2
5 Z8051 OCD Software and Documentation CDROM 1
6 Z51F0811 MCU Evaluation Kit User Manual (UM0242) 1

Introduction UM024201-0212
2
Z51F0811 MCU Evaluation Kit
User Manual
Figure 1 displays an image of the Z51F0811 Evaluation Board.
Supported Operating Systems
The Z51F0811 Evaluation Board and the Z8051 On-Chip Debugger support the following
operating systems:
•
Microsoft Windows XP
•
Microsoft Windows Vista (32-bit/64-bit)
•
Microsoft Windows 7 (32-bit/64-bit)
Z51F0811 Evaluation Board Block Diagram
Figure 2 displays a block diagram of the Z51F0811 Evaluation Board.
Figure 1. Z51F0811 Evaluation Board
F.P.O.

UM024201-0212 Introduction
Z51F0811 MCU Evaluation Kit
User Manual
3
Z51F0811 Evaluation Board Description
The Z51F0811 Evaluation Board contains the following components:
•
Z51F0811: U1, 32-pin QFN chip
•
3 LEDs: green (D1), red (D2) and yellow (D3) are connected to the GPIO pins of the
Z51F0811 MCU
•
1 green LED indicating USB power: D4
•
3 pushbuttons:
– SW1: RESET
– SW2 and SW3 are connected to the GPIO pins on the Z51F0811 MCU
•
USB connector: P1
•
OCD connector: J1, J2
•
USB to UART interface: U2
•
USB interface provides power and communication to the Board
•
Test points J11 and J12 are connected to Ground; J3–J10 are connected to GPIO pin
U1
Figure 2. Block Diagram of the Z51F0811 Evaluation Board
USB Mini B USB to UART
interface Z51F0811
QUX
UART
OCD Connector
USB
OCD
USB
LEDs
Pushbuttons
Test points
F.P.O.

Introduction UM024201-0212
4
Z51F0811 MCU Evaluation Kit
User Manual
When the Board is connected to the USB port of the host PC, the green D4 LED will illu-
minate (turn ON).
Schematic diagrams of the Z51F0811 Evaluation Board are presented on pages 20 through
21 of this document.
The physical dimensions of the Board are: 1.61" x 0.76" (40.9mm x 19.3mm).

UM024201-0212 Install the Z8051 OCD Software and Documentation
Z51F0811 MCU Evaluation Kit
User Manual
5
Install the Z8051 OCD Software and
Documentation
The Z8051 On-Chip Debugger (OCD) interface is the interface by which your PC will
communicate with the Z51F0811 MCU to download and execute code. In addition to the
OCD, software such as development tools and sample applications will be installed.
Observe the following procedure to install the Z8051 On-Chip Debugger software and
documentation on your computer.
1. Ensure that the OCD interface hardware is not connected to your PC.
2. Insert the Z8051 Software and Documentation CD into your computer’s CD-ROM
drive. The setup program launches automatically. If the setup program does not launch
automatically, open Windows Explorer, browse to your CD-ROM drive, and double-
click the file labeled Z8051_<version>.exe.
In this filename, <version_number> refers to the version number of the OCD software.
For example, this version number may be 1.0.
3. Follow the on-screen instructions to complete the OCD software installation.
Z8051 OCD Driver Installation
The driver programs for the Z8051 On-Chip Debugger are copied during the software and
documentation installation. In the following procedure for Windows XP systems, ensure
that the target side of the OCD will remain unconnected while you install these drivers.
Refer to Figure 3 for guidance.
If you are running Windows Vista, see Appendix A on page 22 to install your device driv-
ers. If you are running Windows 7, see Appendix B on page 28.
Figure 3. An Example Setup [to be supplied]
Note:
Note:

Install the Z8051 OCD Software and Documentation UM024201-0212
6
Z51F0811 MCU Evaluation Kit
User Manual
1. Connect the OCD hardware to the USB port of your PC by connecting the A-Male end
of one of the two USB A (male)-to-Mini-B cables with the host PC’s USB port, and
connect the Mini-B end to the OCD device.
2. After the PC detects the new hardware, it will display the Found New Hardware Wiz-
ard dialog box, shown in Figure 4. Select Install from a list or specific location
(Advanced); then click Next.
3. The next dialog box, shown in Figure 5, prompts you to enter a path or navigate to the
directory in which the .inf file was installed. Depending on the type of computer you
use (32- bit or 64-bit), use the Browse button to navigate to one of the following paths
and click the Next button, leaving all other selections at their default settings.
– On 32-bit machines, use the following path:
<Z8051 Installation>\Z8051_<version>\device drivers\OCD USB\x32
– On 64-bit machines, use the following path:
<Z8051 Installation>\Z8051_<version>\device drivers\OCD USB\x64
Figure 4. The Found New Hardware Wizard Welcome Screen

UM024201-0212 Install the Z8051 OCD Software and Documentation
Z51F0811 MCU Evaluation Kit
User Manual
7
4. When Windows prompts you whether to continue the installation or stop, click the
Continue Anyway button and wait until the installation is completed (Windows may
prompt you more than once). When the installation is complete, click Finish.
FTDI USB-to-UART Driver Installation
An FTDI USB-to-UART driver is required to allow your PC to communicate through its
USB port to the on-chip UART of the Z51F0811 MCU. Observe the following procedure to
perform these connections.
1. Ensure that the USB cable is not plugged in to the Z51F0811 Evaluation Board’s P1
connector.
2. Navigate to the following filepath and double-click the CDM20802_setup.exe file to
begin the driver installation.
<Z8051 Installation>\Z8051_<version>\device drivers\FTDI Uart
Figure 5. The Found New Hardware Wizard’s Browse Screen

Install the Z8051 OCD Software and Documentation UM024201-0212
8
Z51F0811 MCU Evaluation Kit
User Manual
3. The installation process will begin and you should observe output similar to the fol-
lowing messages on the screen of your PC:
32-bit OS detected
<installation path>\dpinstx86.exe
Installation driver
FTDI CDM driver installation process completed.
4. When the installation is complete, plug in the Mini-B connector of the second USB
cable into the Board, and the larger A connector into the USB port of your PC. Again,
refer to Figure 3 on page 5 for guidance.
5. If the driver installation was successful, the Ports (COM & LPT) section of the Device
Manager will display USB Serial Port (COMx) or similar message, as highlighted in
Figure 6.
Figure 6. A Successful USB-to-UART Driver Installation

UM024201-0212 Install the Z8051 OCD Software and Documentation
Z51F0811 MCU Evaluation Kit
User Manual
9
To launch the Device Manager on Windows 7 systems, launch the Start menu, enter device
manager in the Search programs and files field, and press the Enter key.
To open the Device manager on earlier Windows systems, navigate via the following path:
Start →Control Panel →System →Hardware →Device Manager →Ports (COM& LPT)
Note:

Configure the Z8051 OCD and Z51F0811 Evaluation Board UM024201-0212
10
Z51F0811 MCU Evaluation Kit
User Manual
Configure the Z8051 OCD and Z51F0811
Evaluation Board
Observe the following procedure to set up and configure the Z8051 On-Chip Debugger
and the Z51F0811 Board.
1. Connect the Z8051 On-Chip Debugger (OCD) to the host PC’s USB port. If you
haven’t already performed your hardware connections, see the Z8051 OCD Driver
Installation section on page 5.
2. Connect the Z8051 OCD 10-circuit cable connector to the Z51F0811 Board’s J1 and
J2 connectors. Pin 1 of the cable connector is indicated by a red stripe, as shown in
Figure 7.
3. Using the second USB-to-Mini-B cable, connect the standard USB end to the host
PC’s USB port.
4. Connect the other end of this second Mini-B cable to the Z51F0811 Board’s P1 con-
nector to apply power to the board; see Figure 8.
Figure 7. Connecting the 10-Circuit Cable to the Board
F.P.O.
Table of contents
Other ZiLOG Motherboard manuals

ZiLOG
ZiLOG Z8F08A28100KITG User manual

ZiLOG
ZiLOG GP ZGP323 ICE User manual

ZiLOG
ZiLOG Z8 Encore! User manual

ZiLOG
ZiLOG Z8 Encore! 8K/4K MCU User manual

ZiLOG
ZiLOG Z183 EMAC User manual

ZiLOG
ZiLOG Z8 Encore! XP F0822 Series Flash MCU User manual

ZiLOG
ZiLOG Z8 Encore! User manual

ZiLOG
ZiLOG Z8 GP ZGP323 User manual