4Links EtherSpaceLink Series User manual

EtherSp ceLink-RG408
EtherSp ceLink f milyUser M nu l
EtherSp ceLink f milyUser M nu l
EtherSpaceLink-RG408
ESL-RG408 to Version 1.5
Manual Version 2
The 4Links EtherSpaceLinkprovides remote access to a SpaceWirenetworkfor software
simulation of devices,remote monitoring anddistributedsystem integration activities.
It provides a transparent interface allowing SpaceWire packets to be sent and received by
an application program using an Ethernet connexion. It is implemented onthe 4Links
Ethernet platformssuch as the one-port RG201 and theeight-port RG408.
AstandardTCP/IPsocket connection isusedto provide reliabledelivery ofdata despite
errorsoccurring onthe Ethernet link. Thisstandardinterface mechanism issupportedby
all majoroperating systems- additionalsoftware driversarenot required.
The Ethernet port providesa galvanically isolatedconnectionwith a cablelength ofup to
100 m. Attaching thistothe Internet allowsworld-scale connections.
There isnolimittothe length of the SpaceWire packetstransferred.
Thebasic EtherSpaceLink unit providesdata transfersandmaybe extendedwith options
to provide for time codes, event reporting, waveform capture andtime-tags. Mostoptions
canbe addedasasimple fieldupgradebyreplacing the removable memorycardinstalled
onthe front panelof the unit.
The RG408 hardware platform haseight SpaceWire ports,ofwhich justone maybe
utilisedat anytimebythe EtherSpaceLinkinterface. The purchaseof additionalfirmware
allowsthe hardware platform toserve many other purposeswhen it isnotbeing usedas
an ESL.
4Links Limited
www.4Links.co.uk
p ge 1of 110
T+44 1908 642001; F+44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley P rk

EtherSp ceLink-RG408
EtherSp ceLink f milyUser M nu l
Equipment Covered by this Manual
Model EtherSpaceLinkfamily:
EtherSpaceLink(ESL)- all
RG408 models
Rackmounted Ethernet toSpaceWireinterface.
Opticalfibreor copper1000 Mb/s/100 Mb/sEthernet
connection.
SpaceWirelinkspeeds up to400 Mb/s.
Two,FourorEight SpaceWireports.
Options TT Time-Tags
ER Event / ErrorReporting
EWEvent / Error Waveforms
TC Timecode receiveand transmit
SF Store-and-forward buffer
Revision history - ESL-RG408Manual
Version 2 September2013
RMAPeel
Substantialadditions and use ofnewtext processing
tools.
Version 1 23 May2005
BM Cook
Initialversion-derived fromtheESL-RF201 manual.
SVN revision 230Mof2013/09/17
Variant a4:RG408
Legalnoticeanddisclaimer:Copyright©2012-2013 4LinksLimited, all rights reserved. Thename4Linksand theaccompanyingdeviceareregistered asa
TrademarkintheEuropeanUnionand intheUnited States of America.Theinformation supplied inthisdocument is believed tobe accurate atthe date of issue.
4Linksreserves therighttochange specifications ortodiscontinueproducts withoutnotice. 4Linksassumes noliabilityarisingoutoftheapplicationoruse of
anyinformationorproduct,nordoes itconveyany licenceunderits patent rights ortherights ofothers. Products from 4LinksLimited arenot designed,
intended, authorised orwarranted tobe suitableforuse inlife-support devices orsystems.
4Links Limited
www.4Links.co.uk
p ge 2of 110
T+44 1908 642001; F+44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley P rk

EtherSp ceLink-RG408
EtherSp ceLink f milyUser M nu l
Table of Contents
CoverPage............................. 1
Equipment Covered bythisManual..................... 2
Revisionhistory-ESL-RG408Manual.................... 2
1. GeneralSafety Summary....................... 7
1.1. Terms inthisManual....................... 7
1.2. SymbolsontheProduct. ...................... 7
2.Description ofOperation ....................... 8
2.1. General............................ 8
2.2. Getting Started ......................... 9
2.3. StandardEtherSpaceLinkCapabilities .................. 10
2.4.EtherSpaceLinkOptions ...................... 10
2.4.1. ER-Event / Error Reporting.................... 10
2.4.2. EW - Event / ErrorWaveforms ................... 10
2.4.3. TT -Time-tags........................ 10
2.4.4.TC - SpaceWireTime Code generator/distributor............ 10
2.4.5.SF -Storeand ForwardBuffer................... 11
2.5.Front-PanelDisplay........................ 11
2.5.1. Ethernet information...................... 11
2.5.2. SpaceWireinformation..................... 11
2.6.CommunicationProtocols...................... 11
2.7.ProgrammingAPI........................ 12
3.Specification ........................... 13
3.1. SpaceWire Links......................... 13
3.1.1. SpaceWireReceivePerformance.................. 13
3.1.2. SpaceWireTransmitPerformance. ................. 13
3.1.3. SpaceWireConnectors..................... 13
3.1.4.SpaceWireTime Codes ..................... 14
3.2. TheEthernet Connection. ..................... 14
3.2.1. ICMP Echo(ping)Support.................... 14
3.2.2. Full-DuplexEthernet ...................... 14
3.3. SMA SynchronizationConnectors................... 14
3.4.DiscoveringaUnit’sSerialNumberandInstalled ProductOptions ........ 15
3.4.1. TheUnitSerialNumberand its relationtotheEthernet MAC address ...... 15
3.4.2. Installed ProductOptions ..................... 15
3.5.TheRG408 HardwarePlatform.................... 16
3.5.1. Dimensions ......................... 16
3.5.2. EnvironmentalRequirements ................... 16
3.5.2.1. VentilationRequirements ................... 16
3.5.3. Power Supply ........................ 17
3.5.3.1. Supply Voltage. ...................... 17
3.5.3.2. PowerConsumption. .................... 17
4Links Limited
www.4Links.co.uk
p ge 3of 110
T+44 1908 642001; F+44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley P rk

EtherSp ceLink-RG408
EtherSp ceLink f milyUser M nu l
3.5.3.3. PowerConnector...................... 17
3.5.3.4.GroundingforElectricalSafety................. 18
3.5.3.5.Fuse Protection. ...................... 18
3.5.4. Handlingand Transportation................... 18
3.5.5.RG PlatformFirmware. ..................... 19
4. Block Diagram.......................... 20
5. Front Panel Display........................ 21
5.1. Initial(power-up)display...................... 21
5.2. Normal(status)display....................... 21
6. Front Panel Interactions ....................... 23
6.1. IPaddress ........................... 26
7. EtherSpaceLink Option Details .................... 27
8. Option ER - Event / ErrorReporting.................. 27
9. Option TT -Time Tags....................... 28
10. Option EW- Event / Error Waveforms ................. 29
11. Option TC - SpaceWire Time Codegenerator/distributor(TC)........ 31
12. Option SF-StoreandForward Buffer.................. 32
13.Software............................ 33
13.1. Files Supplied withtheEtherSpaceLinkUnit............... 34
13.2. ControllingtheEtherSpaceLink usingtheSpWIO Program.......... 34
13.3. ControllingtheEtherSpaceLink usingtheSpaceWireUI Program....... 34
13.4.ApplicationProgrammingInterface.................. 35
13.5.WaveformHandling....................... 35
14. C-languageApplication Programming Interface .............. 36
14.1. EtherSpaceLinkFamily Architectureand ProgrammingModel......... 36
14.1.1. Principles ofOperation. .................... 36
14.1.2. Terminology........................ 37
14.1.3. Protocol Hierarchy...................... 37
14.1.4.TheEthernet ConnectiontoanEtherSpaceLinkUnit........... 38
14.1.5.TheEtherSpaceLink Protocol ................... 38
14.1.6.SpaceWireTransmissions .................... 39
14.1.7.Modules,Options and Slots .................... 39
14.2. SpaceWire LinkModeterms ..................... 39
14.3. CompilingPrograms thatusetheEtherSpaceLinkAPI............ 40
14.4.Getting Started - aninitialexampleAPIprogram.............. 41
14.5.Advanced ProgrammingConcepts ................... 43
14.5.1. Transmitting SpaceWireDataand SpecialPackets ............ 43
14.5.2. Receiving SpaceWireDataand SpecialPackets ............. 43
14.5.3. AsynchronousIssuesduring StatusPolling.............. 44
14.5.4.UsingMultipleThreads Safely ................... 45
14.5.5.MaximisingtheThroughputof APIPrograms ............. 45
4Links Limited
www.4Links.co.uk
p ge 4of 110
T+44 1908 642001; F+44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley P rk

EtherSp ceLink-RG408
EtherSp ceLink f milyUser M nu l
14.5.6.AnAdvanced APIExample. ................... 45
14.6.TheAPIFunctions ........................ 51
14.6.1. EtherSpaceLink_open() .................. 52
14.6.2. EtherSpaceLink_close() .................. 54
14.6.3. EtherSpaceLink_set_log_file() .............. 55
14.6.4.EtherSpaceLink_set_id() ................. 56
14.6.5.EtherSpaceLink_set_mode() ................ 57
14.6.6.EtherSpaceLink_write_packet() .............. 59
14.6.7.EtherSpaceLink_write_buffer_empty() ............ 61
14.6.8. EtherSpaceLink_flush() .................. 62
14.6.9.EtherSpaceLink_set_receive_timeout() ........... 63
14.6.10.EtherSpaceLink_read_packet() ............... 64
14.6.11. EtherSpaceLink_read_packet_callback() .......... 66
14.6.12. EtherSpaceLink_read_packet_special_callback() ...... 67
14.6.13. EtherSpaceLink_read_packet_full() ............ 69
14.6.14.EtherSpaceLink_read_packet_full_nowait() ......... 73
14.6.15.EtherSpaceLink_read_packet_status() ........... 76
14.6.16.EtherSpaceLink_read_packet_wait_for_completion() ..... 77
14.6.17.EtherSpaceLink_set_speed() ................ 78
14.6.18. EtherSpaceLink_set_speed_double() ............ 79
14.6.19.EtherSpaceLink_link_connected() ............. 80
14.6.20.EtherSpaceLink_get_number_of_links() ........... 81
14.6.21. EtherSpaceLink_set_active_link() ............. 82
14.6.22. EtherSpaceLink_get_manufacturer_string() ......... 83
14.6.23. EtherSpaceLink_get_product_string() ........... 84
14.6.24.EtherSpaceLink_get_HWA() ................. 85
14.6.25.EtherSpaceLink_HWA_to_serial_number_string() ....... 86
14.6.26.EtherSpaceLink_get_module_slot() ............. 87
14.6.27.EtherSpaceLink_get_control_packet() ........... 89
14.6.28. EtherSpaceLink_extract_module_type() ........... 90
14.6.29.EtherSpaceLink_set_timecode_receive() .......... 91
14.6.30.EtherSpaceLink_set_timecode_transmit() .......... 92
14.6.31. EtherSpaceLink_extract_timetag() ............. 94
14.6.32. EtherSpaceLink_ER_enable_reporting() ........... 95
14.6.33. EtherSpaceLink_EW_enable_reporting() ........... 97
14.6.34.EtherSpaceLink_TT_enable_reporting() ........... 99
15. TroubleshootingGuide.......................101
16. The SpaceWireState Machine ....................103
16.1. TheEtherSpaceLinkdisplay oftheSpaceWire state machine ..........103
16.2. TheEtherSpaceLinkAPIview oftheSpaceWire state machine .........103
17. Statement of Volatility .......................104
17.1. Removingall informationfromaUnit.................104
17.2. SecurityNotice. ........................104
18. Product Limitations andFeatures ...................104
18.1. Ethernet ...........................104
18.2. SpaceWire. ..........................104
4Links Limited
www.4Links.co.uk
p ge 5of 110
T+44 1908 642001; F+44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley P rk

EtherSp ceLink-RG408
EtherSp ceLink f milyUser M nu l
19. RegulatoryInformation ......................105
19.1. ElectromagneticCompatibility....................105
19.2. ProductSafety.........................105
19.3. Equipment Recycling.......................105
19.4.RestrictionofHazardousSubstances ..................105
20. RG408 Product Drawings......................106
20.1. Planviews...........................106
20.2. Front views..........................108
20.3. Rear views..........................109
4Links Limited
www.4Links.co.uk
p ge 6of 110
T+44 1908 642001; F+44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley P rk

EtherSp ceLink-RG408
EtherSp ceLink f milyUser M nu l
1. GeneralSafety Summary
Reviewthefollowingsafetyprecautions toavoidinjuryand prevent damagetothisproductortoany
products connected toit.
Toavoidpotentialhazards,usethisproductonly asspecified.
There arenouser-serviceable parts insidethis equipment.
Do not remove covers.
Do not operate with suspectedfailures. Ifyou suspectthatthereisdamagetothisproduct,
referto4Linksfor advice.
Do not operate in wet or damp conditions.
Do not operate in anexplosiveatmosphere.
Keepproduct surfaces cleananddry.
Provide proper ventilation. Theair inlet and outlet ontherear panelmustnotbeobstructed.
1.1. Terms inthis Manual
CAUTION:
Caution statements identifyconditions orpractices thatcouldresultin damagetothis
productortootherproperty.
1.2.Symbols onthe Product
Thefollowingsymbol mayappear ontheproduct:
CAUTION:
Refertothisuser manualforsafetyinformation.
4Links Limited
www.4Links.co.uk
p ge 7of 110
T+44 1908 642001; F+44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley P rk

EtherSp ceLink-RG408
EtherSp ceLink f milyUser M nu l
2.Description ofOperation
Thissection describes themainfeatures oftheEtherSpaceLink unit.
TheESL isa high-performanceEthernet-to-SpaceWireBridgethatcanbidirectionally relaytraffic from
a TCP/IP Ethernet connectiontoone SpaceWireport.
OntheRG408 hardwareplatform, whichhas eight SpaceWireconnectors,theESL-RG401/8provides
access tojusttheone SpaceWireportthathas been selected atanytime, and theremainingseven
SpaceWireports are disabled.
2.1. General
TheESL isconnected toanEthernet networkand passivelywaits for a connectionfrom a host
computer. It isidentified byan IPaddress thatisused bythehost computertomakethisconnection.
Theconnectionismade using a TCPsocket,which isflow-controlled and iscapableof recovering from
errors thatmightoccurontheEthernet networkbetween theuser and theEtherSpaceLink unit.
Uponmakingtheconnection,theESL isset toaknown state withtheSpaceWirelinksdisabled,the
linkspeedset to10 Mb/sand all theoptions reset. Theuserprogrammustenablethe SpaceWirelinks
before data canbe sent orreceived. Onceenabled,data is transferred,transparently, fromthe
SpaceWirelinktotheapplicationprogram onthehost, and alsofromtheprogram totheSpaceWire
link.
Thereis nolimitationonthe sizeofpacket transfersineach direction-noteven asa resultoffinite
buffersizes. Theuser hascomplete control overtheSpaceWirepacket content andstructure; apacket
maybe sent orreceived in segments.
Thehost program canalsocontrol thetransmission speed oftheSpaceWirelinks. Thetransmit speed
canbechanged atanytime,includinginthemiddleof a packet. Speed changes aretransparent anddo
notrequirelinkdisconnection. In accordancewiththeECSS-E-ST-50-12CSpaceWire standard,the
SpaceWirelinkalwaysstarts at 10 Mb/sand then,when thelinkis established,itmaybe changed to
theuser-selectedspeed.
Disconnectionoftheuser’sprogram fromtheESL results inthe SpaceWirelinkbeingdisabled and all
oftheESLoptions beingreset.
TheEtherSpaceLinkmaybe operated inthree ways:
By its operator fromtheir computerkeyboard,using a supplied program togenerate and monitor
SpaceWiretraffic manually;
Through theuse ofpre-designed commandscripts thatrun standardsets oftests and analysethe
results automatically;
Using customer-createdsoftwarethatinteracts withtheir SpaceWirenetworkthrough the
EtherSpaceLinkApplicationProgramminginterface(API) underprogram control.
4Links Limited
www.4Links.co.uk
p ge 8of 110
T+44 1908 642001; F+44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley P rk

EtherSp ceLink-RG408
EtherSp ceLink f milyUser M nu l
2.2. Getting Started
AsanEthernet-to-SpaceWirebridge,theprimarypurpose oftheEtherSpaceLinkis torelaytraffic from
a host computertoaSpaceWireport, and vice-versa.Thiscaneasily be demonstrated byconnecting
port 1 oftheESL backtoitselfusingthe supplied loop-backconnector:
1 2 3 4 5 6 7 8Ports:
PC
Ethernet
Loop−back connector
ESL−RG401/8
Fig re 2.1: Connecting theESL in loop-back mode
UsingtheSpWIO program, a SpaceWirepacket maythen be sent fromthehost computertotheESL’s
SpaceWireport, fromwhereitflows through theloop-backcableand backintotheport. Fromthere,it
will be returned tothehost computer, whereitcanbe displayed and recorded.
java -jar SpWIO.jar /u 192.168.3.40
//-4Links.SpWIO (v24:20111201/v33:20110920) on Tue May 07 04:52:57 BST 2013
//-/u 192.168.3.40
//-Attached 192.168.3.40 is ESL-RG201 v1.5, 1-port, link mode is normal at 10.0Mb/s
//-Log file is "SpWIO_20130507_045259.log"
//-Input from "(console)"
@1 2 4 6 8 eop
Tx:@1 #02 #04 #06 #08 EOP
Rx:@1 #02 #04 #06 #08 EOP
Thisactionmayalsobe performed withtheSpaceWireUI Graphical UserInterfaceprogram:
Fig re 2.2:Getting Started withtheSpaceWireUI program
Herewecan see thata4-byte EOP-terminated packet was transmitted to port 1 oftheESL unit, and a
4-byte packet was then received backinto port 1.
4Links Limited
www.4Links.co.uk
p ge 9of 110
T+44 1908 642001; F+44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley P rk

EtherSp ceLink-RG408
EtherSp ceLink f milyUser M nu l
Furtherexamples inthismanual will illustrate someoftheadvanced error-reporting and interfacing
features oftheEtherSpaceLink unit.
2.3.StandardEtherSpaceLink Capabilities
All ESL units includethefollowing capabilities:
Bridgingof a bidirectionalstream of charactersfromEthernet toSpaceWire;
Theabilitytosupportone activeSpaceWireportatanytime,selected fromtheeightports onthe
RG408 platform.
Thetransmit speed ofthelinkscanbe set atup to400 Mb/sin stepsof1Mb/sorless;
Thereceive speed ofthelinksisinexcess of 400 Mb/s;
Softwareisprovided forthemanualandscripted generationof SpaceWiretraffic, togetherwith a
C-languageprogramming APIfor automated testing.
2.4. EtherSpaceLink Options
AnEtherSpaceLink unitcanbe supplied withfirmwarethatprovides additionaloptionalfeatures.
Detailed informationaboutthese options canbefound in section7,“EtherSpaceLinkOption Details”.
2.4.1. ER - Event / Error Reporting
Tokensdefined as errors,thatwould normally be hidden (typically resultinginalinkreset)and
replaced by(at most)anEEP character, canbe made visibletotheuser.Correct,butnormally hidden
tokens (such asflow-control tokens)canalsobe transferred totheuser.
2.4.2. EW- Event / Error Waveforms
TheSpaceWireporthasanassociated waveform storethatcaptures transmitand receivewire signals
forthatport. Waveformcaptures canbetriggered onawide variety ofevents onthatport.
Triggersinclude all error conditions,receiveddatabytes, and SpaceWiretime-codes.
2.4.3. TT -Time-tags
Thefirstbyte ofeach SpaceWirepacket,theEnd-of-packet marker and all intermediate packet bytes
canbetime-tagged with a resolutionofbetterthan 10 ns.
2.4.4. TC - SpaceWire Time Code generator / distributor
SpaceWiretime codes maybe automatically generated usingtheTC optionatintervals between 10 µs
and 999 s,orindividually uponuserrequest.
All eightbits ofthetime code value maybe set,totestthattheattached SpaceWirenetworkhandles
these cases properly,even though theSpaceWireStandard mandates thatthe most significant two
reserved bitsshould be transmitted aszeroes.
4Links Limited
www.4Links.co.uk
p ge 10 of 110
T+44 1908 642001; F+44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley P rk

EtherSp ceLink-RG408
EtherSp ceLink f milyUser M nu l
2.4.5. SF-Store andForwardBuffer
Transmissions fromEthernet ontoSpaceWirearenormally made immediately theESLreceives them,
which mightlead togapsintheSpaceWire streamif the data isspreadacross several Ethernet packets.
Sometimes itis necessarytobe abletotransmit severalSpaceWirepackets,orparts ofpackets,without
these gaps, and the storeand forward bufferoptionallows them tobe stored untilbeingsent asone
contiguousunit.
2.5. Front-Panel Display
Thefront paneldisplaycontinuously monitorsanddisplays the states oftheEthernet and SpaceWire
links. Thetop line ofthe displayshows theproductnumber, thecurrent IPaddress ofthe
EtherSpaceLink unit, and thename “4Links”ontheright.
Fig re 2.3: TheESL-RG408display
2.5.1. Ethernet information
Informationabouttheremote Ethernet connectionisshownontheuppersectionofthe display.The
statusoftheEthernet connectionisprovided,togetherwith indications ofwhen Ethernet transmitand
receiveactivity occur.
2.5.2.SpaceWire information
InformationabouttheSpaceWirelinksisshownonthelowersectionofthe display.The speed of
transmissionand receptiononeach linkisshown, and anyreceiveortransmitactivityisindicated.
2.6. Communication Protocols
4LinksEtherSpaceLink units provide access toa SpaceWirenetworkfromcomputersona conventional
TCP/IP Ethernet network.TCP/IPisused overEthernet to provide anerror checked guaranteed
deliverysystem,even through noise ortheinterveningnetworkfailing and beingrestored (for
example, a cablebeingremoved and reconnected).
In manycircumstances,theEtherSpaceLink units will be controlled using 4Links-suppliedsoftware,
such asSpWIO.Atothertimes,theEtherSpaceLink units maybe driven by user-written programs that
usetheApplicationProgrammingInterface(API) provided. Access via theNative Interfaceisalso
possible. CommunicationoverEthernet uses a TCP/IPsocket connectionand theEtherSpaceLink
libraryroutines then convertthetraffic toSpaceWire.
4Links Limited
www.4Links.co.uk
p ge 11 of 110
T+44 1908 642001; F+44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley P rk

EtherSp ceLink-RG408
EtherSp ceLink f milyUser M nu l
This maybe seen asa hierarchy ofprotocols:
TCP/IP over Ethernet
calls
Native Interface
Link
SpaceWireAPI function
Application
Program
(on host computer)
Programming API
(on host computer) ESL Family unit SpaceWire
endpoint or
device−under−test
Fig re 2.4: Connection ofaSpaceWire devicetoa comp ter sing anEtherSpaceLinknit.
Intheevent of anEtherSpaceLink unitbeingpowereddown,thecomputerwill continuetoexpectthe
connectiontobe restored,buttheEtherSpaceLink unitwill havelost connectioninformationand the
computer applicationprogramwill havetobe restarted.
Similarly, a failureofthecomputerwill leavetheEtherSpaceLink unitwaiting for a connection
restorationthatis notpossible, and inthiscasetheEtherSpaceLink unit mustbereset,bycycling
powerorbyremoving and re-insertingtheremovable memorycardonits front panel.
2.7. Programming API
Userprograms communicate withtheTCPsocket viaanApplicationProgrammingInterface(API),
provided intheCprogramminglanguage.
4Links Limited
www.4Links.co.uk
p ge 12 of 110
T+44 1908 642001; F+44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley P rk

EtherSp ceLink-RG408
EtherSp ceLink f milyUser M nu l
3.Specification
3.1. SpaceWire Links
TheESL’sSpaceWirelinksconform to ECSS-E-ST-50-12C(31st July 2008).
3.1.1. SpaceWire Receive Performance
Receive speeds maybe intherangefrom 1.2 Mb/s tomorethan400 Mb/s (thelowerlimitisset bythe
SpaceWire disconnecttimeout,nominally of850 ns).Theedge separationontheSpaceWire signal
lines mustbegreaterthan 1.4ns.
3.1.2.SpaceWire Transmit Performance
Awide rangeofuser-selected transmit speeds isavailablefrom 1 Mb/sup tomorethan400 Mb/s,with
anincrement of1Mb/sorless dependent onthe speed range, asshowninthefollowingtable.
Lower-speed(Mb/s)(increment (Mb/s)) Higher-speed(Mb/s)
400.0 (2.0) 498.0
40.0(1.0) 400.0
4.0(0.1)39.9
1.00 (0.01)3.99
3.1.3.SpaceWire Connectors
Eight standard9-wayMicro-miniatureD-typeSpaceWire socket connectorsare mounted eitheronthe
front panel(onRG hardwareplatforms)orontherear panel(onRG-R platforms).
Theconnectorsarelabelled1to8, fromlefttoright, correspondingtosoftwareand APIports1to8
respectively.
ThepinoutoftheSpaceWire socket connectors (looking from theoutside oftheEtherSpaceLink unit)
isshowninfigure 3.1:
5
4
3
2
1Din+
Sin+
Inner shield
Sout−
Dout− 9
8
7
6 Din−
Sin−
Sout+
Dout+
Fig re 3.1: SpaceWire connector pino t
Thefemale “Din”and “Sin”contacts provide inputs totheESL;thefemale “Dout”and “Sout”contacts
carry output signalsfrom theESL.
4Links Limited
www.4Links.co.uk
p ge 13 of 110
T+44 1908 642001; F+44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley P rk

EtherSp ceLink-RG408
EtherSp ceLink f milyUser M nu l
All eightofthese signalsarebuffered withintheESLusingLVDS buffersforeach ofthe differential
signal pairs. WithintheESL, all signalgrounds arebonded tothechassisoftheunit. Noticethatthe
ground potentialdifferencebetween each device-under-test mustbeheldwithineach receiver’sinput
common-mode voltagerange.
3.1.4. SpaceWire Time Codes
SpaceWire defines amechanism fortransferring a globaltime referenceacross anetwork.
TheESLcan displaytime-codes thatarereceived from thenetwork only if itis equipped withthe
optionalTime Code(TC)option. TheESLcangenerate time-codes from thehost computerby using
thehardwaretime-code generatorthatisprovided withtheTC option.
3.2. The Ethernet Connection
AnRJ45socket, housed inanSFPmodule situated onthefront panel,supports1000 Mb/s (1000BaseT)
or100 Mb/s (100BaseT)full-duplexEthernet connections overtwisted-pair cable. Theinterfacehasan
auto-crossover function, allowingdirectconnectionoftheEtherSpaceLink unittoa computerortoan
Ethernet huborswitch, usingeither a standardor a crossover cable.
3.2.1. ICMP Echo (ping)Support
TheESLunitwill respond toan ICMPechorequest - asprovided on many operatingsystems via the
ping command. Thiscanprovide asimpletesttocheckthattheunitisaccessibleonthenetwork.
3.2.2. Full-DuplexEthernet
Only full-duplexEthernet connections are supported.
3.3.SMA Synchronization Connectors
Synchronization(toother 4Linksunits ortoexternaldevices)isachieved usingSMA connectors,on
units withthe “-S”modelnumbersuffixwheretheyarefitted.
Therear panelof a suitably-equipped ESLcontains eightSMA connectors,labelled J1 toJ8fromleftto
rightwhen looking attherear panel, correspondingtosoftwareand APIsynchronizationconnections
J1-J8respectively.
These connectorsareused asfourpairs,J1-J2,J3-J4, J5-J6and J7-J8. ConnectorpairsJ1-J2,J3-J6 orJ7-J8
maynotbepresent onall platforms. Refertothefunctions and options installed fordetailsoftheir
usage.
Theouter conductorofeach SMA connectorisground /shield, and theinner conductor carries the
signal.Thetwo SMA connectorsinapair areinternallywired toeach other and maybe used asa
loop-through connectionfor a 50 Ω-terminated line. Alternatively,a50Ωresistiveterminatormaybe
inserted intoone oftheconnectorsineach pair sothattheotherforms aterminated connection.
4Links Limited
www.4Links.co.uk
p ge 14 of 110
T+44 1908 642001; F+44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley P rk

