4Links Multi-link SpaceWire Recorder Version 4 Скачать руководство пользователя страница 39

 

 

 

Page 39 

 

9.2. Data Capture using the msr Program 

The 

msr 

program is supplied to store the data captured by the Multi-link SpaceWire Recorder into a file on the 

host computer. 

This program is provided as a pre-compiled binary executable (

msr.exe

) for the Windows® operating system. 

msr 

is called with two parameters and an optional third one:

 

msr <IP-address-of-MSR> <filename> [reporting interval] 

The IP address of the MSR is expressed in dotted-decimal form, such as 

192.168.3.40

. Symbolic names such 

as 

msr.test-lab.company.com

 

are also accepted. 

The file-name for the recording may contain the usual path components. 

When running, the 

msr 

program prints a short summary of the observed traffic once per second, by default, 

or once in each reporting interval, if that value is supplied in the third command-line parameter. 

When you have finished capturing SpaceWire data, stop this program with Ctrl-C. There may be a slight pause (a 
second or two) while buffers are flushed to the recording file before the command prompt returns. 

The 

msr 

program acts as a bridge between the MSR unit and the file on the host computer. At high data rates, 

this is a challenging task and the capabilities of the host computer are likely to be a greater bottleneck to the 
recording than the MSR hardware. The following notes might be helpful when optimising your test environment: 

 

Data has to be stored as it arrives - it is not possible for the recorder to control the SpaceWire data flow. It 
is thus possible that data might arrive more quickly at the MSR than it can be transmitted across the 
Ethernet and stored on the computer - possibly due to activity on the Ethernet or on the computer. A large 
buffer is provided in the MSR (64 MB in the ‘L’ and ‘LS’ platforms and 128 MB in the ‘M’ and ‘MS’ 
platforms) to smooth the flow of data, but this may overflow with sustained high-bandwidth traffic. In this 
case, buffer overflow may occur, which will result in gaps in the record; these are flagged.

 

 

A point-to-point Ethernet connection, or an Ethernet switch, are less likely to impede the traffic than an 
Ethernet hub.

 

 

Data loss is less likely if the recording computer is running no software other than the 

msr 

program.

 

 

If you use up all of the disk space on your machine, you may find that the operating system misbehaves.

 

Содержание Multi-link SpaceWire Recorder Version 4

Страница 1: ...Page 1 User Manual for the 4Links Multi link SpaceWire Recorder Version 4 ...

Страница 2: ...European Space Agency whose rights are acknowledged and 4Links makes no claim to the word SpaceWire being a 4Links trademark The information supplied in this document is believed to be accurate at the date of issue 4Links reserves the right to change specifications or to discontinue products without notice 4Links assumes no liability arising out of the application or use of any information or prod...

Страница 3: ...T Time Tags 12 2 4 2 ER Event Error Reporting 12 2 4 3 EW Event Error Waveforms 12 2 5 Front Panel Display 13 2 5 1 Ethernet information 13 2 5 2 SpaceWire information 13 2 6 Communication Protocols 14 3 Specification 15 3 1 SpaceWire Links 15 3 1 2 SpaceWire Connectors 15 3 1 3 SpaceWire Time Codes 16 3 2 The Ethernet Connection 17 3 2 1 ICMP Echo ping Support 17 3 2 2 Full Duplex Ethernet 17 3 3...

Страница 4: ...sation 30 6 3 Health Display 30 7 The MSR Options 31 7 1 Option TT Time Tags 31 7 2 Option ER Event Error Reporting 31 7 3 Option EW Event Error Waveforms 32 8 Unit to Unit Time Tag Synchronisation 33 8 1 Setting the Synchronisation Source 35 9 Software for the Multi link SpaceWire Recorder 38 9 1 Files Supplied with the MSR 38 9 2 Data Capture using the msr Program 39 9 3 Data Inspection and Anal...

Страница 5: ...2 Security Notice 49 12 Product Limitations and Features 49 13 Regulatory Information 50 13 1 Electromagnetic Compatibility 50 13 2 Product Safety 50 13 3 Equipment Recycling 50 13 4 Restriction of Hazardous Substances 50 14 RG408 Product Drawings 51 14 2 Front view 51 14 3 Rear view 52 ...

Страница 6: ...manage and search the recordings The basic MSR RG40x unit provides data recording facilities event reporting and time tag capture for some or all of the tokens in the SpaceWire streams It may be extended with an option to provide waveforms that show the precise state of the SpaceWire signals around the time that an error was detected This optional capability can be added as a simple field upgrade ...

