Desription tbd. STOL for MSI Functional S/W Test: #******************************************************************************* # Macros for MSI Functional In-Flight Test of New Software # # MSI_FUNCTIONAL.txt # # 040197 Initial Draft RBD # 040397-1 Revised after initial brassboard load test RBD # 040397-2 Correct Image Seq Def #27 after brassboard test RBD # 040497-1 Corrected DPU macro delay timing & added 30 sec to pwr off time RBD # 040897-1 Updated Image Acq MET's and DPU macro delay times per revier meeting, # Moved MSI pwr off timetag cmd to MSI_ON_HOLD CTP macro RBD # Event T-0 time is 19:40:00 GMT on Day 101 (11 April 97) ==> MET=36197797 #******************************************************************************* OUTPUT MSI_FUNCTIONAL DATABASE /home/epoch/near/database/reports/flight_db.lis SET CTP1_SEQ_NUM 1 SET CTP2_SEQ_NUM 1 SET BYPASS_FLAG 0 CTP 1 #******************************************************************************* # This macro turns on the MSI DPU, and loads all the commands and macros for # the MSI Functional Test. It assumes that the MSI is warmed up with version 10 # software loaded, but the MSI may be either poweren on or off # #>>>>>>>>> This Macro should be started at T-600 seconds <<<<<<<<<<<< MACROLOAD MSI_FUN_ON 0xA000 ABS CT_MACT_LD 0 0 PG2 0X4000 # Load CTP Macro #========================================================================== # Load Timetag command to start the MSI Functional Test DPU Macro @T-15 #========================================================================== CMDLOAD CT_TIMTG_LD ENA 61 36197782 {CT_MACT_EX PG2 MCID(MSI_FUN_START) 0XA002} #========================================================================== # Load Timetag command to set CTP Housekeeping VC0 rate to 1 min after # filter wheel rotations @ T+980 seconds #========================================================================== CMDLOAD CT_TIMTG_LD ENA 62 36198777 {CT_VC0_HSKR 60} #========================================================================== CMD CT_VC0_HSKR 1 # Set CTP VC0 housekeeping record rate to one second #========================================================================== CMDLOAD SS_DATA_LOAD 1 AIU1 CMDLOAD AU_TRN_MSG_ACT CMD FC_DS5F_URAM_LD \ # Load COMQUAT to rotate -14.35 deg about Z 0.0 \ 0.0 \ (-0.1249003) \ 0.9921692 END END CMDLOAD SS_DATA_LOAD 0 AIU1 CMDLOAD AU_TRN_MSG_ACT CMD FC_STRT_GUI_SCN 4 # Start -14.35 deg Z-axis rotation END END #========================================================================== # Start Standard MSI Power-On Sequence #========================================================================== # Load MSI over-current autonomy rule 104 CMDLOAD CT_AUT_RULE_LD DIS A_OR_B 104 10 \ AND T_GT_A 0xFF HSK 32 191 0 \ AND T_GT_A 0xFF HSK 32 191 0 \ {MS_OFF} CMD CT_PAUSE NOR 1 CMD CT_AUT_EN ENA 104 0 # Enable MSI over-current autonomy rule 104 CMD CT_PAUSE NOR 2 CMD MS_ON # Turn-on MSI DPU CMD CT_PAUSE NOR 5 CMD CT_AUT_EN ENA 132 0 # Enable MSI disaster autonomy rule 132 CMD CT_PAUSE NOR 60 CMDLOAD SS_DATA_LOAD 0 MSI # Send MSI telemetry to both VC0 and VC3 CMD MS_SET_TLM_CHN 1 VC0 # DPU Memory Dump Records CMD MS_SET_TLM_CHN 4 VC0 # Full Image Records CMD MS_SET_TLM_CHN 5 VC0 # Summary Image Records END CMDLOAD SS_DATA_LOAD 0 MSI # Sync MSI Subcom Housekeeping to SSR CMD MS_HSK_SUBCOM SSR END #========================================================================== # End Standard MSI Power-On Sequence #========================================================================== # #------------- Load / Define image aquisition sequences ---------------------- # # Load Image Aquisition Sequence Definations 1 - 9 CMDLOAD SS_DATA_LOAD 1 MSI # --------------------------------------------------------------- # SEQUENCE 1: 8 images, short exposure time, every filter position # moving forward, 20 sec apart, no compression # (0, 1, 2, 3, 4, 5, 6, 7 ) CMD MS_DIA_SEQ 1 8 NONE 20 NONE OFF NONE 16 MAN \ 50 50 50 50 50 50 50 50 0 1 2 3 4 5 6 7 # --------------------------------------------------------------- # SEQUENCE 2: 8 images starting at last position, short exposure # time, every filter moving backward, 20 sec apart, no compression # (7, 6, 5, 4, 3, 2, 1, 0) CMD MS_DIA_SEQ 2 8 NONE 20 NONE OFF NONE 16 MAN \ 50 50 50 50 50 50 50 50 7 6 5 4 3 2 1 0 # --------------------------------------------------------------- # SEQUENCE 3: 7 images starting at last position, moving forward # then backward in steps of 2, 20 sec apart (0, 2, 4, 6, 4, 2, 0) CMD MS_DIA_SEQ 3 7 NONE 20 NONE OFF NONE 16 MAN \ 50 50 50 50 50 50 50 0 0 2 4 6 4 2 0 0 # --------------------------------------------------------------- # SEQUENCE 4: 5 images, keep filter wheel position constant at 0, # vary exposure times to test amount of time required for change, # commanded acquisition times 1 sec apart, no compression # (exp t = 50,100,500,900,999) # CMD MS_DIA_SEQ 4 5 NONE 1 NONE OFF NONE 16 MAN \ 50 100 500 900 999 0 0 0 0 0 0 0 0 0 0 0 # --------------------------------------------------------------- # SEQUENCE 5: 5 images, move in steps of 1 filter, constant 50 ms # exposure time, commanded acquisition times 1 sec apart, no # compression (1,2,3,2,1) CMD MS_DIA_SEQ 5 5 NONE 1 NONE OFF NONE 16 MAN \ 50 50 50 50 50 0 0 0 1 2 3 2 1 0 0 0 # --------------------------------------------------------------- # SEQUENCE 6: 5 images, move in steps of 2 filters, constant 50 # ms exposure time, commanded acquisition times 1 sec apart, no # compression (3,5,7,5,3) CMD MS_DIA_SEQ 6 5 NONE 1 NONE OFF NONE 16 MAN \ 50 50 50 50 50 0 0 0 3 5 7 5 3 0 0 0 # --------------------------------------------------------------- # SEQUENCE 7: 5 images, move in steps of 3 filters, constant 50 # ms exposure time, commanded acquisition times 1 sec apart, no # compression (6,1,4,1,6) CMD MS_DIA_SEQ 7 5 NONE 1 NONE OFF NONE 16 MAN \ 50 50 50 50 50 0 0 0 6 1 4 1 6 0 0 0 # --------------------------------------------------------------- # SEQUENCE 8: 8 images, move filter wheel 1 position at a time # through positions 7, 0, 1, 2, 3, 4, 5, 6, vary exposure times, # no compression (exp t = 10, 200, 300, 400, 500, 600, 750, 999) CMD MS_DIA_SEQ 8 8 NONE 1 NONE OFF NONE 16 MAN \ 10 200 300 400 500 600 750 999 7 0 1 2 3 4 5 6 # --------------------------------------------------------------- END # End Load of Image Aquisition Sequence Definations 1 - 8 # Load Image Aquisition Sequence Definations 9 - 17 CMDLOAD SS_DATA_LOAD 1 MSI # --------------------------------------------------------------- # SEQUENCE 9: 8 images, move filter wheel 2 positions at a time # through positions 0, 2, 4, 6, 0, 2, 4, 6, vary exposure times, # no compression (exp t = 10, 200, 300, 400, 500, 600, 750, 999) CMD MS_DIA_SEQ 9 8 NONE 1 NONE OFF NONE 16 MAN \ 10 200 300 400 500 600 750 999 0 2 4 6 0 2 4 6 # --------------------------------------------------------------- # SEQUENCE 10: 8 images, filter 0, 50 ms exposure, 1 sec apart, # no compression CMD MS_DIA_SEQ 10 8 NONE 1 NONE OFF NONE 16 MAN \ 50 50 50 50 50 50 50 50 0 0 0 0 0 0 0 0 # --------------------------------------------------------------- # SEQUENCE 11: 8 images, filter 0, 800 ms exposure, 1 sec apart, # no compression CMD MS_DIA_SEQ 11 8 NONE 1 NONE OFF NONE 16 MAN \ 800 800 800 800 800 800 800 800 0 0 0 0 0 0 0 0 # --------------------------------------------------------------- # SEQUENCE 12 OMITTED # --------------------------------------------------------------- # SEQUENCE 13: 1 image, 800 ms exposure time, filter 0, Fast # compression CMD MS_DIA_SEQ 13 1 NONE 1 NONE ON FAST 16 MAN \ 800 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 # --------------------------------------------------------------- # SEQUENCE 14: 1 image, 800 ms exposure time, filter 0, Rice # compression CMD MS_DIA_SEQ 14 1 NONE 1 NONE ON RICE 16 MAN \ 800 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 # --------------------------------------------------------------- # SEQUENCE 15: 1 image, 800 ms exposure time, filter 0, LUT 1 # companding only CMD MS_DIA_SEQ 15 1 NONE 1 TABLE1 OFF NONE 16 MAN \ 800 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 # --------------------------------------------------------------- # SEQUENCE 16: 1 image, 800 ms exposure time, filter 0, LUT 2 # companding only CMD MS_DIA_SEQ 16 1 NONE 1 TABLE2 OFF NONE 16 MAN \ 800 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 # --------------------------------------------------------------- # SEQUENCE 17: 1 image, 800 ms exposure time, filter 0, LUT 3 # companding only CMD MS_DIA_SEQ 17 1 NONE 1 TABLE3 OFF NONE 16 MAN \ 800 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 # --------------------------------------------------------------- END # End Load of Image Aquisition Sequence Definations 9 - 17 # Load Image Aquisition Sequence Definations 18 - 25 CMDLOAD SS_DATA_LOAD 1 MSI # --------------------------------------------------------------- # SEQUENCE 18: 1 image, 800 ms exposure time, filter 0, LUT 4 # companding only CMD MS_DIA_SEQ 18 1 NONE 1 TABLE4 OFF NONE 16 MAN \ 800 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 # --------------------------------------------------------------- # SEQUENCE 19: 1 image, 800 ms exposure time, filter 0, LUT 5 # companding only CMD MS_DIA_SEQ 19 1 NONE 1 TABLE5 OFF NONE 16 MAN \ 800 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 # --------------------------------------------------------------- # SEQUENCE 20: 1 image, 800 ms exposure time, filter 0, LUT 6 # companding only CMD MS_DIA_SEQ 20 1 NONE 1 TABLE6 OFF NONE 16 MAN \ 800 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 # --------------------------------------------------------------- # SEQUENCE 21: 1 image, 800 ms exposure time, filter 0, LUT 7 # companding only CMD MS_DIA_SEQ 21 1 NONE 1 TABLE7 OFF NONE 16 MAN \ 800 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 # --------------------------------------------------------------- # SEQUENCE 22: 1 image, 800 ms exposure time, filter 0, LUT 6 # companding plus Fast CMD MS_DIA_SEQ 22 1 NONE 1 TABLE6 ON FAST 16 MAN \ 800 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 # --------------------------------------------------------------- # SEQUENCE 23: 1 image, 800 ms exposure time, filter 0, LUT 6 # companding plus Rice CMD MS_DIA_SEQ 23 1 NONE 1 TABLE6 ON RICE 16 MAN \ 800 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 # --------------------------------------------------------------- # SEQUENCE 24: 6 images, filter 0, 800 ms exposures, 1 sec apart, # Fast compression CMD MS_DIA_SEQ 24 6 NONE 1 NONE ON FAST 16 MAN \ 800 800 800 800 800 800 0 0 0 0 0 0 0 0 0 0 # --------------------------------------------------------------- # SEQUENCE 25: 8 images, filter 0, 800 ms exposures, 1 sec apart, # LUT 6 CMD MS_DIA_SEQ 25 8 NONE 1 TABLE6 OFF NONE 16 MAN \ 800 800 800 800 800 800 800 800 0 0 0 0 0 0 0 0 # --------------------------------------------------------------- END # End Load of Image Aquisition Sequence Definations 18 - 25 # Load Image Aquisition Sequence Definations 26 - 27 CMDLOAD SS_DATA_LOAD 1 MSI # --------------------------------------------------------------- # SEQUENCE 26: 6 images, filter 1, 800 ms exposures, 1 sec apart, # LUT 6 + Fast compression CMD MS_DIA_SEQ 26 6 NONE 1 TABLE6 ON FAST 16 MAN \ 800 800 800 800 800 800 0 0 0 0 0 0 0 0 0 0 # --------------------------------------------------------------- # SEQUENCE 27: 8 images, move filter wheel 1 step per image, # no compression, constant exposure [corrected 4/3/97 RBD] CMD MS_DIA_SEQ 27 8 NONE 1 NONE OFF NONE 16 MAN \ 200 200 200 200 200 200 200 200 7 0 1 2 3 4 5 6 # --------------------------------------------------------------- END # End Load of Image Aquisition Sequence Definations 26 - 27 #********************** # IMAGE-SEQUENCE EXECUTION TIMES #********************** CMDLOAD SS_DATA_LOAD 8 MSI # Load MSI Sequence Execution Times CMD MS_EXIA_SEQ 1 36197797 # T-0 = 1940 GMT Day 101 CMD MS_EXIA_SEQ 2 36197957 # T+160 CMD MS_EXIA_SEQ 3 36198147 # T+350 CMD MS_EXIA_SEQ 3 36198317 # T+520 CMD MS_EXIA_SEQ 4 36198777 # T+980 CMD MS_EXIA_SEQ 5 36198797 # T+1000 CMD MS_EXIA_SEQ 6 36198817 # T+1020 CMD MS_EXIA_SEQ 7 36198877 # T+1080 CMD MS_EXIA_SEQ 8 36198917 # T+1120 CMD MS_EXIA_SEQ 9 36198997 # T+1200 CMD MS_EXIA_SEQ 10 36199077 # T+1280 CMD MS_EXIA_SEQ 11 36199085 # T+1288 CMD MS_EXIA_SEQ 13 36199217 # T+1420 CMD MS_EXIA_SEQ 14 36199247 # T+1450 CMD MS_EXIA_SEQ 15 36199277 # T+1480 CMD MS_EXIA_SEQ 16 36199307 # T+1510 CMD MS_EXIA_SEQ 17 36199337 # T+1540 CMD MS_EXIA_SEQ 18 36199367 # T+1570 CMD MS_EXIA_SEQ 19 36199397 # T+1600 CMD MS_EXIA_SEQ 20 36199427 # T+1630 CMD MS_EXIA_SEQ 21 36199457 # T+1660 CMD MS_EXIA_SEQ 22 36199487 # T+1690 CMD MS_EXIA_SEQ 23 36199517 # T+1720 CMD MS_EXIA_SEQ 24 36199577 # T+1780 CMD MS_EXIA_SEQ 24 36199583 # T+1786 CMD MS_EXIA_SEQ 25 36199877 # T+2080 CMD MS_EXIA_SEQ 25 36199885 # T+2088 CMD MS_EXIA_SEQ 26 36200179 # T+2382 CMD MS_EXIA_SEQ 26 36200185 # T+2388 CMD MS_EXIA_SEQ 27 36200477 # T+2680 END # End of IMAGE-SEQUENCE EXECUTION TIMES Load # #=============================================================================== # Load MSI DPU Functional Test Macro #=============================================================================== CMDLOAD SS_DATA_LOAD 1 MSI # Load MSI DPU Macro then pause for 1 sec MACROLOAD MSI_FUN_TEST 0xD001 ABS MS_MACR_LOAD 2 0X0000 # DPU Macro #>>>>>>>>>>>>>> This macro should be started at T-15 seconds <<<<<<<<<<<<<<<<<< # T-15 CMD MS_CONFIG_TLM VC2 NONE # Config for Full Images Only CMD MS_DEL_MACR 350 # T+335 CMD MS_CONFIG_TLM NONE VC30 # Config for Summary Images CMD MS_SET_TLM_CHN 5 VC0 # Send Summary Image Records to VC0 CMD MS_DEL_MACR 170 # T+505 CMD MS_CONFIG_TLM VC2 VC30 # Config for Full and Summary Images CMD MS_SET_TLM_CHN 5 VC0 # Send Summary Image Records to VC0 CMD MS_DEL_MACR 165 # T+670 seconds CMD MS_CONFIG_TLM VC2 NONE # Config for Full Images Only CMD MS_DEL_MACR 10 # T+680 seconds CMD MS_FLW_POS 5 CMD MS_DEL_MACR 20 # T+700 seconds CMD MS_FLW_POS 2 CMD MS_DEL_MACR 20 # T+720 seconds CMD MS_FLW_POS 7 CMD MS_DEL_MACR 20 # T+740 seconds CMD MS_FLW_POS 4 CMD MS_DEL_MACR 20 # T+760 seconds CMD MS_FLW_POS 1 CMD MS_DEL_MACR 20 # T+780 seconds CMD MS_FLW_POS 6 CMD MS_DEL_MACR 20 # T+800 seconds CMD MS_FLW_POS 3 CMD MS_DEL_MACR 20 # T+820 seconds CMD MS_FLW_POS 0 CMD MS_DEL_MACR 20 # T+840 seconds CMD MS_FLW_POS 4 CMD MS_DEL_MACR 20 # T+860 seconds CMD MS_FLW_POS 0 CMD MS_DEL_MACR 20 # T+880 seconds CMD MS_FLW_POS 4 CMD MS_DEL_MACR 20 # T+900 seconds CMD MS_FLW_POS 0 CMD MS_DEL_MACR 20 # T+920 seconds CMD MS_FLW_POS 4 CMD MS_DEL_MACR 20 # T+940 seconds CMD MS_FLW_POS 0 CMD MS_DEL_MACR 330 # T+1270 seconds CMD MS_FLW_POS 0 #----------------------------------------- # LOAD LAST IMAGE-SEQUENCE EXECUTION TIME #----------------------------------------- CMD MS_DEL_MACR 1345 # T+2615 seconds CMD MS_EXIA_SEQ 27 36200485 # T+2688 #----------------------------------------- CMD MS_DEL_MACR 85 # T+2700 seconds CMD MS_HSK_SUBCOM REALTIME CMD MS_DUMP_PRB_LOG # Dump Problem Log CMD MS_DEL_MACR 15 # T+2715 seconds CMD MS_DUMP_MEM_ST # Stop memory dump (just in case not done) CMD MS_DUMP_CMD_LOG # Dump Command Log # Test over at T+2760 (46.0 mins) END # End MSI_FUN_TEST DPU Macro Load END END # End MSI_FUN_ON CTP Macro Load #=============================================================================== # Load CTP Macro to Start the MSI Functional Test DPU Macro #=============================================================================== MACROLOAD MSI_FUN_START 0xA002 REL CT_MACT_LD 0 0 PG2 0X4000 # Load CTP Macro CMDLOAD SS_DATA_LOAD 0 MSI {MS_EX_MACR MCID(MSI_FUN_TEST) 0xD001} END #=============================================================================== # Load MSI Power Off CTP Macro #=============================================================================== MACROLOAD MSI_OFF 0xA100 REL CT_MACT_LD 0 0 PG2 0X4000 CMDLOAD SS_DATA_LOAD 0 MSI {MS_FLW_POS 0 } CMD CT_PAUSE NOR 20 CMD MS_OFF CMD CT_AUT_EN DIS_NOEM 104 0 CMD CT_AUT_EN DIS_NOEM 132 0 CMD CT_VC0_HSKR 900 # Set CTP VC0 housekeeping record rate to default CMD CT_FMT_PCK3 AIU1 END # End MSI_OFF CTP Macro Load #=============================================================================== # Load CTP MACRO to Power-on MSI and Hold it in the bootprom # This macro powers on the MSI then sends a command after 6 seconds to hold the # DPU in the Bootprom for the new flight code upload #=============================================================================== MACROLOAD MSI_ON_HOLD 0xB000 REL CT_MACT_LD 0 0 PG2 0X4000 #========================================================================== # Load Timetag command to power off MSI @ T+2760 (20:26:00 GMT 11 April 97) #========================================================================== CMDLOAD CT_TIMTG_LD ENA 63 36200557 {CT_MACT_EX PG2 MCID(MSI_OFF) 0XA100} #========================================================================== # Load MSI over-current autonomy rule 104 CMDLOAD CT_AUT_RULE_LD DIS A_OR_B 104 10 \ AND T_GT_A 0xFF HSK 32 191 0 \ AND T_GT_A 0xFF HSK 32 191 0 \ {MS_OFF} CMD CT_PAUSE NOR 1 CMD CT_AUT_EN ENA 104 0 # Enable MSI over-current autonomy rule 104 CMD CT_PAUSE NOR 2 CMD MS_ON # Turn-on MSI DPU CMD CT_PAUSE NOR 6 CMDLOAD SS_DATA_LOAD 5 MSI { MS_NULL } CMD CT_AUT_EN ENA 132 0 # Enable MSI disaster autonomy rule 132 END #=============================================================================== END # End of Input File