Ic. Legrand et al., A PROGRAMMING ENVIRONMENT TO CONTROL SWITCHING-NETWORKS BASED ON STC104 PACKET ROUTING CHIP, Nuclear instruments & methods in physics research. Section A, Accelerators, spectrometers, detectors and associated equipment, 389(1-2), 1997, pp. 106-109
The software environment used to control a large switching architectur
e based on SGS-Thomson STC104 (an asynchronous 32-way dynamic packet r
outing chip) is presented. We are evaluating this switching technology
for large scale, real-time parallel systems. A Graphical User Interfa
ce (GUI) written as a multi-thread application in Java allows to set t
he switch configuration and to continuously monitor the state of each
link. This GUI connects to a multi-thread server via TCP/IP sockets. T
he server is running on a PC-Linux system and implements the virtual c
hannel protocol in communicating with the STC104 switching units using
the Data Strobe link or the VME bus. Linux I/O drivers to control the
Data Strobe link parallel adaptor (STC101) were developed. For each c
lient the server creates a new thread and allocates a new socket for c
ommunications. The Java code of the GUI may be transferred to any clie
nt using the http protocol providing a user friendly interface to the
system with real-time monitoring which is also platform independent.