Echelon FTXL User Manual
Page 11
![background image](/manuals/735717/11/background.png)
FTXL User’s Guide
xi
Managing Interrupts........................................................................... 179
Determining Memory Usage for FTXL Applications .....................................181
Total Memory Use ............................................................................... 182
Memory Use for Transactions............................................................. 183
Memory Use for Buffers ...................................................................... 183
Resources ..................................................... 184
Memory for Non-Volatile Data ........................................................... 185
Memory Usage Examples.................................................................... 187
Downloading an FTXL Application Over the Network..................................191
Custom Application Download Protocol ................................................... 192
Application Download Utility.................................................................... 193
Download Capability within the Application ........................................... 193
Overview of the Example Applications..................................................... 196
Example Application Files .................................................................. 196
The Simple Example Application.............................................................. 197
Application Task Function.................................................................. 198
Event Handler Function ..................................................................... 199
Application-Specific Utility Functions ............................................... 200
Callback Handler Function................................................................. 201
The Dynamic Interface Example Application .......................................... 202
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
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