background image

Copyright ©2012 Zilog

®

, Inc. All rights reserved.

www.zilog.com

User Manual

Z51F0811 MCU Evaluation Kit

Z8051

 Family of 8-Bit Microcontrollers

UM024201-0212

Summary of Contents for Z51F0811 MCU

Page 1: ...Copyright 2012 Zilog Inc All rights reserved www zilog com User Manual Z51F0811 MCU Evaluation Kit Z8051 Family of 8 Bit Microcontrollers UM024201 0212...

Page 2: ...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 publ...

Page 3: ...0811 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 4: ...Revision History UM024201 0212 iv Z51F0811 MCU Evaluation Kit User Manual...

Page 5: ...valuation 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...

Page 6: ...Table of Contents UM024201 0212 vi Z51F0811 MCU Evaluation Kit User Manual...

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

Page 8: ...List of Figures UM024201 0212 viii Z51F0811 MCU Evaluation Kit User Manual...

Page 9: ...212 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 Docume...

Page 10: ...List of Tables UM024201 0212 x Z51F0811 MCU Evaluation Kit User Manual...

Page 11: ...811 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 Z...

Page 12: ...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 bi...

Page 13: ...en 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 provid...

Page 14: ...n 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 docum...

Page 15: ...s 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_numbe...

Page 16: ...ist 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...

Page 17: ...SB 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 pe...

Page 18: ...tion 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 U...

Page 19: ...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 s...

Page 20: ...eady 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 o...

Page 21: ...UM024201 0212 Configure the Z8051 OCD and Z51F0811 Evaluation Z51F0811 MCU Evaluation Kit User Manual 11 Figure 8 Connecting the USB Mini B Cable to the Board F P O...

Page 22: ...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 dem...

Page 23: ...te and navigate via the Tools and Software menu to Software Downloads 5 In the Debugger window select Load Hex from the File menu to display the Object File dialog 6 In the Object file dialog browse t...

Page 24: ...51F0811 Demo Project UM024201 0212 14 Z51F0811 MCU Evaluation Kit User Manual 8 Click the Write button to open the On Chip Debugger s main window A typical OCD window is shown in Figure 11 Figure 10 C...

Page 25: ...the Code Disassemble dialog does not appear in the Z8051 OCD Debugger navigate via the View menu to select Code Disassemble 9 Click the Reset Go toolbar icon shown in Figure 12 As a result the LEDs o...

Page 26: ...operating systems consider using installing different com munication software such as TeraTerm Please refer to the documentation for the particular emulation software you use to configure it for comm...

Page 27: ...UM024201 0212 Build and Run the Z51F0811 Demo Project Z51F0811 MCU Evaluation Kit User Manual 17 Figure 13 Demo Program Menu in HyperTerminal...

Page 28: ...imer 2 samples Z51F0811 Timers Timer2 Timer 3 samples Z51F0811 Timers Timer3 Timer 01 samples Z51F0811 Timers Timer_01_16bit Timer 23 samples Z51F0811 Timers Timer_23_16bit Demo samples Z51F0811 Demo...

Page 29: ...Tools_Documentation Z51F0811 MCU Evaluation Kit User Manual UM0242 Documentation Tools_Documentation Z51F3220 MCU Development Kit User Manual UM0243 Documentation Tools_Documentation Z8051 Tools Produ...

Page 30: ...c Diagrams UM024201 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...

Page 31: ...UM024201 0212 Schematic Diagrams Z51F0811 MCU Evaluation Kit User Manual 21 Figure 15 Z51F0811 Evaluation Board 2 of 2...

Page 32: ...nsure that the target side of the OCD will remain unconnected while you install these drivers Refer to Figure 3 on page 5 for guidance 1 Connect the OCD hardware to the USB port of your PC by connecti...

Page 33: ...ccount 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...

Page 34: ...on 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 On 32 bit machines use the foll...

Page 35: ...UM024201 0212 Schematic Diagrams Z51F0811 MCU Evaluation Kit User Manual 25 Figure 19 Browse For Driver Dialog Windows Vista...

Page 36: ...n Kit User Manual 6 When Windows prompts you whether to install or not install click Install this driver software anyway and wait until the installation is completed Windows may prompt you more than o...

Page 37: ...rams Z51F0811 MCU Evaluation Kit User Manual 27 7 When the installation is complete the screen shown in Figure 21 will appear Click Close to exit the OCD driver installation Figure 21 Successfully Ins...

Page 38: ...OCD will remain uncon nected 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 h...

Page 39: ...UM024201 0212 Schematic Diagrams Z51F0811 MCU Evaluation Kit User Manual 29 Figure 23 Driver Software Installation Dialog Windows 7...

Page 40: ...0212 30 Z51F0811 MCU Evaluation Kit User Manual 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 Dev...

Page 41: ...log s Technical Support page at http sup port zilog com To learn more about this product find additional documentation or to discover other fac ets about Zilog product offerings please visit the Zilog...

Page 42: ...Customer Support UM024201 0212 32 Z51F0811 MCU Evaluation Kit User Manual...

Reviews: