IMPACT IDPU ERRORS			
Revision:	X	2005-Nov-17	

Error Name	Error Code	Description	Hex
No Error	0		0
; Boot/1553:			
ERROR_BadEEPROMChecksum	1	;Boot: Check of EEPROM on boot failed.  Data=0	1
ERROR_1553IdleTimeout	2	";DRV1553: On initialization, timed out waiting for Summit chip to go idle. Data=0"	2
ERROR_1553BITTimeout	3	";DRV1553: On initialization, Summit BIT took too long.  Data=1553 Status register LSB"	3
ERROR_1553BIT	4	";DRV1553: On initializatiom, Summit BIT failed.  Data=8MSB of BIT register"	4
ERROR_1553YF	5	;DRV1553: Received an interrupt indicating a Summit chip YF condition.  Data =8 MSB of 1553 INTPEND register (promote bit 7 to bit 8)	5
ERROR_1553MSG	6	";DRV1553: Received a message error.  Data = Message ID (3 LSB), Message Info Word LSB (5 MSB)"	6
ERROR_1553Timeout	7	";Watchdog: No 1553 activity timeout.  Data=IRQH_Active (Bit 0=timer, 1=1553,2=1st timeout, 3=2nd timeout)"	7
ERROR_1553DCBBad	8	;DRV1553: DCB check failed (causes re-init). Data=buffer ID	8
ERROR_WatchdogReset	9	;Watchdog: Watchdog Reset Detect in FPGA is set (data=0)	9
			
; Command module:			
ERROR_CmdFLTCOverrun	10	;COMMAND: FLTC queue over-run (from CmdRxHandler).  Data=0	A
ERROR_CmdFLTCFmt	11	;COMMAND: FLTC bad format.  Data=LSB of first FLTC word	B
ERROR_CmdSyncError	12	;COMMAND: FLTC sequence error.  Data=FLTC sequence number	C
ERROR_CmdPacketHeader	13	;COMMAND: Command Packet Header format rejected.  Data=FLTC sequence number	D
ERROR_CmdBadApID	14	;COMMAND: Command Packet ApID not for IMPACT or PLASTIC.  Data=ApID LSB	E
ERROR_CmdBadLength	15	;SYSTEM:  Bad command length (for selected function)  Data = ApID LSB.	F
ERROR_CmdBadFunction	16	";SYSTEM: ""Function"" command with illegal function code.  Data=function code"	10
ERROR_CmdBadTableEntry	17	;SYSTEM: Table load requeted for entry past end of table (data = entry #)	11
ERROR_CmdLoadFailed	18	;SYSTEM: Memory or table load command failed (data read back not what was written). Data=Address LSB+1	12
ERROR_CmdEEPROMOverrun	19	";EEPROM: EEPROM Write request, but EEPROM queue full.  Data=Address LSB"	13
ERROR_CmdEEPROMBadPage	20	";EEPROM: EEPROM Write request, Memory page selected is not an EEPROM page.  Data=page selected"	14
ERROR_CmdBadAddr	21	";Command Write request, Memory address > page size"	15
ERROR_CmdEEPROMBadPtr	22	;EEPROM: EEPROM Write request: Write queue pointer illegal.  Write queue is flushed.  Data=0	16
ERROR_CmdEEPROMVerify	23	";EEPROM: EEPROM Write request, read-back after write verify failed.  Data=number of failures"	17
ERROR_CmdEEPROMRunning	24	;EEPROM: EEPROM Write Request while running code from EEPROM	18
ERROR_CmdEEPROMBusy	25	;EEPROM: Attempt to update EEPROM checksum while there is still EEPROM data in the write queue.  Data=0	19
ERROR_CmdBadPage	26	;EEPROM: ChangeCodePage command with illegal code page selected (>4).  Data=page requested	1A
ERROR_CmdSEPDisabled	27	;SEP: Attempt to send command to SEP when it is disabled (off).  Data=0	1B
ERROR_CmdSEPOverrun	28	;SEP: SEP command queue over-run.  Data=0	1C
ERROR_CmdBadSeqReq	29	;CmdSeq: Bad command sequence number requested (>31).  Data = sequence number requested	1D
ERROR_CmdPLASTICSysDis	30	";SYSTEM: PLASTIC System Commands disabled, data = command APID LSB"	1E
			
; Telemetry module:			
ERROR_IMPACTTlmQueue	31	;TELEM: IMPACT telemetry queue failure.  More than 256 packets queued.  Data=0	1F
ERROR_IMPACTTlmPage	32	;TELEM: IMPACT telemetry queue failure. Bad telemeytry page (<64).  Data = Page	20
ERROR_IMPACTTlmPtr	33	;TELEM: IMPACT telemetry queue failure.  Bad telemetry pointer (not on page 1). Data=pointer MSB	21
ERROR_PLASTICTlmQueue	34	;TELEM: PLASTIC telemetry queue failure.  More than 256 packets queued.  Data=0	22
ERROR_PLASTICTlmPage	35	;TELEM: PLASTIC telemetry queue failure. Bad telemeytry page (<64).  Data = Page	23
ERROR_PLASTICTlmPtr	36	;TELEM: PLASTIC telemetry queue failure.  Bad telemetry pointer (not on page 1) Data=pointer MSB	24
ERROR_HSKPktNotReady	37	;HKP: Housekeeping packet queue overrun.  Data=0	25
ERROR_DumpPktNotReady	38	;SYSTEM: Memory/Table dump packet queue overrun.  Data=0.	26
			
ERROR_TableChecksum	39	;SYSTEM: Table checksum failure.  Data=Table ID.	27
			
; Instrument Control module			
ERROR_InstCtrl_Busy	40	;INSTCTRL: The single command (non-DMA) Instrument Control register is full. Data =CMDADDR Register LSB	28
ERROR_InstCtrl_Full	41	;INSTCTRL:  The queue is full.  Data = command mask	29
ERROR_InstCtrl_DMA	42	;INSTCTRL: CmdDMABufOverflow error	2A
			
; System:			
ERROR_BadInterrupt	45	;RESERVED: Bad interrupt	2D
ERROR_BeaconPktNotReady	46	;Beacon: Beacon telemetry packet not available.  Data=0	2E
ERROR_CmdChecksum	47	;Command: Bad command packet checksum	2F
ERROR_MemoryTestFail	48	;SystemEx: Memory Test Fail.  Data = # of errors	30
			
; MAG module:			
ERROR_MAG_DMA	50	;MAG: Telemetry DMA buffer error.  Data = TM2_STAT register LSB	32
ERROR_MAG_ReadIndex	51	;MAG: Telemetry DMA buffer indexing failed (TM2_READ index not aligned). Data=TM2_READ register LSB	33
ERROR_MAG_NextIndex	52	;MAG: Telemetry DMA buffer indexing failed (TM2_NEXT index not aligned). Data=TM2_NEXT register LSB	34
ERROR_MAG_SampleCount	53	;MAG: Telemetry DMA buffer error.  Wrong number of samples between 1Hz (MAG) tics.  Data=number found	35
ERROR_MAG_PktNotReady	54	;MAG: Telemetry packet queue over-run.  Data=0.	36
ERROR_MAG_Timeout	55	;MAG: Sensor timeout flag set (data = LSB of status)	37
ERROR_MAG_Parity	56	;MAG: Sensor command parity error (data = LSB of status)	38
			
; SEP module:			
ERROR_SEP_DMA	60	;SEP: Telemetry DMA buffer error.  Data=TM3_STAT register LSB	3C
ERROR_SEP_BadMessageID	61	;SEP: Telemetry DMA buffer message has an illegal ID.  Data=Message ID	3D
ERROR_SEP_BadIndex	62	;SEP: Telemetry DMA buffer indexing failed.  Data=0.	3E
ERROR_SEP_BadTlmMsgLen	63	";SEP: Telemetry DMA message, type=telemetry packet, wrong message length.  Data = message size LSB"	3F
ERROR_SEP_BadHKPMsgLen	64	";SEP: Telemetry DMA message, type=housekeeping, wrong message length.  Data=message size LSB"	40
ERROR_SEP_BadBcnMsgLen	65	";SEP: Telemetry DMA message, type=beacon, wrong message length.  Data=message size LSB"	41
ERROR_SEP_PktNotReady	66	;SEP: Telemetry packet queue over-run.  Data=0.	42
			
; STE module:			
ERROR_STEU_DMA	70	;STE: STE-U DMA buffer error.   Data=TM4_STAT register LSB	46
ERROR_STE_BadMessageID	71	;STE: STE DMA buffer message has an illegal ID.  Data=Message ID	47
ERROR_STEU_BadIndex	72	;STE: STE-U DMA buffer indexing failed.  Data=0.	48
ERROR_STE_BadSpecMsgLen	73	;STE: STE DMA buffer wrong Spectra message length (should be 512).  Data=message size LSB	49
ERROR_STE_BadHKPMsgLen	74	;STE: STE DMA buffer wrong HKP message length (should be 4).  Data=message size LSB	4A
ERROR_STE_BadRateMsgLen	75	;STE: STE DMA buffer wrong Monitor Rates message length (should be 24).  Data=message size LSB	4B
ERROR_STE_Parity	76	;STE: STE command parity error (data=0)	4C
ERROR_STE_ProtCmdError	77	;STE: STE protected command error (data=0)	4D
ERROR_STE_RatesPktNotReady	78	;STE: Monitor rates telemetry packet queue over-run.  Data=0.	4E
ERROR_STE_SpecPktNotReady	79	;STE: Spectra telemetry packet queue over-run.  Data=0.	4F
ERROR_STE_LUTAuto	80	;STE: Attempt to command STE LUT while LUT is in Auto mode.  Data=0	50
ERROR_STE_RatesPointer	81	;STE: Monitor Rates Packet Pointer Error: (Data = 0)	51
ERROR_STEU_DoorTimeout	82	";STE: STE-U Door open/close failure, did not reach desired state.  Data=0"	52
ERROR_STE_BadMemDumpMsgLen	83	;STE: Bad memory dump message length.  Data=0;	53
ERROR_STE_BurstRatePointer  	84	;STE: Burst Rates pointer error.  Data=0	54
ERROR_STEU_DoorTooSoon	85	;STE: Attempt to move STE-U door too soon before previous motion.  Data=seconds remaining in lockout	55
ERROR_STEU_DoorLockout 	86	;STE: Attempt to open STE-U door when locked out by spacecraft state.  Data=spacecraft status	56
ERROR_STEU_DoorTooWarm	87	;STE: Attempt to move STE-U door when it exceeds Max Temp (nominally -35C)	57
ERROR_STED_DoorTimeout	110	";STE: STE-D Door open/close failure, did not reach desired state.  Data=0"	6E
ERROR_STED_DoorTooSoon	111	;STE: Attempt to move STE-D door too soon before previous motion.  Data=seconds remaining in lockout	6F
ERROR_STED_DoorLockout 	112	;STE: Attempt to open STE-D door when locked out by spacecraft state.  Data=spacecraft status	70
ERROR_STED_DoorTooWarm	113	;STE: Attempt to move STE-D door when it exceeds Max Temp (nominally -35C)	71
			
; SWEA module:			
ERROR_SWEA_DMA	90	;SWEA: SWEA/STE-D DMA buffer error.   Data=TM1_STAT register LSB	5A
ERROR_SWEA_BadMessageID	91	;SWEA: SWEA/STE-D buffer message has an illegal ID.  Data=Message ID	5B
ERROR_SWEA_BadIndex	92	;SWEA: SWEA/STE-D DMA buffer indexing failed.  Data=0.	5C
ERROR_SWEA_BadMsgLen	94	;SWEA: SWEA/STE-D DMA Buffer wrong message length. Data = length found	5E
ERROR_SWEA_LUTAuto	95	;SWEA: Attempt to command SWEA LUT while LUT is in Auto mode.  Data=0	5F
ERROR_SWEA_DistPktNotReady	96	;SWEA: Distribution telemetry packet queue over-run.  Data=0.	60
ERROR_SWEA_MessageOrder	97	;SWEA: Messages from instrument out oif sequence.  Data=difference	61
ERROR_SWEA_PADPointer	98	;SWEA: PAD Packet Pointer Error (over-run).  Data = 0	62
ERROR_SWEA_PADPktNotReady	99	;SWEA: PAD telemetry packet queue over-run.  Data=0.	63
ERROR_SWEA_MomPktNotReady	100	;SWEA: Moment telemetry packet queue over-run	64
ERROR_SWEA_MomPointer	101	;SWEA: Moment Packet Pointer Error (over-run).  Data = 0	65
ERROR_SWEA_SpecPktNotReady	102	;SWEA: Moment telemetry packet queue over-run	66
ERROR_SWEA_SpecPointer	103	;SWEA: Moment Packet Pointer Error (over-run).  Data = 0	67
			
;PLASTIC module:			
ERROR_PLASTIC_DMA	200	;PLASTIC: DMA buffer error.   Data=TM1_STAT register LSB	C8
ERROR_PLASTIC_BadMessageID	201	;PLASTIC: buffer message has an illegal ID.  Data=Message ID	C9
ERROR_PLASTIC_BadIndex	202	;PLASTIC: DMA buffer indexing failed.  Data=0.	CA
ERROR_PLASTIC_BadMsgLen	203	;PLASTIC: DMA Buffer wrong message length. Data = length found	CB
ERROR_PLASTIC_TlmPktNotReady	204	;PLASTIC: Science telemetry packet queue over-run.  Data=0.	CC
ERROR_PLASTIC_FastPktNotReady	205	;PLASTIC: Fast telemetry packet queue over-run.  Data=0.	CD

ERROR_PLASTIC_RampHV	206	;PLASTIC: HV Ramp Up/Down error.  Data= Reason code	CE
ERROR_PLASTIC_HVEnableCmd	207	;PLASTIC: HV Enable/Disable cmd error. Data = reason code	CF
ERROR_PLASTIC_SetHVLimit	208	;PLASTIC: Set HV limit error - Data = reason code	D0
ERROR_PLASTIC_HkpCollect	209	";PLASTIC: Hkp Collect had error, Data = reason"	D1
ERROR_PLASTIC_MODEChng	210	;PLASTIC: Warning mode change requested too early.	D2
ERROR_PLASTIC_EEPROMCksm	211	;PLASTIC: EEPROM checksum verify failure.	D3
ERROR_PLASTIC_CmdMacro	212	;PLASTIC: Error initiating macro command	D4
ERROR_PLASTIC_Matrix	213	;PLASTIC: Matrix data problem of some kind.	D5
ERROR_PLASTIC_PACDISCHRGCMD	214	;PLASTIC: PLASTIC_PAC_DISCHARGE limit control command error. Data - offending value	D6
ERROR_PLASTIC_DIS_STARTEDSAFE	215	;PLASTIC: PLASTIC PAc Discharge started Safe/Restore Sequence	D7
ERROR_PLASTIC_DIS_GIVEUP	216	;PLASTIC: PLASTIC PAC - max safing sequences sent	D8
ERROR_PLASTIC_CSEQ_CONFLICT	217	;PLASTIC: COnflict detected in executing PLASTIC Csequences	D9
ERROR_PLASTIC_ANALIM_CMDERR	218	;PLASTIC: Command affecting limits table bad.  Reason code = data	DA
ERROR_PLASTIC_ANALIM_REDLOW	219	;PLASTIC Analog point DOL RED LOW - Data is HKADDR	DB
ERROR_PLASTIC_ANALIM_YELLOW	220	;PLASTIC Analog point DOL YELLOW LOW - Data is HKADDR	DC
ERROR_PLASTIC_ANALIM_YELHIGH	221	;PLASTIC Analog point DOL YELLOW HIGH - Data is HKADDR	DD
ERROR_PLASTIC_ANALIM_REDHIGH	222	;PLASTIC Analog point DOL RED HIGH - Data is HKADDR	DE
PLASTIC_ANALIM_NORMAL	223	;PLASTIC Analog point IN LIMITS - Data is HKADDR	DF
ERROR_PLASTIC_OPModeSaveRestore	224	;PLASTIC-Error in Save Restore PLASTIC OP Mode	E0
ERROR_PLASTIC_CmdParm	225	;PLASTIC: command argument error.	E1
ERROR_PLASTIC_DIS_DETECTED	226	;PLASTIC: PAC Discharge Detected	E2
ERROR_PAC_DISCHARGED	227	 ;PLASTIC:Cmd Ignored - PAC Discharged	E3
