
Page 7
2
Operation
This section describes the main features of the Diagnostic SpaceWire Interface.
The Diagnostic SpaceWire Interface (DSI) is a high-performance Ethernet-to-SpaceWire Bridge that can relay
traffic from a single TCP/IP Ethernet connection to up to eight concurrently-operating bidirectional SpaceWire
ports.
The DSI may be purchased with firmware that supports fewer than the eight SpaceWire connectors on the RG408
hardware platform. In this case, only the lowest-numbered SpaceWire connectors are
usable - e.g. ports 1 and 2 for 2-port firmware and ports 1-4 for 4-port firmware. The remaining ports are
disabled. Firmware upgrades to enable further ports are available from 4Links Limited.
2.1
General
The DSI is connected to an Ethernet network and passively waits for a connection from a host computer. It is
identified by an IP address that is used by the host computer to make this connection.
The connection is made using a TCP socket, which is flow-controlled and is capable of recovering from errors that
might occur on the network between the user and the EtherSpaceLink unit.
Upon making the connection, the DSI is set to a known state with the SpaceWire links disabled, the
link speed set to 10Mb/s and all the options reset. The user program must enable the SpaceWire links before data
can be sent or received. Once enabled, data is transferred, transparently, from the
SpaceWire link to the application program on the host, and also from the program to the SpaceWire link.
There is no limitation on the size of packet transfers in each direction - not even as a result of finite buffer sizes.
The user has complete control over the SpaceWire packet content and structure; a packet may be sent or
received in segments.
The host program can also control the transmission speed of the SpaceWire links. The transmit speed can be
changed at any time, including in the middle of a packet. Speed changes are transparent and do not require link
disconnection. In accordance with the standard, the SpaceWire links always start at 10Mb/s and then, when the
link(s) are established, they may be changed to the user-selected speed. All of the links on the DSI run at the same
user-selected speed, except for any that are selected to remain at the initial 10Mb/s rate.
Disconnection of the user’s program from the DSI results in the SpaceWire links being disabled and all of the DSI
options being reset.
The DSI can therefore be seen as a transparent interface - when the user program activates theSpaceWire links,
they can connect to the target SpaceWire network, and when the user program is stopped, the SpaceWire links
disconnect.
The Diagnostic SpaceWire Interface may be operated in three ways: