Trace collected at: 2010-10-13 12:27:22.233000 ---------------------------------------------------------------------- ../../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]: log('1. Increasing TM Rate, Clearing TestValue', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[20]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[21]: cmd.EFW_DISARM(3) #Disarm SRAM scanning ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[22]: 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[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_2.py[25]: log('2. Installing Counter for Watchdog @BKG[F3]', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[26]: cmd.EFW_SRMWRTCTL(0) # Allow SRAM writes ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[27]: 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[28]: sleep(8) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[30]: log('3. Measuring Rate of Counting ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[31]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[31]: wait(APID_267, lambda: APID_267.TESTVALUE != 0 , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[32]: count = APID_267.TESTVALUE ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[33]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[33]: wait(APID_267, lambda: True , flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[34]: delta = APID_267.TESTVALUE - count ../../GSEOS_scripts/FSW_scripts\TEST_BKG_2.py[36]: log('Watchdog Rate = %d Hz' %delta, end=':');pf(delta==1) Trace collected at: 2010-10-13 12:31:58.779000 ---------------------------------------------------------------------- ../../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)