LAT Internal Communications System

Software Interface Conceptual Design

Curt Brune

Stanford Linear Accelerator Center (SLAC)
GLAST Flight Software
Revision History
Revision 0.3July 25, 2002
Revision 0.2July 18, 2002
Revision 0.1July 11, 2002

This document provides an overview and conceptual design of the software interface for the LAT Internal Communications System (LICS).

This document is also available in the following formats:


Table of Contents
Introduction
1. Definitions
2. Assumptions
1. LICS Initialization
1.1. Orienteering – Where am I and Who's on Top?
1.1.1. SBC Enumeration
1.1.2. Memory Maps
2. Commands and Results
2.1. Asynchronous Command and Response Interface (ACRI)
2.1.1. Preparing for Commanding
2.1.2. Adding Commands to the Command List
2.1.3. Executing a Command List
2.1.4. Processing Results
2.2. Synchronous Command and Response Interface (SCRI)
3. Event Processing
3.1. LCB Event Processing Model
3.2. Hardware Initialization
3.3. LEPI Initialization
3.3.1. Error Handler
3.3.2. Event Handler
3.4. Event Processing
3.4.1. Error Handling
3.4.2. Event Handler
A. Result Processing Flow Diagram
Background Documentation
List of Tables
2-1. LIOX List Memory Attributes
List of Figures
1. Layout of the PCI bus in a single cPCI crate.
2-1. Overview of LIOX data structure.
A-1. Result Processing Flow Diagram
List of Examples
2-1. Reading Calorimeter DAC
2-2. Reading a Calorimeter DAC – Continued
2-3. Read Calorimeter DAC – Synchronous Interface