Trace collected at: 2010-10-13 13:03:03.670000 ---------------------------------------------------------------------- ../../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[5]: """ ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[7]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[8]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[9]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[12]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[5]: """ ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[7]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[8]: from util import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[9]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[12]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[13]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[14]: log('BKG_1 - VERIFY BASIC TIMING ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[15]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[16]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[18]: log('1. Increasing TM Rate, Clear Start ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[19]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[20]: cmd.EFW_DISARM(3) #Disarm SRAM scanning ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[21]: 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[22]: 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[23]: wait(APID_267, lambda: APID_267.TESTVALUE == 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[23]: wait(APID_267, lambda: APID_267.TESTVALUE == 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[23]: wait(APID_267, lambda: APID_267.TESTVALUE == 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[23]: wait(APID_267, lambda: APID_267.TESTVALUE == 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[23]: wait(APID_267, lambda: APID_267.TESTVALUE == 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[23]: wait(APID_267, lambda: APID_267.TESTVALUE == 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[25]: log('2. Verifying BKG ISR Duration @BKG[111]', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[26]: cmd.EFW_SRMWRTCTL(0) # Allow SRAM writes ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[27]: 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_BKG_1.py[28]: sleep(8) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[29]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[29]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[30]: intnum = APID_267.TESTVALUE / 256 ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[31]: inttime= APID_267.TESTVALUE & 255 ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[32]: fmsec = (1000.0/65536.0) * inttime ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[33]: log('Maximum Interrupt Service Time is %2.3f msec' % fmsec) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[34]: log('Percent of Interrupt at 256 Hz is %2.3f percent' % (fmsec*100.0/3.90625) ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[35]: log('Maximum Interrupt Service Routine= %x hex' %intnum) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[36]: log('Requirement for ISR Duration < 2 msec : %s' % PF[fmsec < 2.0] ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[38]: log('3.0 Restoring No Op at BKG[111] ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[39]: 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_BKG_1.py[40]: cmd.EFW_SRMWRTCTL(1) # Protect SRAM ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[41]: log('================END=====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_1.py[42]: 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[9]: """ ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[11]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[12]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[13]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[15]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[9]: """ ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[11]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[12]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[13]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[15]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[16]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[17]: log('BKG_2 - VERIFY WATCHDOG FREQUENCY at 1Hz', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[18]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[19]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[21]: log('1. Increasing TM Rate, Clearing TestValue', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[22]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[23]: cmd.EFW_DISARM(3) #Disarm SRAM scanning ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[24]: 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[25]: 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[27]: log('2. Installing Counter for Watchdog @BKG[F3]', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[28]: cmd.EFW_SRMWRTCTL(0) # Allow SRAM writes ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[29]: POKE( 0x00F3, 0xF7 ) #BKG[00f3] = 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[30]: sleep(8) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[32]: log('3. Measuring Rate of Counting ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[33]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[33]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[34]: count = APID_267.TESTVALUE ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[35]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[35]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[36]: delta = APID_267.TESTVALUE - count ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[38]: log('Watchdog Rate = %d Hz : %s' %(delta, PF[delta==1]) ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[40]: log('4. Restoring NOP at BKG[F3] ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[41]: POKE( 0x00F3, 0x00 ) #BKG[00f3] = 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_2.py[42]: cmd.EFW_SRMWRTCTL(1) # Protect SRAM ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[43]: cmd.EFW_CLEAR() ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[44]: log('================END=====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[45]: return(0) ../../GSEOS_scripts\UTIL.py[214]: return(pf) ../../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[21]: log('1.0 Start with TESTVALUE = 0, No Errors', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[22]: cmd.EFW_CLEAR() #Clear Errors ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.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_3.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_3.py[25]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[26]: wait(APID_267, lambda: APID_267.TESTVALUE==0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[26]: wait(APID_267, lambda: APID_267.TESTVALUE==0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[26]: wait(APID_267, lambda: APID_267.TESTVALUE==0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[26]: wait(APID_267, lambda: APID_267.TESTVALUE==0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[26]: wait(APID_267, lambda: APID_267.TESTVALUE==0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[26]: wait(APID_267, lambda: APID_267.TESTVALUE==0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[28]: log('1.1 Disabling SRAM Protection/Checksums ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[29]: cmd.EFW_DISARM(3) #SRAM scanner off ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[30]: cmd.EFW_SRMWRTCTL(0) #SRAM Protection off ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[31]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[33]: log('1.2 Loading TEST1PPS program ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[34]: 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[36]: log('1.3 Starting program ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[37]: cmd.EFW_CMDS(1) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[38]: cmd.EFW_EXEC(0x70) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[39]: wait(APID_263, lambda: APID_263.PROGENA0==1, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[39]: wait(APID_263, lambda: APID_263.PROGENA0==1, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[39]: wait(APID_263, lambda: APID_263.PROGENA0==1, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[39]: wait(APID_263, lambda: APID_263.PROGENA0==1, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[40]: sleep(5) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[42]: log('2.0 Comparing SC-IDPU 1PPS Time Measures', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[43]: wait(APID_267, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[43]: wait(APID_267, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[44]: fpga = APID_267.IO_DELTAMET / 65536.0 ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[45]: log(' FPGA Measurement = %5.3f seconds' % fpga, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[46]: tsw = (APID_267.IO_LEDS+0.5) / 256.0 ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[47]: log(' S/W Measurement = %5.3f seconds' % tsw, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[48]: diff=abs(fpga-tsw) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[49]: log(' Difference of %5.3f : %s' %(diff,PF[diff<.010]), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[52]: log('3.0 Cleaning up, Stopping Program', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[53]: cmd.EFW_STOPUSER(0) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[54]: wait(APID_263, lambda: APID_263.PROGENA0==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[54]: wait(APID_263, lambda: APID_263.PROGENA0==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[54]: wait(APID_263, lambda: APID_263.PROGENA0==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[54]: wait(APID_263, lambda: APID_263.PROGENA0==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[55]: log('3.1 ReArming SRAM Protections', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[56]: cmd.EFW_ARM(3) #Scanner on ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[57]: cmd.EFW_SRMWRTCTL(1) #SRAM Protection on ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[59]: log('================END=====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_3.py[60]: 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[20]: """ ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[22]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[23]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[24]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[26]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[20]: """ ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[22]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[23]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[24]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[26]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[27]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[28]: log('BKG_4 - VERIFY BKG0 AND BKG1 VECTORS ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[29]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[31]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[33]: log('1.0 Start with TESTVALUE = 0, No Errors', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[34]: cmd.EFW_CLEAR() #Clear Errors ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[35]: 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[36]: 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[37]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[38]: wait(APID_267, lambda: APID_267.TESTVALUE==0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[38]: wait(APID_267, lambda: APID_267.TESTVALUE==0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[40]: log('1.1 Disabling SRAM Protection/Checksums ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[41]: cmd.EFW_DISARM(3) #SRAM scanner off ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[42]: cmd.EFW_SRMWRTCTL(0) #SRAM Protection off ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[43]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[45]: log('1.2 Load Both BKG0 and BKG1 test routines', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[46]: efw.idpu_load("00007000", " aa 21 08 70 22 2d 91 c9 21 f9 dd 34 c9") ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[47]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[48]: efw.idpu_load("00007400", " aa 21 08 74 22 2f 91 c9 21 fa dd 34 c9") ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[49]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[51]: log('2.0 Start both routines', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[52]: cmd.EFW_CMDS(1) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[53]: cmd.EFW_EXEC(0x70) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[54]: cmd.EFW_CMDS(1) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[55]: cmd.EFW_EXEC(0x74) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[56]: sleep(8) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[58]: log('3.0 Measuring Frequencies', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[59]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[59]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[60]: count = APID_267.TESTVALUE ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[61]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[59]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[62]: delta = (APID_267.TESTVALUE - count) & 0xff ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[63]: log(" BKG0 Rate is %d Hz " %delta ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[64]: log(" : %s" %PF[delta==8] ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[66]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[59]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[67]: count = APID_267.TESTVALUE/256 ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[68]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[59]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[69]: delta = (APID_267.TESTVALUE/256 - count) & 0xff ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[70]: log(" BKG1 Rate is %d Hz " %delta) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[71]: log(" : %s" %PF[delta==32] ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[73]: log('4.0 Removing Vectors @912D & 912F', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[74]: efw.idpu_load("0000912D", " 00 00 00 00") #Clear BKG0/BKG1 Vectors ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[77]: log('================END=====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_4.py[78]: 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[47]: cmd.EFW_DISARM(3) #Disarm SRAM scanning ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[48]: 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_5.py[49]: 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_5.py[50]: cmd.EFW_SRMWRTCTL(0) # Allow SRAM writes ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[53]: log('2.1 Verifying DFB128 at 128 Hz ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[54]: 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[32]: count = APID_267.TESTVALUE ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[33]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[33]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[34]: delta = (APID_267.TESTVALUE - count) & 0xff ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[35]: POKE( VP[inx], 0x00 ) #Reset to 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_5.py[36]: sleep(3) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[37]: return( delta ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[55]: log(" DFB128 Rate is %d Hz : %s" % (dfb128,PF[dfb128 == 128]) ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[57]: log('2.2 Verifying DFB16 & PWR at 16 Hz ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[58]: dfb16 = getrate( 1 ) #Get Rate for DFB16 ../../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[32]: count = APID_267.TESTVALUE ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[33]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[33]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[34]: delta = (APID_267.TESTVALUE - count) & 0xff ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[35]: POKE( VP[inx], 0x00 ) #Reset to 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_5.py[36]: sleep(3) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[37]: return( delta ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[59]: log(" DFB16 & PWR Rate is %d Hz: %s" % (dfb16,PF[dfb16 == 16]) ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[61]: log('2.3 Verifying ACS & BEB & DEP at 32 Hz ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[62]: acs = getrate( 2 ) #Get Rate for ACS/BEB/DEP ../../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[32]: count = APID_267.TESTVALUE ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[33]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[33]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[34]: delta = (APID_267.TESTVALUE - count) & 0xff ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[35]: POKE( VP[inx], 0x00 ) #Reset to 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_5.py[36]: sleep(3) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[37]: return( delta ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[63]: log(" ACS&BEB&DEP Rate is %d Hz: %s" % (acs,PF[acs == 32]) ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[65]: log('2.4 Verifying CMD at 32 Hz ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[66]: cmdisr = getrate( 3 ) #Get Rate for CMD ../../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[32]: count = APID_267.TESTVALUE ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[33]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[33]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[34]: delta = (APID_267.TESTVALUE - count) & 0xff ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[35]: POKE( VP[inx], 0x00 ) #Reset to 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_5.py[36]: sleep(3) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[37]: return( delta ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[67]: log(" CMD Rate is %d Hz: %s" % (cmdisr,PF[cmdisr == 32]) ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[69]: log('2.5 Verifying TM at 8 Hz ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[70]: tm = getrate( 4 ) #Get Rate for TM ../../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[32]: count = APID_267.TESTVALUE ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[33]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[33]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[34]: delta = (APID_267.TESTVALUE - count) & 0xff ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[35]: POKE( VP[inx], 0x00 ) #Reset to 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_5.py[36]: sleep(3) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[37]: return( delta ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[71]: log(" TM Rate is %d Hz: %s" % (tm,PF[tm == 8]) ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[73]: log('2.6 Verifying SSR at 16 Hz ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[74]: ssr = getrate( 5 ) #Get Rate for SSR ../../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[32]: count = APID_267.TESTVALUE ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[33]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[33]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[34]: delta = (APID_267.TESTVALUE - count) & 0xff ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[35]: POKE( VP[inx], 0x00 ) #Reset to 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_5.py[36]: sleep(3) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[37]: return( delta ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[75]: log(" SSR Rate is %d Hz: %s" % (ssr,PF[ssr == 16]) ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[77]: log('2.7 Verifying SCI at 4 Hz ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[78]: sci = getrate( 6 ) #Get Rate for SCI ../../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[32]: count = APID_267.TESTVALUE ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[33]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[33]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[34]: delta = (APID_267.TESTVALUE - count) & 0xff ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[35]: POKE( VP[inx], 0x00 ) #Reset to 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_5.py[36]: sleep(3) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[37]: return( delta ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[79]: log(" SCI Rate is %d Hz: %s" % (sci,PF[sci == 4]) ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[81]: log('2.8 Verifying EXEC 1Hz at 1Hz ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[82]: e1h = getrate( 7 ) #Get Rate for SCI ../../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[32]: count = APID_267.TESTVALUE ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[33]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[33]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[34]: delta = (APID_267.TESTVALUE - count) & 0xff ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[35]: POKE( VP[inx], 0x00 ) #Reset to 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_5.py[36]: sleep(3) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[37]: return( delta ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[83]: log(" 1Hz Rate is %d Hz: %s" % (e1h,PF[e1h == 1]) ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[85]: errcnt = 0 ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[86]: if(dfb128 !=128): errcnt+=1 ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[87]: if(dfb16 !=16): errcnt+=1 ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[88]: if(cmdisr !=32): errcnt+=1 ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[89]: if(acs !=32): errcnt+=1 ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[90]: if(tm !=8): errcnt+=1 ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[91]: if(ssr !=16): errcnt+=1 ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[92]: if(sci !=16): errcnt+=1 ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[93]: if(e1h !=16): errcnt+=1 ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[95]: cmd.EFW_SRMWRTCTL(1) # Protect SRAM ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[96]: cmd.EFW_CLEAR() ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[97]: log('BKG_5 - VERIFY FREQ of CALLS : %s '%PF[errcnt>0], color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[98]: log('================END=====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_5.py[99]: return(errcnt) ../../GSEOS_scripts\UTIL.py[214]: return(pf) ../../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 )