Страница 7: ...ove covers Do not operate with suspected failures If you suspect that there is damage to this product refer to 4Links for advice Do not operate in wet or damp conditions Do not operate in an explosive atmosphere Keep product surfaces clean and dry Provide proper ventilation The air inlet and outlet on the rear panel must not be obstructed 1 1 Terms in this Manual Caution Caution statements identif...

Страница 8: ...Page 8 1 2 Symbols on the Product The following symbol may appear on the product Caution Refer to this user manual for safety information ...

Страница 9: ...r falls into two distinct phases Data Capture when SpaceWire traffic is collected time tagged and stored to a file on the host computer and Data Inspection and Analysis which is performed after the data has been captured 2 2 Getting Started The MSR is supplied with up to eight active SpaceWire connectors ports Each pair of adjacent ports allows a bidirectional SpaceWire connection a link to be mon...

Страница 10: ... for the Multi link SpaceWire Recorder which discusses the data capture and analysis phases in more detail and provides further examples 2 3 Standard MSR Capabilities All Multi link SpaceWire Recorders include the following capabilities The ability to capture all of the traffic passing along one two or four bidirectional SpaceWire links and to relay it across Gb s Ethernet to a host computer The S...

Страница 11: ...ta stream The MSR therefore needs to be booted before the link is connected but not necessarily running the msr software yet If for any link the MSR s front panel display shows the link speed in each direction as well as the exchange of NULL tokens flow control tokens or data characters as in figure 2 3 then it will be able to record from that link Traffic on SpaceWire links with speeds up to 400 ...

Страница 12: ...it synchronisation or an Absolute Time Interface ATI unit the time tags recorded by most members of the 4Links EtherSpaceLink family may be synchronised to an accuracy of better than 10 ns 2 4 2 ER Event Error Reporting SpaceWire tokens defined as errors that would normally be hidden typically resulting in a link reset or replaced by an EEP character can be made visible for recording purposes 2 4 ...

Страница 13: ...nitors and displays the states of the Ethernet and SpaceWire links The top line of the display shows the product number the current IP address of the EtherSpaceLink unit and the name 4Links on the right Figure 2 3 The MSR display 2 5 1 Ethernet information Information about the remote Ethernet connection is shown on the upper section of the display The status of the Ethernet connection is provided...

Страница 14: ...removed and reconnected In the event of an EtherSpaceLink unit being powered down the computer will expect the connection to be restored but the EtherSpaceLink unit will have lost connection information and the computer application program will have to be restarted Similarly a failure of the computer will leave the EtherSpaceLink unit waiting for a connection restoration that is not possible and i...

Страница 15: ...l on RG R platforms The connectors are labelled 1 to 8 from left to right corresponding to software and API ports 1 to 8 respectively The pinout of the SpaceWire socket connectors looking from the outside of the EtherSpaceLink unit is shown in figure 3 1 Figure 3 1 SpaceWire connector pinout The female Din and Sin contacts provide inputs to the MSR the female Dout and Sout contacts carry output si...

Страница 16: ...Page 16 3 1 3 SpaceWire Time Codes SpaceWire defines a mechanism for transferring a global time reference across a network MSR stores these time codes in its recorded data files for analysis ...

Страница 17: ...its with the S model number suffix where they are fitted The rear panel of a suitably equipped MSR contains eight SMA connectors labelled J1 to J8 from left to right when looking at the rear panel corresponding to software and API synchronization connections J1 J8 respectively These connectors are used as four pairs J1 J2 J3 J4 J5 J6 and J7 J8 Connector pairs J1 J2 J3 J6 or J7 J8 may not be presen...

Страница 18: ... 4 Summary of MSR Options for further information on the available MSR options 3 5 The RG408 Hardware Platform The RG408 hardware platform is supplied with eight SpaceWire ports and with front or rear mounted SpaceWire connectors RG408 or RG408 R respectively The hardware is optionally available with SMA connectors for external synchronization on the RG408 S These enable inter box time tag synchro...

Страница 19: ...ation grilles to allow the internal fans to operate efficiently and thus to allow operation across the temperature range specified in section 3 5 2 Environmental Requirements above 3 5 3 Power Supply Power is provided by an external supply 3 5 3 1 Supply Voltage The power input is designed to accept DC 22 to 50 V with either polarity The power input circuit is isolated from both the rest of the ci...

Страница 20: ...mber of active ports and options up to around 25W 3 5 3 3 Power Connector Power is supplied using a rear panel mounted 5 way 240 DIN connector with a screw locking mechanism Figure 3 3 The 4Links RG Platform power connector Pins Function 1 2 Power either polarity 3 Functional ground connected to case 4 5 Return The connector type is a Binder 680 series 5 pin 240 chassis plug A compatible mating co...

Страница 21: ...fore replacing these fuses In the event of suspected fuse failure please contact 4Links Caution There are no user serviceable parts inside this equipment 3 5 4 Handling and Transportation The 4Links RG platform products are designed to be robust and are capable of being transported to support SpaceWire testing Units should be packaged in protective foam or similar material to prevent them from bei...

Страница 22: ...d by pressing the eject button on the right hand side of the card slot with a non conductive device Caution Do not attempt to remove the memory card using a conductive object e g a pen or a screwdriver Memory cards are configured for a particular 4Links hardware platform and are only intended for use with that unit If one attempts to boot a 4Links unit with a memory card that was built for another...

Страница 23: ...Page 23 Figure 4 1 EtherSpaceLink family unit block diagram ...

Страница 24: ...s display In normal operation the display shows the state of the SpaceWire and Ethernet connections and any activity on these interfaces Figure 5 2 The MSR status display The top line of the display shows Ethernet information The IP address of this unit Ethernet status The SFP module see section 3 2 The Ethernet Connection is not present X The SFP module is present but the Ethernet cable is not co...

Страница 25: ...his port X A link disconnection i e timeout was observed on this port P A parity error was observed on this port Each of these status indication characters is displayed for a short length of time to make them visible to the human eye Receive link speed The above display shows that the unit is listening for an Ethernet connection on IP address 192 168 3 40 and that the SpaceWire link passing betwee...

Страница 26: ...e direction Doing nothing will after a few seconds cause the display to return to normal Messages on the screen indicate the effect of moving the switch upwards top line left side or downwards bottom line left side After pushing the switch down we see that the MSR serial number A202 with all options is not time synchronised to other EtherSpaceLink units is connected to a 100 Mb s Ethernet and that...

Страница 27: ...itions After self test and configuration the display enters its normal status display mode From there pushing the switch in either direction shows the configuration display and pushing it again in the same direction will return to the main status display Selecting the Settings display with two operations of the switch in opposite directions and doing nothing will result in all the settings being d...

Страница 28: ...Page 28 ...

Страница 29: ...Page 29 Figure 6 3 MSR front panel states ...

Страница 30: ...settings for the time synchronisation between EtherSpaceLink units Synchronise to another unit s reference time Provide the time reference source for other units Remain isolated and generate time tags locally For further details see section 8 Unit to Unit Time Tag Synchronisation Figure 6 6 The time synchronisation display 6 3 Health Display The Health Display provides a frequently updated view of...

Страница 31: ... time tags are used when the interval between time tags is short 6 5µs which reduces the Ethernet size of a time tag from ten to four bytes and thus reduces the traffic generated by time tags The time tags recorded by the MSR may be synchronised with those of other 4Links MSRs DSIs and SRRs to an accuracy of better than 10 ns and all of these may be synchronised to a time of day year IRIG B00x clo...

Страница 32: ...apture of a waveform when an error is detected and the MSR considerably extends the triggering opportunities Each port can generate an event when one or more of the following have been enabled and subsequently occur The first byte of a packet is received The error end of packet marker EEP is received Time codes are received ECSS errors ESC ESC ESC EOP ESC EEP Timeout Parity error are received Some...

Страница 33: ...isy chain cable between them using rear panel SMA connectors J7 and J8 These connectors are grouped in pairs J1 J2 J3 J4 J5 J6 and J7 J8 with both connectors in a pair connected together loop through In the following illustrations connectors J7 and J8 are interchangeable Units to be synchronised are connected together by SMA SMA cables and 50 Ω terminators must be added at each end of the chain Th...

Страница 34: ...Page 34 Figure 8 1 Daisy chaining the time synchronisation connections T indicates a 50 Ω SMA termination The total length of cable used in the daisy chain must not exceed 50m 165 feet ...

Страница 35: ... all of the others can be left at their default setting to cause them to synchronise their timetags to that unit Notice that if the power to a unit is cycled or if its memory card is unplugged and then reinserted and it was the time reference for a chain of EtherSpaceLink units then this capacity must be set again on the unit s front panel Figure 8 2 Time synchronisation display Synchronisation st...

Страница 36: ...Page 36 Figure 8 3 Indication of the time synchronisation status ...

Страница 37: ...t the Ethernet interface is listening for a connection An EtherSpaceLink Absolute Time Interface ATI that synchronises time tags to an IRIG B00x source is available from 4Links It should be included as one of the units in the chain above If there is an ATI in the chain it is by default the synchronisation master All other EtherSpaceLink units should then be set to Synchronise to reference ...

