Trace collected at: 2010-10-13 11:45:13.358000 ---------------------------------------------------------------------- ../../GSEOS_scripts/FSW_scripts\TEST_BKG.py[12]: set_output_location('BKG_Module_') ../../GSEOS_scripts/FSW_scripts\TEST_BKG.py[13]: errcnt=0 ../../GSEOS_scripts/FSW_scripts\TEST_BKG.py[14]: errcnt += tryscript("TEST_BKG_1") ../../GSEOS_scripts\util.py[210]: try: ../../GSEOS_scripts\util.py[211]: pf = startscript( script ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[7]: """ ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[9]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[10]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[11]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[14]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[7]: """ ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[9]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[10]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[11]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[14]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[15]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[16]: log('BKG_1 - VERIFY BASIC TIMING ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[17]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[18]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[20]: log('1. Increasing TM Rate, Clear Start ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[21]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[22]: SET_TESTVALUE0( 0 ) ../../GSEOS_scripts\util.py[112]: POKE( 0XDDF9, byte ) ../../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_BKG_1.py[23]: SET_TESTVALUE1( 0 ) ../../GSEOS_scripts\util.py[115]: POKE( 0XDDFa, byte ) ../../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_BKG_1.py[24]: wait(APID_267, lambda: APID_267.TESTVALUE == 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[24]: wait(APID_267, lambda: APID_267.TESTVALUE == 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[24]: wait(APID_267, lambda: APID_267.TESTVALUE == 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[27]: log('2. Verifying BKG ISR Duration ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[28]: POKE( 0x112, 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_BKG_1.py[29]: sleep(8) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[30]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[30]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[31]: intnum = APID_267.TESTVALUE / 256 ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[32]: inttime= APID_267.TESTVALUE & 255 ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[33]: fmsec = (1000.0/65536.0) * inttime ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[34]: log('Maximum Interrupt Service Time is %2.3f msec' % fmsec) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[35]: log('Percent of Interrupt at 256 Hz is %2.3f percent' % (fmsec*100.0/3.90625) ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[36]: log('Maximum Interrupt Service Routine= %x hex' %intnum) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[37]: log('Requirement for ISR Duration < 2 msec : %s' % PF[fmsec < 2.0] ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[39]: log('3.0 Removing Vectors ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[40]: POKE( 0x112, 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_BKG_1.py[42]: log('================END=====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[43]: return(0) ../../GSEOS_scripts\util.py[214]: return(pf) ../../GSEOS_scripts/FSW_scripts\TEST_BKG.py[15]: errcnt += tryscript("TEST_BKG_2") ../../GSEOS_scripts\util.py[210]: try: ../../GSEOS_scripts\util.py[211]: pf = startscript( script ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[7]: """ ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[9]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[10]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[11]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[13]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[7]: """ ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[9]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[10]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[11]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[13]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[14]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[15]: log('BKG_2 - VERIFY WATCHDOG FREQUENCY at 1Hz', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[16]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[17]: log('1. Increasing TM Rate, Clearing TestValue', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[18]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[19]: SET_TESTVALUE0( 0 ) #Clear the Test Value ../../GSEOS_scripts\util.py[112]: POKE( 0XDDF9, byte ) ../../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_BKG_2.py[20]: SET_TESTVALUE1( 0 ) ../../GSEOS_scripts\util.py[115]: POKE( 0XDDFa, byte ) ../../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_BKG_2.py[22]: log('2. Installing Rate Monitor for Watchdog ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[23]: POKE( 0x00F0, 0xF7 ) #BKG[00f0] = RST 6 ../../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_BKG_2.py[24]: sleep(5) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[26]: log('3. Measuring Rate of Counting ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[27]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[27]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[27]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[27]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[27]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[27]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[27]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[27]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[27]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[27]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[27]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts\util.py[212]: except: ../../GSEOS_scripts\util.py[213]: return(1) ../../GSEOS_scripts/FSW_scripts\TEST_BKG.py[16]: errcnt += tryscript("TEST_BKG_3") ../../GSEOS_scripts\util.py[210]: try: ../../GSEOS_scripts\util.py[211]: pf = startscript( script ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[8]: """ ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[10]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[11]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[12]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[14]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[8]: """ ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[10]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[11]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[12]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[14]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[15]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[16]: log('BKG_3 - VERIFY MET OFFSET MEASUREMENT ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[17]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[18]: log('1. Initializing ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[19]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[20]: log('1.1 Disabling SRAM Protection/Checksums ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[21]: cmd.EFW_DISARM(3) #SRAM scanner off ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[22]: cmd.EFW_SRMWRTCTL(0) #SRAM Protection off ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[23]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[25]: log('1.2 Loading TEST1PPS program ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[26]: efw.idpu_load("00007000", " aa 3e 00 21 09 70 c3 03 00 db 1b e6 01 21 1d 70 be c8 77 b7 c8 db 23 d3 18 32 f8 dd c9 00") ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[28]: log('1.3 Starting program ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[29]: cmd.EFW_CMDS(1) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[30]: cmd.EFW_EXEC(0x70) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[31]: wait(APID_263, lambda: APID_263.PROGENA0==1, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[31]: wait(APID_263, lambda: APID_263.PROGENA0==1, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[31]: wait(APID_263, lambda: APID_263.PROGENA0==1, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[31]: wait(APID_263, lambda: APID_263.PROGENA0==1, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[32]: sleep(5) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[34]: log('2.0 Comparing SC-IDPU 1PPS Time Measures', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[35]: wait(APID_267, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[35]: wait(APID_267, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[36]: fpga = APID_267.IO_DELTAMET / 65536.0 ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[37]: log(' FPGA Measurement = %5.3f seconds' % fpga, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[38]: tsw = (APID_267.IO_LEDS+0.5) / 256.0 ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[39]: log(' S/W Measurement = %5.3f seconds' % tsw, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[40]: diff=abs(fpga-tsw) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[41]: log(' Difference of %5.3f : %s' %(diff,PF[diff<.010]), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[44]: log('3.0 Cleaning up, Stopping Program', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[45]: cmd.EFW_STOPUSER(0) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[46]: wait(APID_263, lambda: APID_263.PROGENA0==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[46]: wait(APID_263, lambda: APID_263.PROGENA0==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[46]: wait(APID_263, lambda: APID_263.PROGENA0==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[46]: wait(APID_263, lambda: APID_263.PROGENA0==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[47]: log('3.1 ReArming SRAM Protections', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[48]: cmd.EFW_ARM(3) #Scanner on ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[49]: cmd.EFW_SRMWRTCTL(1) #SRAM Protection on ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[51]: log('================END=====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[52]: return(0) ../../GSEOS_scripts\util.py[214]: return(pf) ../../GSEOS_scripts/FSW_scripts\TEST_BKG.py[17]: errcnt += tryscript("TEST_BKG_4") ../../GSEOS_scripts\util.py[210]: try: ../../GSEOS_scripts\util.py[211]: pf = startscript( script ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[8]: """ ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[10]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[11]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[12]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[14]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[8]: """ ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[10]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[11]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[12]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[14]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[15]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[16]: log('BKG_4 - VERIFY BKG0 AND BKG1 VECTORS ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[17]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[19]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[21]: log('1.0 Start with TESTVALUE = 0, No Errors', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[22]: cmd.EFW_CLEAR() #Clear Errors ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[23]: SET_TESTVALUE0( 0 ) ../../GSEOS_scripts\util.py[112]: POKE( 0XDDF9, byte ) ../../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_BKG_4.py[24]: SET_TESTVALUE1( 0 ) ../../GSEOS_scripts\util.py[115]: POKE( 0XDDFa, byte ) ../../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_BKG_4.py[25]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[26]: wait(APID_267, lambda: APID_267.TESTVALUE==0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[26]: wait(APID_267, lambda: APID_267.TESTVALUE==0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[28]: log('1.1 Load Both BKG0 and BKG1 test routines', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[29]: efw.idpu_load("00007000", " aa 21 08 70 22 2d 90 c9 21 f9 dd 34 c9") ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[30]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[31]: efw.idpu_load("00007400", " aa 21 08 74 22 2f 90 c9 21 fa dd 34 c9") ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[32]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[34]: log('2.0 Start both routines', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[35]: cmd.EFW_CMDS(1) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[36]: cmd.EFW_EXEC(0x70) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[37]: cmd.EFW_CMDS(1) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[38]: cmd.EFW_EXEC(0x74) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[39]: sleep(8) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[41]: log('3.0 Measuring Frequencies', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[42]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[42]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[43]: count = APID_267.TESTVALUE ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[44]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[42]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[45]: delta = (APID_267.TESTVALUE - count) & 0xff ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[46]: log(" BKG0 Rate is %d Hz " %delta ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[47]: log(" : %s" %PF[delta==8] ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[49]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[42]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[50]: count = APID_267.TESTVALUE/256 ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[51]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[42]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[52]: delta = (APID_267.TESTVALUE/256 - count) & 0xff ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[53]: log(" BKG1 Rate is %d Hz " %delta) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[54]: log(" : %s" %PF[delta==32] ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[56]: log('4.0 Removing Vector Calls', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[57]: efw.idpu_load("0000902D", " 00 00 00 00") #Clear BKG0/BKG1 Vectors ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[60]: log('================END=====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[61]: return(0) ../../GSEOS_scripts\util.py[214]: return(pf) ../../GSEOS_scripts/FSW_scripts\TEST_BKG.py[18]: errcnt += tryscript("TEST_BKG_5") ../../GSEOS_scripts\util.py[210]: try: ../../GSEOS_scripts\util.py[211]: pf = startscript( script ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[18]: """ ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[20]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[21]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[22]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[24]: def getrate( inx ): ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[39]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[18]: """ ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[20]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[21]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[22]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[24]: def getrate( inx ): ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[39]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[40]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[41]: log('BKG_5 - VERIFY FREQ of CALLS ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[42]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[43]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[45]: log('1. Increasing TM Rate ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[46]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[48]: log('2.1 Verifying DFB128 at 128 Hz ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[49]: dfb128 = getrate( 0 ) #Get Rate for DFB16/HSK ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[25]: VP= (0x86, 0x8D, # DFB128, DFB16&PWR ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[29]: POKE( VP[inx], 0xF7 ) #BKG[addr] = RST 6 ../../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_BKG_5.py[30]: sleep(8) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[31]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[31]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[31]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[31]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[31]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[31]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[31]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[31]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[31]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[31]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[31]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts\util.py[212]: except: ../../GSEOS_scripts\util.py[213]: return(1) ../../GSEOS_scripts/FSW_scripts\TEST_BKG.py[19]: if( errcnt == 0 ): ../../GSEOS_scripts/FSW_scripts\TEST_BKG.py[22]: log('**** BKG Module FAIL %d Errors ****' % errcnt, color=RED, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG.py[23]: return( errcnt )