IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev.
MEX ASPERA-3 IFSI CNR ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 2 of 58 Distribution List: IRF Stas Barabash Herman Andersson FMI Tuukka Sales IFSI Stefano Orsini Anna Milillo Alessando Mura Andrea Mattana Change Record: Version Date Issue 1, Rev 3 Issue 1, Rev 3 Issue 1, Rev 4 5/3/2001 5/3/2001 15/2/2002 Changed Paragraphs 4, 5 3.2 2.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Acronyms ADC APID CAT CCS CNR CPU DPU Analog to Digital Converter Application Process IDentification Packet CATegory Central Check-out System Consiglio Nazionale delle Ricerche Control Processing Unit Digital Processing Unit DSP EGSE ESA ILT HK HW Digital Signal Processor Electrical Ground Support Equipment European Space Agency Instrument Level Test HouseKeeping HardWare ID I/F IFSI MOC NA OBDH PID RDx S/C SDM SCOE SLT Identification Interface Istituto
IFSI CNR 1 MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 4 of 58 General Description ...........................................................................................................................................5 1.1 SCOE ...........................................................................................................................................................6 1.2 MEXILT .........................................
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 5 of 58 1 General Description The ASPERA 3 EGSE consists of two IBM-PC class computers running Linux operating system. The first PC hosts two programs modules linked via standard TCP/IP socket: • The “Instrument Level Test” module (MEXILT) to be used only at instrument level test • The “Command and Display Module (SCOE) to be used both at instrument and system level test.
IFSI CNR 1.1 MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 6 of 58 SCOE The SCOE module is responsible for command sequence generation and housekeeping data display. This module, during the instrument level tests, is connected to MEXILT using the same (Internet domain stream socket) protocol used by CCS in order to be used with only minor modifications at system level test. At system level test this module is connected to CCS. 1.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 7 of 58 Figure 1 – The TI 320C54x DSKplus board This board connect to the (MEXILT) module through the PC parallel port at a speed of ~ 100 Kbytes/s. At start up the MEXILT module download the (C language) program to the DSK. The DSK receive the TC packets and local instruction and send TM packets from/to ILT PC.
IFSI CNR 1.5 MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 8 of 58 Instrument Interface The EGSE will be connected only to the ASPERA-3 Main Unit of the ASPERA-3 experiment, and this connection is realised through the spacecraft simulator interface. This interface surface will be active in all operation foreseen for the EGSE.
IFSI CNR 1.8 MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 9 of 58 Network Interface During its operation the EGSE will be connected both to LAN’s and WAN’s. It is foreseen that the EGSE will analyse data obtained via a network during the flight operation phase, or that the data storage will be organised via network. The EGSE will support these functions.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 10 of 58 2 Egse Configuration 2.1 Directory tree The full EGSE software is contained in /Mex directory. File names in italic shows links to other locations, the real files are maintained by CVS.
MEX ASPERA-3 IFSI CNR ASPERA-3 EGSE User Manual File list in /Mex:/CmdLut LocProc.txt Macro.txt Rpropkt.txt Telecommand.txt Pseudo programming language definitions. Macro expansion file. See Macro command chapter. CCS protocol commands. High level command file. See relevant chapter. Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev.
IFSI CNR 2.2 MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 12 of 58 Run Time Configuration The 3 files scoerc powConvrc and mexiltrc contains initial configuration read at run time File location: /Mex/scoerc Link to /users/cerulli/cpp/scoe/scoe/scoerc # SCOE Configuration file File. Roma 23.5.
MEX ASPERA-3 IFSI CNR ASPERA-3 EGSE User Manual File location: /Mex/powConvrc Ref.: Issue: Date: Page: Link to /users/cerulli/cpp/scoe/scoe/ powConvrc ##################################### # Power conversion configuration file ##################################### # # The conversion is X= AY + B with # Y=byte/word value, X=value in engineering unit # In this file are the A and B coefficients for the various # tabbed panels in the Status/HK windows # Power panel [Power] #-------AI30=0.1176 BI30=0.
IFSI CNR 2.3 MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 14 of 58 Instrument/System Level Test The SCOE module is used both at instrument and system level test. The few differences in the two configurations are resolved at compile time commenting/uncommenting the constant variable ILT found in /users/cerulli/cpp/scoe/scoe/configura.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 15 of 58 2.4.
MEX ASPERA-3 IFSI CNR ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 16 of 58 Software 2.4.2 SCOE communicates with MEXILT through TCP/IP connection, the last communicates with S/C SIM through the parallel port. The S/C SIM is connected to ASPERA3 via standard TM/TC interfaces. SCOE/MEXILT PC communicates with the Science Display Module (SDM) PC sharing (via NFS) the telemetry archive directory structure.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 17 of 58 2.4.2.1 SCOE The SCOE program is the main EGSE interface. The program consists of an editor-like window used to type, edit and send commands to MEXILT. Commands (one line per command) can be sent one by one, or as a sequence at a defined time interval. Instructions can’t be used inside a command file transmitted directly as with TXFILE command.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 18 of 58 2.4.2.3 SDM 2.5 System Level Test EGSE In this configuration only the SCOE module is used. The SCOE program must be compiled without (commenting) the ILT constant in /users/cerulli/cpp/scoe/scoe/configura.
Ref.: Issue: Date: Page: MEX ASPERA-3 IFSI CNR ASPERA-3 EGSE User Manual ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 19 of 58 2.5.2 Software SCOE communicates with the ESA CCS through TCP/IP connection, and with the Science Display Module (SDM) PC sharing, via a second network interface using TCP/IP NFS protocol, the telemetry archive directory structure.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 20 of 58 2.5.2.1 SCOE The SCOE program is the main EGSE interface. The program consists of an editor-like window used to type, edit and send commands to the CCS. Commands (one line per command) can be sent one by one, or as a sequence at a defined time interval.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 21 of 58 3 Operations The ASPERA EGSE functionalities are very similar at both Instrument Level Test (ILT) and System Level Test (SLT). The functionalities consist essentially in sending single commands, commands sequences and receiving telemetry.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 22 of 58 The main configuration (modless) window, shown in the following figure, enables tabular windows view of selected telemetry packets (up to 3 windows) and the archiving of all the telemetry packets and/or commands. Telemetry packet type=255 is reserved for private S/C simulator – scoe housekeeping and is archived in a different file.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 23 of 58 The display can be in dec or hex notation. A zero function/subfunction match all function/subfunction. Archive files are stored in /Mex/Archive directory, and the files name indicate the creation time. A new file is generated at fixed time as defined on /Mex/scoerc configuration file. Up to 4 selected parameters may be plotted in a strip_chart windows (see section 3.1.6.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 24 of 58 The next figure shows the multi-tabbed modless status/housekeeping window and the associated command history frame. The full history can be stored in the TC archive file.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 25 of 58 The ASPERA-3 housekeeping, transmitted as packet (3,25), is displayed in the tabbed windows.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 26 of 58 3.1.3 Command List As a general rule all commands are case insensitive Commands instructions are coded as a single text line beginning with the command ID (acronym) and followed by parameters (if any): ID [p1 p2 … pn] ID and parameters are separated by ‘space’, ‘tab’ or ‘,’ (comma separator is not allowed in commands at system level).
Ref.: Issue: Date: Page: MEX ASPERA-3 IFSI CNR ASPERA-3 EGSE User Manual ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 27 of 58 Command decoding diagram Command = ID [p1 ... pn] Check ID with MACRO defined in file Macro.txt N Substitute ID with macro definition and append the original parameters. The command is still in the general form: command=IDx [a1 .. an] [p1 .. pn] where IDx [a1 ..
MEX ASPERA-3 IFSI CNR ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 28 of 58 3.1.3.1 SCOE internal This first block of commands is used internally to the SCOE program. These commands are used to set internal flags/variable (which remain constant up to the next setting) or check the telemetry data (VERTM). ID IMME PROG NORM ASAP N. Par 0 0 0 0 Param. Description Follows immediate cmd Follows program cmd Follows normal cmd Same as NORM.
MEX ASPERA-3 IFSI CNR VERTM ASPERA-3 EGSE User Manual n Offs, Msk,Val …….. Offs, Msk,Val Offs, Msk, Min, Max Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 29 of 58 This command is only valid in a procedure. Halt scoe local procedure (with time out TO in seconds defined by RX[15]) until TM words do match the following parameters: [Offset,Mask,Value] up to 8 times, Offset, Mask,Min, Max PLOT n Np, Offs, Msk,Val ……..
MEX ASPERA-3 IFSI CNR ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 30 of 58 3.1.3.2 Low level commands The following tables show the low level commands recognized by MEXILT. The commands in bold type are those normally used to test ASPERA while the other commands are mainly intended for internal debugging. The low level commands are coded in /Mex/include/dspcmtbl.
MEX ASPERA-3 IFSI CNR ASPERA-3 EGSE User Manual TPOLL SCSEND 1 1 Nsec 0/1 SCARCH TXCTX 1 1 0/1 apid Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 31 of 58 5 DSP internal buffer Default N = 3 Set TM polling every Nsec. If 0 no polling Send to scoe telemetry sent only to dms. Default 0 (do not send) Archive dms telemetry. Default 1 (Archive) Send the Context to ASPERA (apid) The following commands are sent to the DSP board.
MEX ASPERA-3 IFSI CNR tpoll 2 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 32 of 58 ; Start polling for telemetry every 2 seconds 3.1.3.3 High Level Commands These commands are formed by an acronym possibly followed by parameters and generate a standard packet telecommand. The commands are translated in the scoe module to low level commands and transmitted to mexilt. The tables in appendix 6.2, shows the ASPERA specific commands.
MEX ASPERA-3 IFSI CNR ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 33 of 58 At Instrument Level Test (ILT) configuration, two kind of command sequence are possible: procedure and program. The sequences differ in the execution location (SCOE/MEXILT) and in the pseudo instruction mnemonic. 3.1.3.5.1 Procedure A procedure is a sequence of commands, as defined in the previous sections, stored on the SCOE main window.
MEX ASPERA-3 IFSI CNR • • • RX[12] RX[13] RX[14] • RX[15] ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 34 of 58 TBD TBD Used as jump RX[14] lines if VERTM command end with time-out (predefined RX[14]=1). Used as time-out (seconds) in VERTM command (predefined RX[15]=20).
IFSI CNR _JMPRX 0,-8 tpoll 0 MAIN28off … _error_ … MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 35 of 58 ; go back to command ASPMELS30 for 3 times ; stop telemetry polling ; switch off main 28V power line ; Begin of error section Comments: • Use VERTM instead of VERHK, the latter is shown only for back compatibility and is internally translated to VERTM.
MEX ASPERA-3 IFSI CNR ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 36 of 58 3.1.3.5.2 Program A program is a sequence of low level commands (3.1.3.1) transmitted from SCOE to MEXILT, stored and executed on MEXILT. MEXILT store the programs in a 512 16 bit word circular buffer so that more programs can be stored, each one numbered in sequence. The following table shows the “pseudo instructions” available for programs.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 37 of 58 3.1.3.6 Strip_chart Plotter The strip_chart plotter is enabled as shown in the next figure The plotted parameters (up to 4) must be defined with the PLOT SCOE internal command.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 38 of 58 0xff00 Mask for packet subtype 0x100 Expected subtype is 1 12 Offset 12 words (is the current monitor) 0xffff Keep the full word (an plot it) 0 Plot lower limit 0x8000 Plot upper limit This instruction is inserted in the macro definition file as MAINCURRENT. 3.1.4 Archiving The appropriate switch in the configuration window tab 1 (“General”) enables data archiving.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 39 of 58 Lines of comments beginning with ‘#’ in column one, are saved in the command archive file. 3.1.
IFSI CNR 3.2 MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 40 of 58 System Level Test Operations The functionalities of the scoe program at System Level Test (SLT) are essentially the same as for ILT (sect 3.1). In this sections only the differences with ILT will be described. 3.2.1 Program Setup Only the scoe program is used at SLT. The program must be recompiled as explained in sect. 2.5 and executed manually.
IFSI CNR • • MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 41 of 58 The configuration-tabbed dialog shows two extra windows, the most important is the TM request used to manually request the telemetry packets to the CCS. The first window in the Status/HK tabbed dialog is slightly different and shows the full history of commands flow from/to CCS.
MEX ASPERA-3 IFSI CNR ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 42 of 58 3.2.3.1 SCOE internal This first block of commands is used internally to the SCOE program. These commands are used to set internal flags/variable (which remain constant up to the next setting) or check the telemetry data (VERTM). ID INFO STATE VERHK N. Par 1 1 6 VERTM n PLOT n Param. N N TO, Sid, Offs, Msk, Mn, Mx Description Set to N the SCOE local info (echo) level.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 43 of 58 3.2.3.2 ASPERA telecommand These commands execute a CCS Telecommand Request [RD1] using a private ASPERA acronym. Each Aspera telecommand can be defined as a line in the file Mex/CmdLut/TeleCommandSLT.txt (see appendix 6.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 44 of 58 3.2.3.3 CCS Protocol Commands These commands implement the subset of the CCS protocol [RD1] meaningful to an instrument SCOE. The command definition file is stored in /Mex/CmdLut/Rpropkt.txt and must not be modified by the user.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 45 of 58 The RPRO CCS protocol [RD1] is formed by a number of fixed length field (ASCII and bynary), possibly followed by a variable length string preeceded by a binary field L(b4) indicating the number of characters in the string.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual 4 APPENDIX 4.1 External Electronic Schematics Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev.
MEX ASPERA-3 IFSI CNR ASPERA-3 EGSE User Manual 1 ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 47 of 58 Ref.
MEX ASPERA-3 IFSI CNR ASPERA-3 EGSE User Manual 1 ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 48 of 58 Ref.
Ref.: Issue: Date: Page: MEX ASPERA-3 IFSI CNR ASPERA-3 EGSE User Manual 1 ME-ASP-MA-0002 Issue 1 Rev.
MEX ASPERA-3 IFSI CNR ASPERA-3 EGSE User Manual 1 ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 50 of 58 Ref.
IFSI CNR 4.2 MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev.
IFSI CNR 4.3 MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev.
IFSI CNR ASPMNPD1Mode ASPMHKFreq ; ASPMPIPE ASPMRELAX MEX ASPERA-3 ASPERA-3 EGSE User Manual ZAS00315 ZAS00006 ZAS99991 ZAS99992 Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev. 4 15/2/2002 Page 53 of 58 FAS00036,FAS00036,FAS00034:= FAS00031:= ; ASP-Set NPD1 Mode ; ASP-Set HK Packet Generation Frequency ; ASP-Pipe TM: Send Parameters as TM ; ASP-Relax...
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev.
IFSI CNR MEX ASPERA-3 ASPERA-3 EGSE User Manual Ref.: Issue: Date: Page: ME-ASP-MA-0002 Issue 1 Rev.