EtherSp ceLink-RG408
EtherSp ceLink f milyUser M nu l
Power
Connector
SMA: J1 J2 J3 J4 J5 J6 J7 J8
Fig re 3.2: SMA connector layo t
3.4. Discovering aUnit’sSerial Number andInstalledProduct Options
Aunit’sserialnumbermaybe readoff its front paneldisplayatboottime. Alternatively,clickthe
toggle switch upwards ordownwards oncetoviewthe serialnumberof a runningunit.
3.4.1. The UnitSerial Number and its relationto the Ethernet MACaddress
4LinksEtherSpaceLink unit serialnumbersareoftheformAnnn (e.g.A202).
Theleast-significant bits oftheEthernet MediaAccess Control (MAC)address of a unitare directly
related toitsserialnumber:
Serial numbersMACaddresses
A1 toA4095 00-50-C2-21-20-01 to00-50-C2-21-2F-FF
3.4.2.InstalledProduct Options
When viewingthe serialnumberof a runningunit,asabove,theinstalled ProductOptions arelisted as
two-characteracronyms within squarebrackets.
Fortheillustrationinfigure6.1,theoptions areTC,EW,ER and TT.See section 2.4,“EtherSpaceLink
Options”,forfurtherinformationontheavailableESLoptions.
4Links Limited
www.4Links.co.uk
p ge 15 of 110
T+44 1908 642001; F+44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley P rk

EtherSp ceLink-RG408
EtherSp ceLink f milyUser M nu l
3.5. The RG408 Hardware Platform
TheRG408hardwareplatformissupplied witheightSpaceWireports and withfront orrearmounted
SpaceWireconnectors (RG408orRG408-R,respectively).
Thehardwareisoptionally availablewithSMA connectorsforexternalsynchronization(onthe
RG408-S).Theseenableinter-boxtime-tagsynchronization(ontheDSI, SRR,MSRand ATI), aswell as
externaltriggers (onaDSI).
The-Land -M suffixes indicate theFPGAsizeinanRG408unit. The smallerFPGAissupplied in
RG408-Lunits. AnExtraResources “-M”option(ontheRG408-M)supplies greaterprocessingand
memoryfacilities. Thisprovides formorethanfourports onaDSI,fordoubletherecordingbuffer
memory onanMSR,and formoreports orlargerRMAPmemories onanSRR.
Theunitisintended tobe used ina19-inch rackand is1Uhigh.
3.5.1. Dimensions
Dimension MetricImperial
Maximumheight45mm 1.75 inches
Maximumwidth 483 mm 19inches
Maximum depth
(overall)
335mm (405mm withmated power
connector)
13.25inches (16inches withmated
powerconnector)
Maximum depth
(inside rack)
290mm (360mm withmated power
connector)
11.5inches (14.25inches withmated
powerconnector)
WeightApproximately 2.8 kgApproximately 6 lb
Heatoutput
(powerconsumption)
Approximately 25Watts
(depends ontheinstalled functions and activity levels)
3.5.2. Environmental Requirements
ParameterRequirement
OperatingTemperature5°Cto35°C
HumidityNon-condensinghumidityenvironments
MaximumOperatingAltitude 2,000 m
PollutionDegree 2; Indooruse only
3.5.2.1. Ventilation Requirements
The4LinksRG platformproducts requireunobstructed airflow totheir rear ventilationgrilles toallow
theinternalfans tooperate efficiently and thus toallow operationacross thetemperaturerange
specified in section 3.5.2,“Environmental Requirements”,above.
4Links Limited
www.4Links.co.uk
p ge 16 of 110
T+44 1908 642001; F+44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley P rk

EtherSp ceLink-RG408
EtherSp ceLink f milyUser M nu l
3.5.3. Power Supply
Powerisprovided byanexternalsupply.
3.5.3.1. Supply Voltage
Thepowerinputisdesigned toacceptDC22 to50V,witheitherpolarity.
Thepowerinputcircuitisisolated from boththerest ofthecircuitand from theequipment case. The
potentialdifferencebetween thepowersourceand theequipment case(functionalground)mustnot
exceed 50V. A1.2 MΩresistorisfitted internally to prevent thebuild-up of a staticpotentialdifference
between thepowerinputand thecase.
Note: Thisinputhaslimitedsurgeprotectionand mustbeconnected toasurge-free supply.The
AC/DC adaptersupplied withtheunitcontainssurgeprotectionatits mains-voltageinputandshould
be used where surgeprotectionisrequired.
CAUTION:
TheAC/DC adaptersupplied withtheunitprovides mains isolationto UL60950/
EN60950. If analternativepowersourceisused,it must haveanequivalent rating.
3.5.3.2. PowerConsumption
Total powerconsumption depends onthenumberof activeports and options: up toaround25W.
3.5.3.3. PowerConnector
Powerissupplied usingarear-panel-mounted 5-way240°DIN connectorwith a screw-locking
mechanism.
Fig re 3.3: The4LinksRG Platform power connector
Pins Function
1,2Power(eitherpolarity)
3Functionalground (connected tocase)
4,5 Return
TheconnectortypeisaBinder680-series 5-pin 240°chassisplug.A compatible matingconnectoris
Binderpartnumber 09-0314-00-05.
4Links Limited
www.4Links.co.uk
p ge 17 of 110
T+44 1908 642001; F+44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley P rk

