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 critical component is any componen t in a li fe supp ort device o r syste m whose failure to p erform ca n be re asonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness.
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.
ForewordUM024201-0212
Page 3
Revision History
Each instance in the Revision History table below reflects a change to this document from
its previous version.
This manual describes how to set up Zilog’s Z51F081 1 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
This document guides you through the following tasks:
•
Installing the Z8051 On-Chip Debugger software and documentation
Z51F0811 MCU Evaluation Kit
User Manual
1
Product Specification (PS0296).
•
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.
ItemDescriptionQuantity
1Z51F0811 Evaluation Board1
2Z8051 USB On-Chip Debugger (OCD)1
3Z8051 OCD Target Cable (10ckt)1
4USB Cable: A (male) to Mini-B2
5Z8051 OCD Software and Documentation CDROM1
Table 4. Z51F0811000KIT Contents
6Z51F0811 MCU Evaluation Kit User Manual (UM0242)1
UM024201-0212Introduction
Page 12
Z51F0811 MCU Evaluation Kit
F.P.O.
User Manual
2
Figure 1 displays an image of the Z51F0811 Evaluation Board.
Figure 1. Z51F0811 Evaluation Board
Supported Operating Systems
The Z51F0811 Eval uation Board and the Z805 1 On-Chip Debugger support the fol lowing
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.
Introduction UM024201-0212
Page 13
Z51F0811 MCU Evaluation Kit
USB Mini B
USB to UART
interface
Z51F0811
QUX
UART
OCD Connector
U
S
B
OCD
U
S
B
LEDs
Pushbuttons
Test points
F.P.O.
User Manual
3
Figure 2. Block Diagram of the Z51F0811 Evaluation Board
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
UM024201-0212Introduction
Page 14
Z51F0811 MCU Evaluation Kit
User Manual
4
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 Bo ard are presented on pages 20 th rough
21 of this document.
The physical dimensions of the Board are: 1.61" x 0.76" (40.9 mm x 19.3 mm).
Introduction UM024201-0212
Page 15
Z51F0811 MCU Evaluation Kit
Note:
Note:
Install the Z8051 OCD Software and
Document ation
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 comp uter’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 doubleclick the file labeled
Z8051_<version>.exe.
User Manual
5
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 du ring 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.
Figure 3. An Example Setup [to be supplied]
If you are running Windows Vista, see Appendix A on page 22 to install your device drivers. If you are running Windows 7, see Appendix B on page 28.
UM024201-0212 Install the Z8051 OCD Software and Documentation
Page 16
Z51F0811 MCU Evaluation Kit
User Manual
6
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
ard
dialog box, shown in Figure 4. Select Install from a list or specific location
(Advanced)
; then click Next.
Found New Hardware Wiz-
Figure 4. The Found New Hardware Wizard Welcome Screen
3. The next dialog box, shown in Figure 5, prompts you to enter a path or navigate to the
directory in which the
use (32- bit or 64-bit), use the
and click the
Install the Z8051 OCD Software and Documentation UM024201-0212
.inf file was installed. Depending on the type of computer you
Browse button to navigate to one of the following paths
Next button, leaving all other selections at their default settings.
Page 17
Z51F0811 MCU Evaluation Kit
User Manual
7
Figure 5. The Found New Hardware Wizard’s Browse Screen
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 th ro ugh 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
begin the driver installation.
UM024201-0212 Install the Z8051 OCD Software and Documentation
CDM20802_setup.exe file to
Page 18
Z51F0811 MCU Evaluation Kit
User Manual
8
3. The installation process will begin and you should observe output similar to the following 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
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.
on page 5 for guidance.
Figure 6. A Successful USB-to-UART Driver Installation
Install the Z8051 OCD Software and Documentation UM024201-0212
Page 19
Z51F0811 MCU Evaluation Kit
Note:
User Manual
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)
9
UM024201-0212 Install the Z8051 OCD Software and Documentation
Page 20
Z51F0811 MCU Evaluation Kit
F.P.O.
User Manual
10
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 ind icated by a red stripe, as shown in
Figure 7.
Figure 7. Connecting the 10-Circuit Cable to the Board
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 connector to apply power to the board; see Figure 8.
Configure the Z8051 OCD and Z51F0811 Evaluation Board UM024201-0212
Page 21
Z51F0811 MCU Evaluation Kit
F.P.O.
Figure 8. Connecting the USB Mini-B Cable to the Board
User Manual
11
UM024201-0212 Configure the Z8051 OCD and Z51F081 1 Evaluation
Page 22
Z51F0811 MCU Evaluation Kit
Note:
User Manual
12
Build and Run the Z51F0811 Demo
Project
Observe the following procedure to build and run the Z51F0811 demo project.
1. Browse to the following location and double-click the
build the project:
Refer to the Z8051 Tools Product User Guide (PUG0033) for additional information about
these project files and Small Device C Compiler (SDCC) development tools.
2. When the build is complete, the command window will prompt the user to press any
key to continue. Proceed by pressing any key on your keyboard; as a result, a hex file
for the demo will be created in the following path:
3. Set up the OCD and Evaluation Board. If you have not already configured these items,
please return to the Configure the Z8051 OCD and Z51F0811 Evaluation Board
tion on page 10.
4. Run the Z8051 OCD software. From the
Zilog Z8051 Software and Documentation <version_number>
OCD <version_number>
shown in Figure 9.
. Once launched, the program will display Connected, as
Start menu, navigate to All Programs →
build_sdcc.bat batch file to
sec-
→ Zilog Z8051
Build and Run the Z51F0811 Demo ProjectUM024201-0212
Page 23
Z51F0811 MCU Evaluation Kit
F.P.O.
Note:
User Manual
13
Figure 9. Initial OCD Screen
For a free download of the latest version of the OCD software, visit the Zilog website and
navigate via the Tools and Software menu to Software Downloads.
5. In the Debugger window, select
File dialog.
6. In the Object file dialog, browse to the hex file that you created in Step 2
Open.
7. Click the
Download button to open the Configuration dialog box, shown in Figure 10.
Load Hex from the File menu to display the Object
and click
UM024201-0212Build and Run the Z51F0811 Demo Project
Page 24
Z51F0811 MCU Evaluation Kit
User Manual
14
Figure 10. Configuration Dialog
8. Click the Write button to open the On-Chip Debugger’ s main window. A typical OCD
window is shown in Figure 11.
Build and Run the Z51F0811 Demo ProjectUM024201-0212
Page 25
Z51F0811 MCU Evaluation Kit
F.P.O.
Note:
User Manual
15
Figure 11. A Typical On-Chip Debugger Window
If the Code Disassemble dialog does not appear in the Z8051 OCD Debugger, navigate
via the View menu to select Code Disassemble.
9. Click the
UM024201-0212Build and Run the Z51F0811 Demo Project
Reset & Go toolbar icon, shown in Figure 12. As a result, the LEDs on the
Z51F0811 Board will blink in sequence.
Page 26
Z51F0811 MCU Evaluation Kit
Note:
Note:
User Manual
16
10. Similar projects that you can use as references are listed in Table 5 on page 18.
HyperTerminal Configuration
A communications program such as HyperTerminal can be used on Windows XP sy stems
to view the messages from the Z51F0811 Evaluation Board. The following procedure
examines how to configure HyperTerminal for the Z51F0811 demo project.
Figure 12. Reset & Go Toolbar Icon
The HyperT ermi nal application is not availabl e in Windows Vista and W indows 7 systems.
If you are using either of these operating systems, consider using/installing different communication software, such as TeraTerm. Please refer to the documentation for the particular
emulation software you use to configure it for communication with the Z51F0811 Evaluation Board.
1. In HyperT erminal, select the COM port assigned to the USB-to-UAR T interface cable.
This COM port can be determined from the Device Manager, as described in the the FTDI
USB-to-UART Driver Installation section on page 7.
2. Configure this port to reflect the following settings:
–9600 bps
–8 data bits
–No parity
–1 stop bit
–No flow control
3. Click the
Call button to connect to the Z51F081 1 Board. Upo n connection, you should
be able to see the Demo program menu shown in Figure 13.
Build and Run the Z51F0811 Demo ProjectUM024201-0212
Page 27
Z51F0811 MCU Evaluation Kit
User Manual
17
Figure 13. Demo Program Menu in HyperTerminal
UM024201-0212Build and Run the Z51F0811 Demo Project
Page 28
Z51F0811 MCU Evaluation Kit
User Manual
18
Sample Projects and Documentation
A number of sample projects are included on the CD that ships with the Z51F0811 Evaluation Kit, and their locations, listed in Table 5, will be accessible upon installation.
A number of Z8051-related documents are included in the Z51F0811 Evaluation Kit, and
their locations, listed in Table 6, will be accessible upon installation. You can also find
current versions of each of these documents on the Zilog website
Z8051 OCD and ISP User ManualUM0240Documentation\Tools_Documentation
Z51F0811 MCU Evaluation Kit User ManualUM0242Documentation\Tools_Documentation
Z51F3220 MCU Development Kit User ManualUM0243Documentation\Tools_Documentation
Z8051 Tools Product User GuidePUG0033Documentation\Tools_Documentation
19
UM024201-0212Sample Projects and Documentation
Page 30
Schematic DiagramsUM024201-0212
Z51F0811 MCU Evaluation Kit
User Manual
20
Schematic Diagrams
Figures 14 and 15 display schematic diagrams of the Z51F0811 Evaluation Board.
Figure 14. Z51F0811 Evaluation Board, #1 of 2
Page 31
UM024201-0212Schematic Diagrams
Z51F0811 MCU Evaluation Kit
User Manual
21
Figure 15. Z51F0811 Evaluation Board, #2 of 2
Page 32
Z51F0811 MCU Evaluation Kit
User Manual
22
Appendix A. OCD Driver Installation on
Windows Vista Systems
The driver programs for the Z8051 On-Chip Debugger are copied to the development PC
during the software and documentation installation. In the following procedure for PCs
running Windows Vista 32- and 64-bit operating systems, ensure that the target side of the
OCD will remain unconnected while you install these drivers. Refer to Figure 3
for guidance.
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 development PC’s
USB port. Connect the Mini-B end to the OCD device.
on page 5
2. After the PC detects the new hardware, it will display the Found New Hardware Wizard dialog box, shown in Figure 16. Click
ommended)
.
Locate and install driver software (rec-
Figure 16. Found New Hardware Dialog, Windows Vista
Schematic DiagramsUM024201-0212
Page 33
Z51F0811 MCU Evaluation Kit
User Manual
3. Depending on your development PC’s User Account Control settings, Windows may
ask for permission to continue the installation. Click
Continue.
4. When you see the Installing Device Driver dialog shown in Figure 17, do not click
Close. Instead, wait until you see the dialog that follows, which is shown in
Figure 18.
23
Figure 17. Install Device Driver Dialog, Windows Vista
UM024201-0212Schematic Diagrams
Page 34
Z51F0811 MCU Evaluation Kit
User Manual
24
Figure 18. Couldn’t Find Driver Dialog, Windows Vista
5. Select Browse my computer for driver software (advanced) to display the dialog
shown in Figure 19, which prompts you to key in or browse for the location of the
.inf file. 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, then click the Next button.
Figure 19. Browse For Driver Dialog, Windows Vista
UM024201-0212Schematic Diagrams
Page 36
Z51F0811 MCU Evaluation Kit
User Manual
26
6. When Windows prompt s yo u whether to install or no t instal l, click Install this driver
software anyway
and wait until the installation is completed (Windows may prompt
you more than once).
Figure 20. Can’t Verify Publisher Dialog, Windows Vista
Schematic DiagramsUM024201-0212
Page 37
Z51F0811 MCU Evaluation Kit
User Manual
7. When the installation is complete, the screen shown in Figure 21 will appear. Click
Close to exit the OCD driver installation.
27
Figure 21. Successfully Installed Dialog, Windows Vista
UM024201-0212Schematic Diagrams
Page 38
Z51F0811 MCU Evaluation Kit
User Manual
28
Appendix B. OCD Driver Installation on
Windows 7 Systems
The driver programs for the Z8051 On-Chip Debugger are copied du ring the software and
documentation installation. In the following procedure for PCs running Windows 7 32and 64-bit operating systems, ensure that the target side of the OCD will remain unconnected while you install these drivers.
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.
Connect the Mini-B end to the OCD device.
2. After the PC detects the new hardware, it will display the Installing device driver soft-ware dialog shown in Figure 22. Click within this dialog to display the installation
sequence of the driver software, which is diagrammed from top to bottom in
Figure 23.
Figure 22. Install Device Driver Dialog, Windows 7
Schematic DiagramsUM024201-0212
Page 39
Z51F0811 MCU Evaluation Kit
User Manual
29
Figure 23. Driver Software Installation Dialog, Windows 7
UM024201-0212Schematic Diagrams
Page 40
Z51F0811 MCU Evaluation Kit
User Manual
30
3. If Zilog Z8051 USB OCD appears in the Device Manager (as highlighted in
Figure 24), the OCD driver software has been successfully installed.
Figure 24. Device Manager Dialog, Windows 7
Schematic DiagramsUM024201-0212
Page 41
Customer Support
To share comments, get your technical questions answered, or report issues you may be
experiencing with our products, please visit Zilog’s Technical Support page at http://sup-
port.zilog.com.
To learn more about this product, find additional documentation, or to discover other facets about Zilog product offerings, please visit the Zilog Knowledge Base
ticipating in the Zilog Forum
This publication is subject to replacement by a later edition. To determine whether a later
edition exists, please visit the Zilog website at http://www.zilog.com
.
Z51F0811 MCU Evaluation Kit
User Manual
31
or consider par-
.
UM024201-0212Customer Support
Page 42
Z51F0811 MCU Evaluation Kit
User Manual
32
Customer SupportUM024201-0212
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.