CIRSGSFC 1 COMPOSITE INFRARED SPECTROMETER Marcia SeguraPaul Romani Shane AlbrightVirgil Kunde Ray Ferrer CIRS FLIGHT SOFTWARE.

Slides:



Advertisements
Similar presentations
Computer-System Structures Er.Harsimran Singh
Advertisements

More on File Management
Lectures on File Management
More on Processes Chapter 3. Process image _the physical representation of a process in the OS _an address space consisting of code, data and stack segments.
An Array-Based Algorithm for Simultaneous Multidimensional Aggregates By Yihong Zhao, Prasad M. Desphande and Jeffrey F. Naughton Presented by Kia Hall.
Umut Girit  One of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer.
Chapter 2Test Specification Process. n Device Specification Sheet – Purpose n Design Specification – Determine functionality of design n Test List Generation.
Chapter 3 Loaders and Linkers
Machine Independent Assembler Features
CPSC 388 – Compiler Design and Construction
Honors Compilers Addressing of Local Variables Mar 19 th, 2002.
CS 333 Introduction to Operating Systems Class 18 - File System Performance Jonathan Walpole Computer Science Portland State University.
Inter Process Communication:  It is an essential aspect of process management. By allowing processes to communicate with each other: 1.We can synchronize.
Memory Management Chapter 5.
Hash Tables1 Part E Hash Tables  
Backup and Recovery Part 1.
Gursharan Singh Tatla Transport Layer 16-May
The University of New Hampshire InterOperability Laboratory Serial ATA (SATA) Protocol Chapter 10 – Transport Layer.
Chandra X-Ray Observatory CXC ACIS Ops team December 2, ACIS Ops Future Response to BEP Watchdog Reboots ACIS Ops Team.
M. Menelaou CCNA2 DYNAMIC ROUTING. M. Menelaou DYNAMIC ROUTING Dynamic routing protocols can help simplify the life of a network administrator Routing.
ISUAL Instrument Software S. Geller. CDR July, 2001NCKU UCB Tohoku ISUAL Instrument Software S. Geller 2 Topics Presented Software Functions SOH Telemetry.
Memory Management Chapter 7.
1 Memory Management Memory Management COSC513 – Spring 2004 Student Name: Nan Qiao Student ID#: Professor: Dr. Morteza Anvari.
Kuali Budget Construction Training Catherine Maddaford KBC Administrator.
Study on Power Saving for Cellular Digital Packet Data over a Random Error/Loss Channel Huei-Wen Ferng, Ph.D. Assistant Professor Department of Computer.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 2: Computer-System Structures Computer System Operation I/O Structure.
1 CSE Department MAITSandeep Tayal Computer-System Structures Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection.
2: Computer-System Structures
Data Management Subsystem Jeff Valenti (STScI). DMS Context PRDS - Project Reference Database PPS - Proposal and Planning OSS - Operations Scripts FOS.
1-1 Embedded Network Interface (ENI) API Concepts Shared RAM vs. FIFO modes ENI API’s.
ISV Innovation Presented by ISV Innovation Presented by Business Intelligence Fundamentals: Data Cleansing Ola Ekdahl IT Mentors 9/12/08.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Memory: Relocation.
Overview of Super-Harvard Architecture (SHARC) Daniel GlickDaniel Glick – May 15, 2002 for V (Dewar)
Operating Systems Lecture 14 Segments Adapted from Operating Systems Lecture Notes, Copyright 1997 Martin C. Rinard. Zhiqing Liu School of Software Engineering.
Interrupt driven I/O. MIPS RISC Exception Mechanism The processor operates in The processor operates in user mode user mode kernel mode kernel mode Access.
1 Memory Management Chapter 7. 2 Memory Management Subdividing memory to accommodate multiple processes Memory needs to be allocated to ensure a reasonable.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays - done for rsrv in 3.14 Channel access priorities - planned to.
CE Operating Systems Lecture 2 Low level hardware support for operating systems.
1 CS.217 Operating System By Ajarn..Sutapart Sappajak,METC,MSIT Chapter 2 Computer-System Structures Slide 1 Chapter 2 Computer-System Structures.
Silberschatz, Galvin and Gagne  Applied Operating System Concepts Chapter 2: Computer-System Structures Computer System Architecture and Operation.
CE Operating Systems Lecture 2 Low level hardware support for operating systems.
18 th GIST Meeting 14 th –16 th May 2003 Ground Segment (GGSPS) Report 1 GERB Ground Segment B.C.Stewart RAL.
ZyXEL Confidential ICMPv6 Feng Zhou SW2 ZyXEL Communications Corp. 03/27/2006.
GLAST Large Area Telescope LAT Flight Software System Checkout TRR Systems Engineering Mike DeKlotz GSFC Stanford Linear Accelerator Center Gamma-ray Large.
GLAST Large Area Telescope LAT Flight Software System Checkout TRR Test Suites (Backup) Stanford Linear Accelerator Center Gamma-ray Large Area Space Telescope.
5 June 2002DOM Main Board Engineering Requirements Review 1 DOM Main Board Software Engineering Requirements Review June 5, 2002 LBNL Chuck McParland.
Interrupt driven I/O Computer Organization and Assembly Language: Module 12.
COSC 3213: Computer Networks I Instructor: Dr. Amir Asif Department of Computer Science York University Section M Topics: 1.Flow Control and ARQ Protocols.
GLAST Large Area Telescope LAT Flight Software System Checkout TRR FSW Overview Sergio Maldonado FSW Test Team Lead Stanford Linear Accelerator Center.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Sitecore.net Training, Oct ECM 2.1 UPDATE 2 PART 1 CRAWL BEFORE YOU WALK.
 Software reliability is the probability that software will work properly in a specified environment and for a given amount of time. Using the following.