EtherSp ceLink-RG408
EtherSp ceLink f milyUser M nu l
3.5.3.4. GroundingforElectricalSafety
CAUTION:
Thechassis mustbe maintained atasafepotential.
Theelectricalground forthecircuitsdrivingtheSpaceWireconnectorsignalsis
connected tothechassis.
A functionalground connectionisprovided bythe mains powersupply thatisshipped
withtheunit.
3.5.3.5. Fuse Protection
Each powerinputline includes aninternalfuse.
One orbothfuses maybe inferred tohavefailed ifthereisappropriate powerattheconnectorpins and
a complete lack ofinformationonthefront-paneldisplay.
Fuse failurewill only resultfrom seriouscomponent failureorfrom equipment misuse. A complete
check-outisrequired beforereplacingthese fuses.
Intheevent ofsuspected fuse failure,please contact4Links.
CAUTION:
Therearenouser-serviceableparts insidethis equipment.
3.5.4. Handling andTransportation
The4LinksRG platformproducts are designed tobe robust,and arecapableofbeingtransported to
supportSpaceWiretesting.
Unitsshould be packaged inprotectivefoamorsimilarmaterialto prevent them from beingsubjected
toexcessive shocksduringhandling.
Unitsshould notbe subjected tocondensation; transferringthem directly froma coldshipping
containertoamoist warmlaboratoryatmosphereis notrecommended.
The micro-miniatureD-typeSpaceWireplugsandsockets arefragile. Connectionsshould be made
with care. Iftheunits areinanenvironment wheretheyarefrequently re-connected,consideration
should be given totheuse ofsacrificialconnectorsoranexternalrouter(such as the4LinksFlexible
SpaceWireRouter).
4Links Limited
www.4Links.co.uk
p ge 18 of 110
T+44 1908 642001; F+44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley P rk

EtherSp ceLink-RG408
EtherSp ceLink f milyUser M nu l
3.5.5. RG Platform Firmware
Firmwareforthe4LinksRG platformproducts issupplied onCompactFlashmemorycards. These
cards maybe hot-swapped -i.e. plugged and unplugged fromaliveunit.
RG Platformunits bootfromaninstalled memorycardwhen theyarepowered up,aswell aswhen
theydetectthatamemorycardhas been newly-inserted. Ejectingand then re-insertingamemory
cardis thereforeanacceptable methodofre-bootingaunit.
Amemorycard maybe ejected bypressingtheejectbuttonontheright-handside ofthecardslotwith
anon-conductive device.
CAUTION:
Donotattempttoremovethe memorycardusinga conductiveobject(e.g.apen ora
screwdriver).
Memorycards areconfigured foraparticular4Linkshardwareplatform,and areonly intended foruse
withthatunit. Ifone attempts toboota4Linksunitwith a memorycard thatwas builtforanother
unit,orwith a non-4Links memorycard,then theboot self-test displaywill displaya failure messageat
thefifthstep-which indicates thatthecardisunsuitableforthisunit.
4Links Limited
www.4Links.co.uk
p ge 19 of 110
T+44 1908 642001; F+44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley P rk

EtherSp ceLink-RG408
EtherSp ceLink f milyUser M nu l
4. Block Diagram
Theelements that makeup anEtherSpaceLinkfamily unitare showninfigure4.1.
RJ45 Ethernet
22−50V input isolated
power supply
FPGA board, containing:
System health− User interface controller
Front−panel display
memory card
connector (in
SFP module)
Micro−D
SpaceWire
connectors
monitoring and
thermal control
Removable
Front−panel switch
− Ethernet TCP/IP interface
− SpaceWire Link interfaces
− Transmit and receive buffers
SMA
synchronisation
connectors
(−S units only)
Fig re4.1: EtherSpaceLink family nit block diagram
4Links Limited
www.4Links.co.uk
p ge 20 of 110
T+44 1908 642001; F+44 1908 363463
Milton Keynes MK3 6EB, UK
Suite EU2, Bletchley P rk
Other manuals for EtherSpaceLink Series
2
This manual suits for next models
2
Table of contents