Trace collected at: 2010-12-01 13:51:49.998000 ---------------------------------------------------------------------- ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[21]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[22]: log('CMD_10 : COMMAND EXEC at 32 Hz, < 4msec ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[23]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[24]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[26]: log('1. Increasing TM Rate, Clear Start ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[27]: cmd.EFW_TMPKTRATE( 0, 1 ) #Set APID 263 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[28]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[30]: log('1.1 Loading up Scripts to Run ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[31]: startscript("LOAD_SCR_0001") #Load Diag Script Set ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[5]: """ ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[7]: from efw import * ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[9]: def main(rate=None): ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[5]: """ ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[7]: from efw import * ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[9]: def main(rate=None): ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[10]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[11]: log('LOAD_SCR_0001 - Diagnostic Scripts ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[12]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[14]: cmd.EFW_CMDS( 3 ) ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[15]: idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[16]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[17]: idpu_load("00006080", " 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[18]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[19]: idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0e c1 ef c2 00 00") ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[33]: log('2.1 Starting LED Loop script ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[34]: cmd.EFW_SCRIPT( 0xEF ) #Should set the script# ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[35]: wait(APID_263, lambda: APID_263.SCRIPT==0xEF, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[35]: wait(APID_263, lambda: APID_263.SCRIPT==0xEF, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[37]: log('2.2 Measuring Command Execution Rate ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[38]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[38]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[39]: step = APID_263.SCRIPT_STEP ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[40]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[38]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[41]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[38]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[42]: dstep = (APID_263.SCRIPT_STEP - step) & 0xff ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[43]: log('Stepped %d : %s' % (dstep, PF[dstep>6]) ) #over 3 cmds/second ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[45]: log('2.3 Verifying ISR Duration (All) ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[46]: POKE( 0x111, 0xEF ) #BKG[addr] = RST 5 ../../GSEOS_scripts\util.py[102]: cmd.EFW_ADRH( (addr >> 8 )& 0xff ) ../../GSEOS_scripts\util.py[103]: cmd.EFW_ADRL( addr & 0xff ) ../../GSEOS_scripts\util.py[104]: cmd.EFW_LOAD( byte ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[47]: sleep(8) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[48]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[38]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[49]: intnum = APID_267.TESTVALUE / 256 ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[50]: inttime= APID_267.TESTVALUE & 255 ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[51]: fmsec = (1000.0/65536.0) * inttime ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[52]: log('Maximum Interrupt Service Time is %2.3f msec' % fmsec) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[53]: log('Percent of Interrupt at 256 Hz is %2.3f percent' % (fmsec*100.0/3.90625) ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[54]: log('Maximum Interrupt Service Routine= %x hex' %intnum) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[55]: log('Requirement for ISR Duration < 4 msec : %s' % PF[fmsec < 3.90625] ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[57]: log('3.0 Cleaning Up ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[58]: POKE( 0x111, 0 ) #BKG[addr] = NOP ../../GSEOS_scripts\util.py[102]: cmd.EFW_ADRH( (addr >> 8 )& 0xff ) ../../GSEOS_scripts\util.py[103]: cmd.EFW_ADRL( addr & 0xff ) ../../GSEOS_scripts\util.py[104]: cmd.EFW_LOAD( byte ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[59]: cmd.EFW_SCRIPT( 0 ) #Stop Script ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[60]: wait(APID_263, lambda: APID_263.SCRIPT==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[60]: wait(APID_263, lambda: APID_263.SCRIPT==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[60]: wait(APID_263, lambda: APID_263.SCRIPT==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[60]: wait(APID_263, lambda: APID_263.SCRIPT==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[60]: wait(APID_263, lambda: APID_263.SCRIPT==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[60]: wait(APID_263, lambda: APID_263.SCRIPT==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[61]: cmd.EFW_WRITELEDS(0) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[63]: log('CMD Rate/Duration. Result = PASS ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[64]: log('================END====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[65]: return(0) Trace collected at: 2010-12-01 13:56:33.890000 ---------------------------------------------------------------------- ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[21]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[22]: log('CMD_10 : COMMAND EXEC at 32 Hz, < 4msec ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[23]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[24]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[26]: log('1. Increasing TM Rate, Clear Start ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[27]: cmd.EFW_TMPKTRATE( 0, 1 ) #Set APID 263 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[28]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[30]: log('1.1 Loading up Scripts to Run ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[31]: startscript("LOAD_SCR_0001") #Load Diag Script Set ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[5]: """ ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[7]: from efw import * ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[9]: def main(rate=None): ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[5]: """ ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[7]: from efw import * ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[9]: def main(rate=None): ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[10]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[11]: log('LOAD_SCR_0001 - Diagnostic Scripts ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[12]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[14]: cmd.EFW_CMDS( 3 ) ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[15]: idpu_load("00006000", " e0 e1 00 00 00 00 00 00 00 00 00 00 00 00 ee ef 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00 a3 7f c1 01 e4 00 00 00 00 00 00 00 00 00 00 00 a3 7f c1 00 a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[16]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[17]: idpu_load("00006080", " 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[18]: sleep(1) ../../GSEOS_scripts/FSW_scripts\LOAD_SCR_0001.py[19]: idpu_load("00006100", " 1d c1 02 bb ee c2 00 00 00 00 00 00 00 00 00 00 01 ff 0f c1 03 ff 0f c1 06 ff 0f c1 0c ff 0f c1 18 ff 0f c1 30 ff 0f c1 60 ff 0f c1 c0 ff 0f c1 80 ff 0f c1 00 ff 0e c1 ef c2 00 00") ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[33]: log('2.1 Starting LED Loop script ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[34]: cmd.EFW_SCRIPT( 0xEF ) #Should set the script# ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[35]: wait(APID_263, lambda: APID_263.SCRIPT==0xEF, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[35]: wait(APID_263, lambda: APID_263.SCRIPT==0xEF, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[37]: log('2.2 Measuring Command Execution Rate ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[38]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[38]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[39]: step = APID_263.SCRIPT_STEP ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[40]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[38]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[41]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[38]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[42]: dstep = APID_263.SCRIPT_STEP - step ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[43]: if(dstep < 0): dstep += 20 #Number of steps in the script ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[44]: log('Stepped %d : %s' % (dstep, PF[dstep>6]) ) #over 3 cmds/second ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[46]: log('2.3 Verifying ISR Duration (All) ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[47]: POKE( 0x111, 0xEF ) #BKG[addr] = RST 5 ../../GSEOS_scripts\util.py[102]: cmd.EFW_ADRH( (addr >> 8 )& 0xff ) ../../GSEOS_scripts\util.py[103]: cmd.EFW_ADRL( addr & 0xff ) ../../GSEOS_scripts\util.py[104]: cmd.EFW_LOAD( byte ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[48]: sleep(8) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[49]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[38]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[50]: intnum = APID_267.TESTVALUE / 256 ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[51]: inttime= APID_267.TESTVALUE & 255 ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[52]: fmsec = (1000.0/65536.0) * inttime ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[53]: log('Maximum Interrupt Service Time is %2.3f msec' % fmsec) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[54]: log('Percent of Interrupt at 256 Hz is %2.3f percent' % (fmsec*100.0/3.90625) ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[55]: log('Maximum Interrupt Service Routine= %x hex' %intnum) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[56]: log('Requirement for ISR Duration < 4 msec : %s' % PF[fmsec < 3.90625] ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[58]: log('3.0 Cleaning Up ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[59]: POKE( 0x111, 0 ) #BKG[addr] = NOP ../../GSEOS_scripts\util.py[102]: cmd.EFW_ADRH( (addr >> 8 )& 0xff ) ../../GSEOS_scripts\util.py[103]: cmd.EFW_ADRL( addr & 0xff ) ../../GSEOS_scripts\util.py[104]: cmd.EFW_LOAD( byte ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[60]: cmd.EFW_SCRIPT( 0 ) #Stop Script ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[61]: wait(APID_263, lambda: APID_263.SCRIPT==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[61]: wait(APID_263, lambda: APID_263.SCRIPT==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[61]: wait(APID_263, lambda: APID_263.SCRIPT==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[61]: wait(APID_263, lambda: APID_263.SCRIPT==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[61]: wait(APID_263, lambda: APID_263.SCRIPT==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[61]: wait(APID_263, lambda: APID_263.SCRIPT==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[62]: cmd.EFW_WRITELEDS(0) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[64]: log('CMD Rate/Duration. Result = PASS ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[65]: log('================END====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_CMD_10.py[66]: return(0)