Echelon LonTal Stack User Manual
Page 3
LonTalk Stack Developer’s Guide
iii
Table of Contents
Introduction to LonTalk Stack ............................................................... 1
Device with a Single Processor Chip .............................. 3
Device with Two Processor Chips ................................... 4
ShortStack Developer’s Kit .............................................................. 4
LonTalk Stack Developer’s Kit......................................................... 6
Comparing Neuron-Hosted, ShortStack, and LonTalk Stack
Requirements and Restrictions for LonTalk Stack...................................... 9
Development Tools for LonTalk Stack........................................................ 10
Overview of the LonTalk Stack Development Process .............................. 12
Getting Started with the LonTalk Stack Developer’s Kit ..............19
Installing the LonTalk Stack Developer’s Kit............................................ 20
Hardware Requirements....................................................................... 20
Software Requirements......................................................................... 20
Installing the LonTalk Stack Developer’s Kit ..................................... 21
Example LonTalk Stack Applications ........................................................ 22
Loading the Echelon Smart Transceiver or Neuron Chip .............25
Integrating a Custom Network Interface ................................................... 28
Defining Incoming Layer 2 Packet Buffers.......................................... 29
Designing the Serial I/O Hardware Interface ...................................31
Overview of the Hardware Interface .......................................................... 32
Serial Communication Lines ................................................................ 32
Selecting the Link-Layer Bit Rate........................................................ 34
Host Latency Considerations................................................................ 36
Performing an Initial Echelon Smart Transceiver Health Check ............ 37
Creating a LonTalk Stack Serial MIP Driver....................................39
Overview of the Link Layer Protocol .......................................................... 40
Code Packet Layout............................................................................... 40
Type Code Values............................................................................ 42
Acknowledgment Rules .................................................................. 44
Sequence Number Cycling and Duplicate Detection .................... 45
Supported MIP Command Set.............................................................. 45
Layer 2 / Layer 5 Modes........................................................................ 46
Product Query Network Management ................................................. 47