beautypg.com

Running the sample project – Zilog ZMOT0BHH User Manual

Page 20

background image

UM023902-1013

16

ZMOTION

®

20-Pin Detection and Control Development Kit

User Manual

2. Attach the free end of the ribbon cable to the DBG connector (ZDI Interface) on the

development board. Ensure that pin 1 on the ribbon cable (indicated by the dark stripe)
is aligned with pin 1 on the target connector (indicated by a 1 on P2 of the board).

3. Install the FTDI USB-to-serial driver. For assistance, see

Appendix B. Installing the

FTDI USB-to-UART Driver

on page 26.

Running the Sample Project

In this example, we reference the

ZMOTION_Serial_Config

project, which is the proj-

ect that the kit is initially programmed with. The steps that follow show you how to build
the project and run it on the ZMOTION Module in a debug session; these steps also apply
to any of the other projects provided in the kit.

At this point, you should have installed the FTDI-to-USB Serial Driver and loaded ZDS II
and the USB SmartCable driver onto your computer. If you haven’t yet done so, refer to

Appendix A. Installing the USB SmartCable Driver

on page 23 and/or

Appendix B.

Installing the FTDI USB-to-UART Driver

on page 26 to learn more about how to install

these items.

1. Open ZDS II and select

File

Open Project

, then navigate via the following path to

the project folder labeled

ZMOTION_Serial_Config

:

C:\Program Files\Zilog\ZMOTIONL200ZCOG_\SW Project and

Downloads\ZMOTION_Serial_Config

2. Open the

ZMotion_Serial_Config_20_Pin.zdsproj

project. When you first re-

ceive your kit, this project is already loaded into the ZMOTION MCU. Right-click
within the open grey area below the menu icons and select

Workbook Mode

to turn on

the tabs at the bottom of the editor and therefore make it easier to switch between files.

3. Click the

Rebuild All

icon to build the project. The build output should not indicate any

errors. If you receive errors, try reloading the projects from the original Application CD
and ensure that the folders are not set to

Read Only

. See Figure 12 for an example; Fig-

ure 13 indicates the location of the

Rebuild All

icon in the ZDS II menu bar.

Note:

This manual is related to the following products: