Build and Run the Z51F3221 Demo
Project
Observe the following procedure to build and run the Z51F3221 demo project.
Note:
If you plan to use the Keil µVision IDE, please skip to the the
on a Demo Project
1. Browse to the following location and double-click the
build the project:
<Z8051 Installation>\Z8051_<version_number>\samples\Z51F3221\Demo\build_sdcc.bat
Note:
Refer to the
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 Installation>\Z8051_<version_number>\samples\Z51F3221\Demo\demo.hex
3. Set up the OCD and Development Board. If you have not already configured these
items, please return to the
Board
4. Run the Z8051 OCD software. From the
Zilog Z8051 Software and Documentation <version_number>
OCD <version_number>
shown in Figure 16.
Note:
If you encounter a message that says
OCD and Z51F3221 Development Board
power-up sequence. If the problem persists, Zilog recommends that you review the
OCD Driver Installation
UM025801-1112
section on page 26.
Z8051 Tools Product User Guide (PUG0033)
Configure the Z8051 OCD and Z51F3221 Development
section on page 17.
. Once launched, the program will display Connected, as
and
FTDI USB-to-UART Driver Installation
build_sdcc.bat
for additional information about
menu, navigate to
Start
, return to the
Disconnected
section on page 17 to configure the proper
Build and Run the Z51F3221 Demo Project
Z51F3221 Development Kit
User Manual
Using the Keil µVision IDE
batch file to
→
All Programs
→
Zilog Z8051
Configure the Z8051
Z8051
sections.
20
Need help?
Do you have a question about the Z8051 Series and is the answer not in the manual?
Questions and answers