Creating a new application project – Echelon FTXL Hardware User Manual

Page 77

Advertising
background image

FTXL Hardware Guide

69

The application uses the functions described in

Interrupt Functions from the

FTXL HAL

on page 64 to handle interrupts.

Working with the Nios IDE for the Bring-Up
Application

Although the Bring-Up application is designed to test the hardware design, it is a

software application, and thus uses the Nios II IDE. To set up the Nios II IDE

for the Bring-Up application, perform the following general steps:

1. Recommended: Create a new workspace for each example application

project.

2. Create a new application project based on the FTXL Bring-Up

Application project template.

3. Build the project.

The following sections describe these steps. After you build the project, you can

run it. There should be no need to load the application into the device’s flash

memory; instead, you can run the application from the Nios IDE.

Creating a New Application Project

Recommendation: Create the Bring-Up application project in a new workspace.

To work in a new workspace, select File Switch Workplace to open the

Workspace Launcher window, from which you can specify a new workspace.

To create a new application project for the FTXL Bring-Up application:

1. Select File New Nios II C/C++ Application to open the New Project

window.

2. From the New Project window’s Select Project Template selection box,

select the FTXL Bring-Up Application project.

3. Optional: Enter a project name in the Name field. The default name is

FTXL_BringupApp_0.

4. Specify a location for this project (such as C:\MyFtxl) by selecting the

Specify Location checkbox and specifying the location in the Location

field. The directory name must not contain spaces. If you use the default

location, your source files will be placed in the project workspace
directory.

5. Specify the target hardware. Click Browse in the Select Target

Hardware area to open the Select Target Hardware dialog.

a. In the Select Target Hardware dialog, browse to your device’s

directory and select the SOPC Builder system file for the project.

b. Click Open to select the file and close the Select Target Hardware

dialog.

6. Click Finish to create the project and generate the project’s system

library.

Advertising