Trace collected at: 2010-10-13 14:31:35.951000 ---------------------------------------------------------------------- ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[141]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[142]: log('CMD_4 TEST FLAGGING OF BAD S/C MESSAGES ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[143]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[144]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[146]: startscript('gsecmderr') #Clean up GSE if needed ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[66]: RBSPBios.SetCCSDSErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[67]: RBSPBios.SetITFErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[147]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[148]: sleep(4) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[150]: itf_test() #ITF error detection test ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[16]: log('1.1 Injecting ITF Error in Sync[0] ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[17]: cmd.EFW_CLEAR() #Clear Errors ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[18]: startscript('gsecmderr', 'itf', 0, 0xff) # Set byte 0 (Sync) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[57]: byte_location = my_byte_location ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[59]: byte_value = my_byte_value ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[69]: elif(err_type.lower() == 'ccsds'): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[73]: elif(err_type.lower() == 'itf'): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[75]: RBSPBios.SetITFErrorInjectionHandler(itf_handler) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[20]: log("ITF Error Found at Location %x" % (APID_267.ERRDATA & 0x3FF) ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[21]: startscript('gsecmderr') ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[66]: RBSPBios.SetCCSDSErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[67]: RBSPBios.SetITFErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[22]: cmd.EFW_CLEAR() ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[25]: log('1.2 Injecting ITF Error in Sync[1] ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[26]: cmd.EFW_CLEAR() #Clear Errors ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[27]: startscript('gsecmderr', 'itf', 1, 0xff) # Set byte 1 (Sync) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[57]: byte_location = my_byte_location ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[59]: byte_value = my_byte_value ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[69]: elif(err_type.lower() == 'ccsds'): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[73]: elif(err_type.lower() == 'itf'): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[75]: RBSPBios.SetITFErrorInjectionHandler(itf_handler) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[28]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[29]: log("ITF Error Found at Location %x" % (APID_267.ERRDATA & 0x3FF) ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[30]: startscript('gsecmderr') ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[66]: RBSPBios.SetCCSDSErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[67]: RBSPBios.SetITFErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[31]: cmd.EFW_CLEAR() ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[32]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[34]: log('1.3 Injecting ITF Error in Sync[2] ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[35]: cmd.EFW_CLEAR() #Clear Errors ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[36]: startscript('gsecmderr', 'itf', 2, 0xff) # Set byte 2 (Sync) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[57]: byte_location = my_byte_location ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[59]: byte_value = my_byte_value ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[69]: elif(err_type.lower() == 'ccsds'): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[73]: elif(err_type.lower() == 'itf'): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[75]: RBSPBios.SetITFErrorInjectionHandler(itf_handler) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[37]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[38]: log("ITF Error Found at Location %x" % (APID_267.ERRDATA & 0x3FF) ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[39]: startscript('gsecmderr') ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[66]: RBSPBios.SetCCSDSErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[67]: RBSPBios.SetITFErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[40]: cmd.EFW_CLEAR() ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[41]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[43]: log('1.4 Injecting ITF Error in Sync[3] ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[44]: cmd.EFW_CLEAR() #Clear Errors ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[45]: startscript('gsecmderr', 'itf', 3, 0xff) # Set byte 3 (Sync) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[57]: byte_location = my_byte_location ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[59]: byte_value = my_byte_value ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[69]: elif(err_type.lower() == 'ccsds'): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[73]: elif(err_type.lower() == 'itf'): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[75]: RBSPBios.SetITFErrorInjectionHandler(itf_handler) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[46]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[47]: log("ITF Error Found at Location %x" % (APID_267.ERRDATA & 0x3FF) ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[48]: startscript('gsecmderr') ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[66]: RBSPBios.SetCCSDSErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[67]: RBSPBios.SetITFErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[49]: cmd.EFW_CLEAR() ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[50]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[52]: log('1.5 Injecting ITF Error in Length1 ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[53]: cmd.EFW_CLEAR() #Clear Errors ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[54]: startscript('gsecmderr', 'itf', 4, 0xff) # Set byte 4 (Length) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[57]: byte_location = my_byte_location ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[59]: byte_value = my_byte_value ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[69]: elif(err_type.lower() == 'ccsds'): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[73]: elif(err_type.lower() == 'itf'): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[75]: RBSPBios.SetITFErrorInjectionHandler(itf_handler) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[55]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[56]: log("ITF Error Found at Location %x" % (APID_267.ERRDATA & 0x3FF) ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[57]: startscript('gsecmderr') ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[66]: RBSPBios.SetCCSDSErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[67]: RBSPBios.SetITFErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[58]: cmd.EFW_CLEAR() ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[59]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[61]: log('1.6 Injecting ITF Error in Length2 ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[62]: cmd.EFW_CLEAR() #Clear Errors ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[63]: startscript('gsecmderr', 'itf', 5, 0xff) # Set byte 5 (Length) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[57]: byte_location = my_byte_location ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[59]: byte_value = my_byte_value ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[69]: elif(err_type.lower() == 'ccsds'): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[73]: elif(err_type.lower() == 'itf'): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[75]: RBSPBios.SetITFErrorInjectionHandler(itf_handler) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[64]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[65]: log("ITF Error Found at Location %x" % (APID_267.ERRDATA & 0x3FF) ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[66]: startscript('gsecmderr') ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[66]: RBSPBios.SetCCSDSErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[67]: RBSPBios.SetITFErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[67]: cmd.EFW_CLEAR() ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[68]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[70]: log('1.7 Injecting ITF Error in Start1 ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[71]: cmd.EFW_CLEAR() #Clear Errors ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[72]: startscript('gsecmderr', 'itf', 6, 0xff) # Set byte 6 (Length) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[57]: byte_location = my_byte_location ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[59]: byte_value = my_byte_value ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[69]: elif(err_type.lower() == 'ccsds'): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[73]: elif(err_type.lower() == 'itf'): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[75]: RBSPBios.SetITFErrorInjectionHandler(itf_handler) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[73]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[74]: log("ITF Error Found at Location %x" % (APID_267.ERRDATA & 0x3FF) ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[75]: startscript('gsecmderr') ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[66]: RBSPBios.SetCCSDSErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[67]: RBSPBios.SetITFErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[76]: cmd.EFW_CLEAR() ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[77]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[79]: log('1.8 Injecting ITF Error in Start2 ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[80]: cmd.EFW_CLEAR() #Clear Errors ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[81]: startscript('gsecmderr', 'itf', 7, 0xff) # Set byte 7 (Length) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[57]: byte_location = my_byte_location ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[59]: byte_value = my_byte_value ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[69]: elif(err_type.lower() == 'ccsds'): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[73]: elif(err_type.lower() == 'itf'): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[75]: RBSPBios.SetITFErrorInjectionHandler(itf_handler) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[82]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[19]: wait(APID_267, lambda: APID_267.ERRCODE==0xC2, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[83]: log("ITF Error Found at Location %x" % (APID_267.ERRDATA & 0x3FF) ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[84]: startscript('gsecmderr') ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[66]: RBSPBios.SetCCSDSErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[67]: RBSPBios.SetITFErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[85]: cmd.EFW_CLEAR() ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[86]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[23]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[151]: pkt_test() #Packet error detection test ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[89]: log('2.1 Injecting Packet Error at 0 ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[90]: cmd.EFW_CLEAR() #Clear Errors ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[91]: startscript('gsecmderr', 'ccsds', 0, 0xff) # Set byte 0 (hdr) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[57]: byte_location = my_byte_location ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[59]: byte_value = my_byte_value ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[69]: elif(err_type.lower() == 'ccsds'): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[71]: RBSPBios.SetCCSDSErrorInjectionHandler(ccsds_handler) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[92]: wait(APID_267, lambda: APID_267.ERRCODE==0xC3, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[92]: wait(APID_267, lambda: APID_267.ERRCODE==0xC3, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[92]: wait(APID_267, lambda: APID_267.ERRCODE==0xC3, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[92]: wait(APID_267, lambda: APID_267.ERRCODE==0xC3, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[92]: wait(APID_267, lambda: APID_267.ERRCODE==0xC3, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[92]: wait(APID_267, lambda: APID_267.ERRCODE==0xC3, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[93]: log("Header Error Found at Location %x" % (APID_267.ERRDATA & 0x3FF) ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[94]: startscript('gsecmderr') ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[66]: RBSPBios.SetCCSDSErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[67]: RBSPBios.SetITFErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[95]: cmd.EFW_CLEAR() ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[96]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[96]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[96]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[96]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[96]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[96]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[98]: log('2.2 Injecting Packet Error at 1 ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[99]: cmd.EFW_CLEAR() #Clear Errors ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[100]: startscript('gsecmderr', 'ccsds', 1, 0xff) # Set byte 1 (APID) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[57]: byte_location = my_byte_location ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[59]: byte_value = my_byte_value ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[69]: elif(err_type.lower() == 'ccsds'): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[71]: RBSPBios.SetCCSDSErrorInjectionHandler(ccsds_handler) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[101]: wait(APID_267, lambda: APID_267.ERRCODE==0xC4, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[101]: wait(APID_267, lambda: APID_267.ERRCODE==0xC4, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[101]: wait(APID_267, lambda: APID_267.ERRCODE==0xC4, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[101]: wait(APID_267, lambda: APID_267.ERRCODE==0xC4, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[101]: wait(APID_267, lambda: APID_267.ERRCODE==0xC4, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[101]: wait(APID_267, lambda: APID_267.ERRCODE==0xC4, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[102]: log("APID Value Error Found = %x" % (APID_267.ERRDATA & 0x3FF) ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[103]: startscript('gsecmderr') ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[66]: RBSPBios.SetCCSDSErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[67]: RBSPBios.SetITFErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[104]: cmd.EFW_CLEAR() ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[105]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[96]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[96]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[96]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[96]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[96]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[106]: startscript('gsecmderr') # Set byte 0 (Sync) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[66]: RBSPBios.SetCCSDSErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[67]: RBSPBios.SetITFErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[108]: log('2.3 Injecting Packet Error at 2 ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[109]: cmd.EFW_CLEAR() #Clear Errors ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[110]: startscript('gsecmderr', 'ccsds', 2, 0x00) # Set byte 2 (Seq=3) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[57]: byte_location = my_byte_location ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[59]: byte_value = my_byte_value ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[69]: elif(err_type.lower() == 'ccsds'): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[71]: RBSPBios.SetCCSDSErrorInjectionHandler(ccsds_handler) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[111]: wait(APID_267, lambda: APID_267.ERRCODE==0xC3, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[92]: wait(APID_267, lambda: APID_267.ERRCODE==0xC3, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[92]: wait(APID_267, lambda: APID_267.ERRCODE==0xC3, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[92]: wait(APID_267, lambda: APID_267.ERRCODE==0xC3, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[92]: wait(APID_267, lambda: APID_267.ERRCODE==0xC3, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[92]: wait(APID_267, lambda: APID_267.ERRCODE==0xC3, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[112]: log("Header Error Found at Location %x" % (APID_267.ERRDATA & 0x3FF) ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[113]: startscript('gsecmderr') ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[66]: RBSPBios.SetCCSDSErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[67]: RBSPBios.SetITFErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[114]: cmd.EFW_CLEAR() ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[115]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[96]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[96]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[96]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[96]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[96]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[116]: startscript('gsecmderr') # Set byte 0 (Sync) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[66]: RBSPBios.SetCCSDSErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[67]: RBSPBios.SetITFErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[118]: log('2.4 Injecting Packet Error at 4 ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[119]: cmd.EFW_CLEAR() #Clear Errors ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[120]: startscript('gsecmderr', 'ccsds', 4, 0xff) # Set byte 4 (Length!=0) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[57]: byte_location = my_byte_location ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[59]: byte_value = my_byte_value ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[69]: elif(err_type.lower() == 'ccsds'): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[71]: RBSPBios.SetCCSDSErrorInjectionHandler(ccsds_handler) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[121]: wait(APID_267, lambda: APID_267.ERRCODE==0xC3, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[92]: wait(APID_267, lambda: APID_267.ERRCODE==0xC3, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[92]: wait(APID_267, lambda: APID_267.ERRCODE==0xC3, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[92]: wait(APID_267, lambda: APID_267.ERRCODE==0xC3, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[92]: wait(APID_267, lambda: APID_267.ERRCODE==0xC3, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[92]: wait(APID_267, lambda: APID_267.ERRCODE==0xC3, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[122]: log("Header Error Found at Location %x" % (APID_267.ERRDATA & 0x3FF) ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[123]: startscript('gsecmderr') ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[66]: RBSPBios.SetCCSDSErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[67]: RBSPBios.SetITFErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[124]: cmd.EFW_CLEAR() ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[125]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[96]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[96]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[96]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[96]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[96]: wait(APID_267, lambda: APID_267.ERRCODE==0x00, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[126]: startscript('gsecmderr') # Set byte 0 (Sync) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[23]: """ ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[25]: from efw import * # for log ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[26]: import RBSPBios # Required to allow setting the error-injecting ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[34]: byte_location = 0 ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[35]: byte_value = 0xff ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[37]: def ccsds_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[42]: def itf_handler(data): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[47]: def main(err_type=None, my_byte_location=None, my_byte_value=None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[56]: if(my_byte_location != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[58]: if(my_byte_value != None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[64]: if(err_type == None): ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[66]: RBSPBios.SetCCSDSErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\gsecmderr.py[67]: RBSPBios.SetITFErrorInjectionHandler(None) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[152]: cmd_test() #Command error detection test ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[129]: log('3.1 Test Command Code Error ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[130]: cmd.EFW_CMDERR() ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[131]: wait(APID_267, lambda: APID_267.ERRCODE==0xC1, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[131]: wait(APID_267, lambda: APID_267.ERRCODE==0xC1, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[131]: wait(APID_267, lambda: APID_267.ERRCODE==0xC1, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[131]: wait(APID_267, lambda: APID_267.ERRCODE==0xC1, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[131]: wait(APID_267, lambda: APID_267.ERRCODE==0xC1, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[131]: wait(APID_267, lambda: APID_267.ERRCODE==0xC1, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[132]: log('3.1 Command Error Found : PASS ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[133]: cmd.EFW_CLEAR() #Clear Errors ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[154]: log('Spacecraft T&S OK. Result = PASS ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[155]: log('================END====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_4.py[156]: return(0)