Fast Retransmit For sliding windows flow control we waited for a timer to expire before beginning retransmission of a packet TCP uses an additional mechanism.
Memory Hierarchy Ideal memory is fast, large, and inexpensive
Memory Management.
Jonathan Walpole Computer Science Portland State University
Machine dependent Assembler Features
System Programming and administration
CSC 4250 Computer Architectures
Solid State Recorder Liu Dahai CSSAR.
Computer-System Architecture
Module 2: Computer-System Structures
Memory Management Tasks
BIC 10503: COMPUTER ARCHITECTURE
Morgan Kaufmann Publishers Memory Hierarchy: Cache Basics
Module 2: Computer-System Structures
Module 2: Computer-System Structures
Module 2: Computer-System Structures
Testing & Security Dr. X.
Presentation transcript:

CIRSGSFC 1 COMPOSITE INFRARED SPECTROMETER Marcia SeguraPaul Romani Shane AlbrightVirgil Kunde Ray Ferrer CIRS FLIGHT SOFTWARE

CIRSGSFC 2 OVERVIEW  Flight software consists of two parts – Command executive (version builds if major, point builds for patches) Instrument operation Signal and data processing Packetization – Command sequence tables (point builds) Two types of tables: functional and look–up table A functional table is a set of instrument commands, Each functional table performs a specific task, e.g. –Perform a calibration –Set instrument observing mode: spectral resolution, pixel selection, data rate, etc. –Diagnostic memory dumps –Etc. Look–up table: table of memory addresses of functional tables

CIRSGSFC 3 WHERE WE ARE – 1  Last time we met: – We were flying version 1.2/2.0.1 – Needed to be upgraded before tour Executive: Important features needed for ease of use in tour operations Tables: Loading of “Lego” tables (310!)  Version required changes to project software  This in turn required much – Screaming – Yelling – Loss of vacation time  Version officially delivered in October of 2003

CIRSGSFC 4 WHERE WE ARE – 2  Version status – Tested on the spacecraft 15–17 December 2003 – Passed all tests – Has been used during approach science – Will be used in tour until probe release – So far have discovered two “undocumented features” One required an immediate fix (done last week) The other we are waiting to fix with 4.0.0

CIRSGSFC 5 WHERE WE ARE GOING – 1  Version new features of interest to science : – Timed Table Command The command would start a table executing but terminate it after a specified time. – Blink Command Upon receipt of this command CIRS would start the scan mechanism and take alternate interferograms of (FP3EVEN,FP4ODD), (FP3ODD,FP4EVEN) of the desired scan length co–adding or not as requested. – Flush Time Tagged Command Buffer Command A command to flush all commands from one or both of the time tagged buffers. Optional table termination as well (all or part of the table nesting). – Ability to recycle tables Add the ability to save tables currently located in memory to an internal library or to copy data from 1 table number to another. An alternative would be to create a separate internal command used to point table x to the location of table y so that there would be no need to even have the duplicate data in memory.

CIRSGSFC 6 WHERE WE ARE GOING – 2  All of these changes will be done to CIRS internal commands  Why?  Does not require changes to project software or: – Screaming – Yelling – Loss of vacation time

CIRSGSFC 7 BACKUP MATERIAL 2.0 CHANGES

CIRSGSFC 8 CHANGES TO EXECUTIVE FOR 2.0 – 1  Added nested loop capability to tables – Learned from Jupiter that loops within loops are a very efficient way to construct science sequences – Previous version of flight software did not permit this  Focal plane 1 bias adjusted – Offset bias is subtracted from the FP1 signal onboard – Improves effect of onboard data compression algorithm – We are currently patching this every time the flight software is loaded – New software removes need for patch  Allow CIRS to be muted and un–muted via BIU – Needed for CIRS to be on and in sleep mode for probe checkouts – Previous version CIRS would not respond after being un–muted

CIRSGSFC 9 CHANGES TO EXECUTIVE FOR 2.0 – 2  Added unique flight software version identifier – In response to request from project – Aids CDS in verifying successful upload of flight software to the SSR  Increased limit for number of tables – Old limit was 256 (includes look–up table) – Scoping for tour operations indicated needed more tables – New limit is 512 (includes look–up table)  Added capability to independently read–out focal planes – CIRS has three focal planes to span the IR: Single detector in the far IR Two 1×10 arrays in the near IR – Previous flight software got data from either all focal planes or none – Not reading out one of the mid IR arrays, when scientifically justified, helps to reduce SSR data overload and DSN downlink bottleneck

CIRSGSFC 10 CHANGES TO EXECUTIVE FOR 2.0 – 3  Modified CIRS load command sequence table command – Two goals: Make flight software more resilient to errors in table load process Gain insight into table load process – Flight software now buffers incoming tables and performs the following integrity checks: Table does not fit in allotted space Too many words received More than one table load at a time Table checksum does not match Packet sequence is incorrect – If the table passes these checks it is loaded into CIRS memory – If not, a dummy table is loaded in place of the failed table – When CIRS table load commands are sent as direct packets simple resending of dropped packet will not work

CIRSGSFC 11 CHANGES TO EXECUTIVE FOR 2.0 – 4  Modified CIRS load command sequence table (cont.) – Send status bits down in existing spare HK telemetry channels: Table number Calculated checksum Received words. – Flight software buffers table load status/error bits so that they come down one per HK packet in case of multiple errors  Increased upper limit of software watchdog timer – The software watchdog timer verifies that the flight software is operating within its boundaries – The new flight software build larger than previous build – Therefore the upper limit of the software watchdog timer was increased

CIRSGSFC 12 CHANGES TO EXECUTIVE FOR 2.0 – 5  Increased size of CIRS instrument memory allocated to command sequence tables – Flight software executive controls how much of CIRS instrument memory is allocated to tables – We are currently patching (increasing) this number every time the flight software is loaded – Added this patch to the new build so patches are no longer necessary

CIRSGSFC 13 SUMMARY OF CHANGES TO TABLES FOR 2.0  Changes to SCI_SCAN command in new software required changes to all tables that used this command  Last major update to tables was for version  Used this to critically review and scrub tables based upon Jupiter experience  New flight software loads 51 tables (table numbers 0–50) along with the executive

CIRSGSFC 14 BACKUP MATERIAL 3.0 CHANGES

CIRSGSFC 15 SUMMARY OF CHANGES TO EXECUTIVE FOR 3.0  Increase number of table numbers to 1024  Increase time delay for relative time tagged commands  Changes to table load command – Increase number of hex data words allowed – Identify source of CIRS table load command (from SSR or SASF) – Correct bad table rejection procedure  Decrease loop count value  Definition/redefinition of some telemetry channels – Added number of pending absolute time tagged commands into housekeeping  Allow looping over tables  Allow absolute time tagged commands in a trigger sequence list

CIRSGSFC 16 CHANGES TO EXECUTIVE FOR 3.0 – 1  Increase number of tables from 0 – 511 to 0 – 1023  Reason for change – It has been determined that on average for tour operations CIRS needs 600 table numbers on board the spacecraft at all times Tables 0 – 100Engineering and calibration tables Tables 101 – 450Set instrument observing mode Tables 451 – endTrigger tables (call tables 101 – 450) – Trigger tables CIRS needs a unique trigger table for each observation there are on the average 150 CIRS observations per tour sequence Must have valid trigger tables for sequence n and n+1 to handle sequence boundary properly Therefore need 300 trigger tables – Therefore need table numbers 0 – 750 (average) – Going to 1024 (next power of 2) allows for margin and deviations from average

