beautypg.com

Build and run the z51f6412 demo project – Zilog Z51F6412 User Manual

Page 26

background image

UM025901-1112

Build and Run the Z51F6412 Demo Project

Z51F6412 Development Kit

User Manual

19

Build and Run the Z51F6412 Demo
Project

Observe the following procedure to build and run the Z51F6412 demo project.

If you plan to use the Keil µVision IDE, please skip to the the

Using the Keil µVision IDE

on a Demo Project

section on page 25.

1. Browse to the following location and double-click the

build_sdcc.bat

batch file to

build the project:

\Z8051_\samples\Z51F6412\Demo\build_sdcc.bat

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:

\Z8051_\samples\Z51F6412\Demo\demo.hex

3. Set up the OCD and Development Board. If you have not already configured these

items, please return to the

Configure the Z8051 OCD and Z51F6412 Development

Board

section on page 16.

4. Run the Z8051 OCD software. From the

Start

menu, navigate to

All Programs

Zilog Z8051 Software and Documentation

Zilog Z8051

OCD

. Once launched, the program will display Connected, as

shown in Figure 16.

If you encounter a message that says

Disconnected

, return to the

Configure the Z8051

OCD and Z51F6412 Development Board

section on page 16 to configure the proper

power-up sequence. If the problem persists, Zilog recommends that you review the

Z8051

OCD Driver Installation

and

FTDI USB-to-UART Driver Installation

sections.

Note:

Note:

Note:

This manual is related to the following products: