GLAST/LAT > DAQ and FSW > FSW > Index by Name within Package

LBTHKP (512/0x200) - Telemetry Packet


"Boot housekeeping telemetry" (OS/PBC)

View Options: (help)

Context:

Description:

    Boot housekeeping telemetry.

Layout:  (hide detail; help)

Boot housekeeping telemetry (LBTHKP)
Telemetry Packet Format
0x 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
000 Version=0 T=0 SH APID=0x200
002 SF Sequence Count
004 Packet Length=109
006 Timestamp
00E BOOTSWMODE bootSoftwareMode
010 BOOTTOTALERR totalErrorCount
012 BOOTQERR queuedErrorCount
014 BOOTERRWORD errorWord
018 BOOTPKTCOUNT tcPktReceiveCount
01A BOOTPKTACCEPT tcPktAcceptCount
01C BOOTLASTERR latestErrorWord
020 BOOTCOMMAND lastCommand
022 BOOTSCPKTCOUNT tcPktScCount
024 BOOTUNSPKTCOUNT tcPktUnsupportCount
026 BOOTFILESTATE fileUploadState
028 BOOTFILEPKT fileUploadPktCnt
02A BOOTSCRUBADDRHI scrubAddrHi
02C BOOTTYPE bootType
02E BOOTDUMPCOUNT memDumpWordCount
030 BOOTDUMPADDR memDumpAddress
034 BOOTDUMPDATA memDumpData[0-15]

    typedef struct _PBC_LBTHKP_Tlm {
    
        /* Telemetry header */
        char                 hdr[14];
    
        /* Current PBC operating mode */
        unsigned short       bootSoftwareMode;
    
        /* Number of errors encountered */
        unsigned short       totalErrorCount;
    
        /* Number of queued errors */
        unsigned short       queuedErrorCount;
    
        /* Error code */
        unsigned int         errorWord;
    
        /* Received packet count */
        unsigned short       tcPktReceiveCount;
    
        /* Accepted packet count */
        unsigned short       tcPktAcceptCount;
    
        /* Most recent boot error code */
        unsigned int         latestErrorWord;
    
        /* Last boot command bitfield */
        PBC_BOOTCOMMAND      lastCommand;
    
        /* Received spacecraft packet count */
        unsigned short       tcPktScCount;
    
        /* Received unsupported packet count */
        unsigned short       tcPktUnsupportCount;
    
        /* File upload state */
        unsigned short       fileUploadState;
    
        /* File upload packet count */
        unsigned short       fileUploadPktCnt;
    
        /* Hi 16 bits of software scrub address */
        unsigned short       scrubAddrHi;
    
        /* Boot type */
        unsigned short       bootType;
    
        /* Memory dump word count */
        unsigned short       memDumpWordCount;
    
        /* Memory dump address */
        unsigned int         memDumpAddress;
    
        /* Memory dump data */
        unsigned int         memDumpData[16];
    
    } PBC_LBTHKP_Tlm;
    

Fields:

      Attribute(s):  

      Brief:  "Last boot command bitfield"

      Instance(s):  lastCommand

      Bitfield to hold APID and function code of command most recently received by the PBC.

      Attribute(s):  

      Brief:  "Memory dump address"

      Instance(s):  memDumpAddress

      Address of first memory dump word.

      Attribute(s):  

      Brief:  "Memory dump word count"

      Instance(s):  memDumpWordCount

      Number of valid 32-bit memory dump words.

      Attribute(s):  

      Brief:  "Memory dump data"

      Instance(s):  memDumpData

      Memory dump data word.

      Attribute(s):  

      Brief:  "Error code"

      Instance(s):  errorWord

      Error code at the head of the boot error queue.

      Attribute(s):  

      Brief:  "File upload packet count"

      Instance(s):  fileUploadPktCnt

      Number of file upload packets received by the PBC.

      Attribute(s):  

      Brief:  "File upload state"

      Instance(s):  fileUploadState

      State of the PBC's file upload state machine.

      Attribute(s):  

      Brief:  "Most recent boot error code"

      Instance(s):  latestErrorWord

      Error code for the most recent error encountered by the PBC.

      Attribute(s):  

      Brief:  "Accepted packet count"

      Instance(s):  tcPktAcceptCount

      Number of packets accepted by the PBC.

      Attribute(s):  

      Brief:  "Received packet count"

      Instance(s):  tcPktReceiveCount

      Number of packets received by the PBC.

      Attribute(s):  

      Brief:  "Number of queued errors"

      Instance(s):  queuedErrorCount

      Number of errors in the boot error queue.

      Attribute(s):  

      Brief:  "Received spacecraft packet count"

      Instance(s):  tcPktScCount

      Total number of spacecraft packets received.

      Attribute(s):  

      Brief:  "Hi 16 bits of software scrub address"

      Instance(s):  scrubAddrHi

      Upper 16 bits of PBC software scrub address.

      Attribute(s):  

      Brief:  "Current PBC operating mode"

      Instance(s):  bootSoftwareMode

      Current PBC operating mode.

      Attribute(s):  

      Brief:  "Number of errors encountered"

      Instance(s):  totalErrorCount

      Total number of errors encountered by the PBC.

      Attribute(s):  

      Brief:  "Boot type"

      Instance(s):  bootType

      Type of boot.

      Attribute(s):  

      Brief:  "Received unsupported packet count"

      Instance(s):  tcPktUnsupportCount

      Total number of unsupported packets received.