CIRSGSFC 17 CHANGES TO EXECUTIVE FOR 3.0 – 2  Increase relative time delay from 2 hours 16 minutes 32 seconds to 72 hours 49 minutes 4 seconds  Reason for change – CIRS trigger command operations Single trigger from spacecraft sequence sent to CIRS This trigger command populates a relative time tagged command buffer with other trigger commands (can hold 256 pending commands) Relative execution time of the trigger commands in the command buffer comes from the relative time delay within the trigger command Execution of trigger commands synched to the pointing design – With version cannot command CIRS past  2 hours with a single trigger command – Most observations/requests last longer than 2 hours – Maximum possible time for observation is  48 hours (Require DSN pass to empty SSR) – Therefore new design is robust

CIRSGSFC 18 CHANGES TO EXECUTIVE FOR 3.0 – 3  Increase maximum number of hex data words in a table load command from 24 words to 113 words  Reason for change – CDS created library region on the SSR for instruments to store IEBs – Memory is segmented into 128 word chunks – CIRS has been allocated –word segments – Only one load command can be stored per segment – More efficient use of SSR library segment (25% vs. 100%)

CIRSGSFC 19 CHANGES TO EXECUTIVE FOR 3.0 – 4  Version 3.0 adds a source parameter field to the table load command where: – Value = GND means table load command is from ground (SASF) – Value = SSR means table load command is from the SSR  Reason for change – Two goals: Desire to increase number of hex data words in load command to better use SSR library region Desire to minimize changes to F S/W code that performs error checking of load commands – Goals met by addition of this parameter to the load command

CIRSGSFC 20 CHANGES TO EXECUTIVE FOR 3.0 – 5  CIRS performs error checking of table (IEB) load commands – IEB fits within allocated memory – Received words matches expected words – Packet continuity – Etc.  If a table (IEB) fails any one of these tests then – Error bits are set in housekeeping – Dummy table loaded in place  Version 3.0 corrects two problems in this function in – No dummy table loaded if START packet missing – If table being loaded was the look–up table, it would be overwritten with a dummy table

CIRSGSFC 21 CHANGES TO EXECUTIVE FOR 3.0 – 6  Decrease maximum number of times a table may be “looped over” from 65,635 to 32,767  Reason for change – CIRS F S/W documentation states that one 16–bit word is allocated for loop count – CIRS operations assumed that full word was available or maximum loop count is – Testing for tour operations showed that if all 16 bits were used F S/W treated loop count as a negative number

CIRSGSFC 22 CHANGES TO EXECUTIVE FOR 3.0 – 7  In version when a table calls a table, commanding terminates in the table that is called  In version 3.0 when a table calls a table, commanding returns to the calling table once table called has completed  Reason for change – Allows for looping over tables – Useful in constructing CIRS mapping sequences

CIRSGSFC 23 CHANGES TO EXECUTIVE FOR 3.0 – 8  Version only allows for absolute time tagged trigger commands to be placed in the absolute time tagged command buffer via individual commands  Version 3.0 allows for absolute time tagged trigger commands to be placed in the absolute time tagged command buffer via trigger sequence lists (table of table calls that places the tables into a command buffer).  Reason for change – Allows for a single trigger command to populate the absolute time tagged command buffer – Reduce number of CIRS trigger commands in background sequence

CIRSGSFC 24 CHANGES TO EXECUTIVE FOR 3.0 – 9  CIRS has two pending command buffers – Number of relative time tagged pending commands, maximum 256 – Number of absolute time tagged pending commands, maximum 64 – Currently number of all pending time tagged commands is returned in housekeeping word 30 and displayed as one channel – Split word into two channels: Number of relative time tagged pending commands Number of absolute time tagged pending commands – Improved insight into status of CIRS command execution – Improved anomaly diagnosis and response

CIRSGSFC 25 SUMMARY OF CHANGES TO TABLES FOR 3.0  Cleaned up version tables and modified as needed to work with 3.0  Added 310 basic CIRS tour operational tables