Building the example application image, Building the reference design hardware image, Building the example software image – Echelon FTXL User Manual

Page 230

Advertising
background image

218

Example FTXL Applications

2. From the Welcome to LonTalk Interface Developer page of the utility,

click Browse to open the appropriate project file:
• [

MyFTXL

]\FTXL_Simple_0\Simple Example.lidprj

• [

MyFTXL

]\FTXL_DynamicInterface_0\Dynamic Interface

Example.lidprj

where [

MyFTXL

] is the location that you specified for the project

when you created it within the Nios IDE. The subdirectory name is
the same as the project name that you specified when you created the

project.

3. Because you opened an existing project file, you can accept the predefined

values on all of the subsequent pages of the LonTalk Interface Developer

utility by clicking Next on each page.

4. Click Finish on the Build Progress and Summary page to close the

LonTalk Interface Developer utility.

Within the Nios IDE, right-click within the Nios II C/C++ Projects pane and
select Refresh to see the newly generated and copied files for the project. You can

now compile and build the project.

Building the Example Application Image

The examples that are included with the FTXL Developer’s Kit include the
hardware design for the Nios II processor, as well as the software for the FTXL

LonTalk API, and two example applications. You must separately build the

hardware image and the software image.

The example applications define a single configuration, Debug. If you want to

define other configurations (for example, Release) for the example applications,
define them within the Nios IDE as described in

Specifying the Properties for the

Application

on page 106.

For more information about the hardware image, see the

FTXL Hardware Guide

.

Building the Reference Design Hardware Image

The FTXL Developer’s Kit includes a pre-built hardware design image for the

Nios II processor running on the Cyclone II FPGA device on the devboards.de

DBC2C20 development board. To use the pre-built image, see

Loading the

Example Application Image into Flash

on page 219.

You might need to rebuild the hardware image, for example, if you want to

modify the design, run the Nios II processor on a different device than a Cyclone
II FPGA on the DBC2C20 development board, or if your Altera tools license

requires you to rebuild the image.
See the

FTXL Hardware Guide

for information about building the reference

design hardware image.

Building the Example Software Image

To build the software image for either of the example applications that are
included with the FTXL Developer’s Kit:

Advertising