Echelon FTXL User Manual

Page 11

Advertising
background image

FTXL User’s Guide

xi

Managing Interrupts........................................................................... 179

Determining Memory Usage for FTXL Applications .....................................181

Overview ..................................................................................................... 182

Total Memory Use ............................................................................... 182

Memory Use for Transactions............................................................. 183

Memory Use for Buffers ...................................................................... 183

Memory for L

ON

W

ORKS

Resources ..................................................... 184

Memory for Non-Volatile Data ........................................................... 185

Memory Usage Examples.................................................................... 187

Downloading an FTXL Application Over the Network..................................191

Overview ..................................................................................................... 192

Custom Application Download Protocol ................................................... 192

Application Download Utility.................................................................... 193

Download Capability within the Application ........................................... 193

Example FTXL Applications...........................................................................195

Overview of the Example Applications..................................................... 196

Example Application Files .................................................................. 196

The Simple Example Application.............................................................. 197

Main Function......................................................................................198

Application Task Function.................................................................. 198

Event Handler Function ..................................................................... 199

Application-Specific Utility Functions ............................................... 200

Callback Handler Function................................................................. 201

Model File.............................................................................................201

The Dynamic Interface Example Application .......................................... 202

Main Function......................................................................................203

Application Task Function.................................................................. 204

Event Handler Functions.................................................................... 205

myNvUpdateOccurred()................................................................ 206

myNvAdded()................................................................................. 211

myNvTypeChanged() .................................................................... 211

myNvDeleted() .............................................................................. 211

myReset()....................................................................................... 212

myOnline()..................................................................................... 212

Application-Specific Utility Functions ............................................... 213

Callback Handler Function................................................................. 213

Model File.............................................................................................214

Setting up the Nios II IDE for the Example Applications....................... 215

Creating a New FTXL Application Project ........................................ 215

Running the LonTalk Interface Developer Utility ............................ 217

Building the Example Application Image ................................................ 218

Building the Reference Design Hardware Image.............................. 218

Building the Example Software Image .............................................. 218

Loading the Example Application Image into Flash ............................... 219

Running the Example Applications .......................................................... 220

Running the Simple Example............................................................. 222

Running the Dynamic Interface Example ......................................... 222

Changing Network Variable Types.............................................. 222

Adding Dynamic Network Variables ........................................... 223

The Micrium Software License ................................................................. 227

Advertising