Страница 38: ...ulated and described below File Contains msr exe The msr recording program compiled for MS Windows See section 9 2 Data Capture using the msr Program for details read jar The Java based read analysis tool that interprets binary files that were recorded by the msr program See section 9 3 Data Inspection and Analysis using the read Program for details waveform jar A Java based analysis tool that int...

Страница 39: ...s as a bridge between the MSR unit and the file on the host computer At high data rates this is a challenging task and the capabilities of the host computer are likely to be a greater bottleneck to the recording than the MSR hardware The following notes might be helpful when optimising your test environment Data has to be stored as it arrives it is not possible for the recorder to control the Spac...

Страница 40: ...pplied filename for the recording may not contain the usual path components so one must set the current working directory to that which will contain the recorded file before running the read program If the supplied filename starts with a non alphabetic first character it will be treated as an IP address in which case the dotted decimal IP address of an MSR device will be opened for live streaming ...

Страница 41: ...reports EOP EEP on the last or only line of data instead of a line of its own The default is 16 bytes per line l string Label the ports with substrings of string o filename Direct the result to the file filename The default is to display the result on the screen c connector s Select data only from the specified incoming connectors e g c 2 extracts only data flowing from connector 2 to connector 1 ...

Страница 42: ...ely after making a recording to obtain a summary of the stored data If the traffic contains SpaceWire packets longer than 2048 bytes adding the b length parameter prevents the summary line for each packet from being broken over multiple lines of output ...

Страница 43: ... Plug ins for the read Program The usual function of a plug in is to examine a received packet and if it is recognised to interpret it for display A plug in file is provided for the read program to provide interpretation of the SpaceWire RMAP protocol ProtocolRxRMAP class This plug in may be invoked using the p parameter to the read program java jar read jar filename p RMAP 4Links READ v16 2011112...

Страница 44: ...ultiple SpaceWire ports event waveforms for all of the ports will be stored in the recorded file in an interleaved fashion After viewing a waveform it will be necessary to follow the prompt to close the pop up window for the correct port in order to view the next event waveform Added Rx protocol RMAP v13 20111125 from ProtocolRx_RMAP 4Links READ v16 20111125 v33 20110920 run by test user on 2012 0...

Страница 45: ...Page 45 Figure 9 1 SpaceWire waveform capture of a Link changing speed from 10 Mbps to 100 Mbps ...

Страница 46: ...ion across the Ethernet The need to accommodate SpaceWire packets of unlimited length The need to compress values such as time tags to minimise the file size The need to do all of this really fast 4Links reserves the right to change the MSR file format If this happens the msr and read jar programs will be updated to reflect these changes and thus provide the stable supported interface for this pro...

Страница 47: ...casionally as broadcast traffic is seen on the network I cannot monitor traffic on one of the MSR unit s ports Does the MSR unit s front panel display show that the link is connected Are the R and or the T indicators flashing for this link If just the N and X indicators are lit continuously one side of the link is trying to connect repeatedly without success How many ports are supported on your MS...

Страница 48: ...the disk on your host computer My SpaceWire link s are disconnecting unexpectedly Is your device under test properly grounded to your DSI SpaceWire requires a ground reference to be connected through the outer shield of each SpaceWire cable If this is not done the common mode potential might be too high leading to seemingly random errors or sensitivity to external electromagnetic interference The ...

Страница 49: ...front panel switch to set the IP address to 0 0 0 0 2 Remove the memory card 3 Remove power from the unit No user dependant value or data now resides in the unit 11 2 Security Notice The configuration files stored on the memory card define the function of the unit These are encrypted and can be used only with the specific unit they were created for The data on the card cannot be used to configure ...

Страница 50: ...equipment Compliance has been demonstrated to the following specifications as listed in the Official Journal of the European Union and by the International Electrotechnical Commission IEC IEC 61010 1 2010 3rd Edition and EN 61010 1 2010 3rd Edition with US Canada National Deviations 13 3 Equipment Recycling The symbol shown in figure 13 1 indicates that this product complies with the European Unio...

Страница 51: ...s 14 1 Plan view Plan view with front SpaceWire connectors and rear SMA connectors not to scale Figure 14 1 RG408 plan view with rear SMA connectors Plan 14 2 Front view Front view with front SpaceWire connectors not to scale ...

Страница 52: ...Page 52 Figure 14 5 RG408 front view 14 3 Rear view With front SpaceWire and rear SMA connectors not to scale Figure 14 7 RG408 rear view with SMA connector ...

Страница 53: ......

Отзывы: