Echelon Mini FX User Manual

Page 5

Advertising
background image

iv

Preface

Hardware Templates............................................................................. 21

Neuron C ................................................................................................ 21

Device Templates................................................................................... 21

Device Interface Files............................................................................ 22

Resource Files ........................................................................................ 22

2

Installing the Mini FX Evaluation Kit..................................... 23

Installing the Mini FX Evaluation Kit ....................................................... 24

Installing the Mini FX Software........................................................... 24

Connecting the Mini FX Hardware ...................................................... 29

Connecting the Mini FX/FT Hardware.......................................... 30

Connecting the Mini FX/PL Hardware.......................................... 33

3

Mini FX Quick-Start Exercise ................................................... 37

Mini FX Quick-Start Exercise..................................................................... 38

Step 1: Creating the Device Application .............................................. 38

Step 2: Writing the Device Application................................................ 39

FT 5000 Evaluation Boards............................................................ 39

PL 3150 and PL 3170 Evaluation Boards ..................................... 41

Step 3: Building the Device Application .............................................. 42

Step 4: Downloading the Device Application....................................... 45

Step 5: Testing the Device Application ................................................ 46

4

Using the Mini FX Application.................................................. 47

Introduction to the Mini FX Application .................................................... 48

Building a Device Application..................................................................... 48

Creating and Opening Neuron C Source Files .................................... 49

Selecting the Hardware Template........................................................ 51

Specifying the Program ID.................................................................... 51

Building the Application Image File .................................................... 55

Downloading an Application Image File .................................................... 55

Resetting, Winking, and Testing Devices................................................... 60

5

Developing Device Applications............................................... 63

Introduction to Neuron C ............................................................................ 64

Unique Aspects of Neuron C................................................................. 64

Neuron C Variables ............................................................................... 66

Neuron C Variable Types ............................................................... 66

Neuron C Storage Classes .............................................................. 67

Variable Initialization .................................................................... 68

Neuron C Declarations ................................................................... 68

Getting Started with Neuron C................................................................... 69

Performing Neuron C Input/Output..................................................... 70

Switches........................................................................................... 72

FT 5000 EVB............................................................................. 72

Mini Gizmo I/O Board .............................................................. 73

Conditional Compilation Example .......................................... 74

LEDs ................................................................................................ 75

FT 5000 EVB............................................................................. 76

Mini Gizmo I/O Board .............................................................. 76

Conditional Compilation Example .......................................... 76

Temperature Sensor ....................................................................... 77

Serial I/O.......................................................................................... 78

LCD Display .................................................................................... 79

Advertising