CONTROLINK86 SMSC, CONTROLINK86 Datasheet - Page 13

no-image

CONTROLINK86

Manufacturer Part Number
CONTROLINK86
Description
Development Software Embedded Networking Software
Manufacturer
SMSC
Datasheet

Specifications of CONTROLINK86

Tool Function
Compiler
Tool Type
Compiler
Processor Series
80x86
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
ControLink86 Realtime Networking Software
Note: the size of the SAP buffer only has to be as large as the maximum message size. For example, if a
system has a maximum message size of 16 bytes then only a 16 byte buffer is necessary.
2.4.2 INITIALIZING CONTROLINK
The initialization of ControLink involves three simple processes:
Initialization of ControLink will involve requesting network services from the Class 1 driver. All Class 1
driver service requests are accomplished by using the llc1_request() routine. The llc1_request() routine
is of the form:
Example:
llc1_request() routine is described in detail in Section 3.5.1.
To establish default settings for the hardware the d20_set_defaults() routine must be run first before any
further initialization can be accomplished. d20_set_defaults() initializes a parameter list. Please refer to
the low level driver description for further details. Hardware parameters can be changed using the
d20_set_parameter() and d20_get_parameter() routines. After setting the desired parameters the
d20_init() routine should be run to program the specified parameters into the hardware and to test the
hardware for functionality.
An important process that occurs during initialization is the selection of the physical ARCNET ID value.
The ARCNET specification mandates that each node have a unique Node ID on the network. ControLink
offers three methods of selecting a unique Node ID value:
Method
automatic
software set
hardware set
status = llc1_request( ssap, dsap, request, SAP structure);
hardware initialization
SAP activation
Class 1 driver state machine initialization
Automatic Node ID generation
Software set
Hardware port or switch set
/* assign each SAP buffer to the structure */
SAP1.msgptr = SAP1BUF;
SAP2.msgptr = SAP2BUF;
SAP3.msgptr = SAP3BUF;
GSAP1.msgptr = GSAP1BUF;
GSAP2.msgptr = GSAP2BUF;
GSAP3.msgptr = GSAP3BUF;
}
Description
An algorithm is employed to select the first available Node ID on the
network. The search is started with the Node ID = 1 and ends when there is
no other node on the physical segment with the same Node ID.
The ARCNET ID is predetermined and programmed into system non-
volatile memory (EPROM, PROM, EEPROM, FLASH, etc.). The stored
value is then passed to the parameter list and programmed into hardware
The ARCNET ID value can be read from a switch at a specified hardware
port address. The port address is supplied by the programmer in the
parameter list. This is quickest method of finding a unique ID value. Refer
to COM2002x Data Sheet and to the EVB-PC2002x for information
necessary to customize the initialization of the hardware.
13

Related parts for CONTROLINK86