Trace collected at: 2010-12-10 09:22:32.461000 ---------------------------------------------------------------------- ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[131]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[132]: log('TEST_SSR_16 : SSR Compression Management ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[133]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[134]: log('1. Initializing ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[135]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[136]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[138]: log('1.1 Disabling Real Telemetry ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[139]: cmd.EFW_DFBDMA(VALUE=0) #Disable Real DFB Data ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[140]: sleep(5) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[142]: log('1.2 Normal Mode, Test Triggers ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[143]: cmd.EFW_SSR_CONFIG() #Clear Out old Data ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[144]: cmd.EFW_NORMAL() #Set up Normal Mode Enables ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[145]: cmd.EFW_SSR_OPTIONS( 0,0,0,0 ) #Disable B1/B2 record & play ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[146]: cmd.EFW_TABLE( 9, 0 ) #Load SSR Control Table ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[147]: cmd.EFW_LOAD( 7 ) #Burst1 Trigger = TEST1 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[148]: cmd.EFW_LOAD( 7 ) #Burst2 Trigger = TEST1 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[149]: cmd.EFW_LOAD( 8 ) #Burst2 N ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[150]: cmd.EFW_LOAD( 0x40 ) #Search Percent = 1/4th ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[151]: cmd.EFW_LOAD( 0x00 ) #BSIZE = 512 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[152]: cmd.EFW_LOAD( 0x02 ) # ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[153]: SET_TESTVALUE0( 0 ) #Clear TESTVALUE 0 & 1 ../../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_SSR_16.py[154]: 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_SSR_16.py[155]: log('1.3 Enabling E Telemetry (AP249) ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[156]: cmd.EFW_SSR_ROUTE(SEGMENT=3, APID=9) #Route 249 to B2 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[158]: log("1.4 Boosting Telemetry Limit to 60 kbps", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[159]: cmd.EFW_TMKBPS( 60 ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[160]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[162]: log('2.0 Verifying RealTime Compression ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[163]: test_rt_cmp( ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[43]: log('2.1 Loading the Packet Simulator ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[44]: apid=0x243 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[45]: xlng=load_simulator( apid ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[14]: cmd.EFW_DUMPTABL(TABLE=15, OFFSET=0) #Show Simulation Table ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[15]: cmd.EFW_TABLE(TABLE=15, OFFSET=2) #Simulate APID 246 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[16]: cmd.EFW_LOAD(VALUE=apid&0xff) #APID ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[17]: cmd.EFW_LOAD(VALUE=0xFF) #PSC first packet of 0000 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[18]: cmd.EFW_LOAD(VALUE=0xFF) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[20]: cmd.EFW_TABLE(TABLE=15, OFFSET=7) #Config Byte 0-1 start at 7000 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[21]: cmd.EFW_LOAD(VALUE=0x70) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[22]: cmd.EFW_LOAD(VALUE=0x00) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[23]: cmd.EFW_LOAD(VALUE=0x50) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[24]: cmd.EFW_LOAD(VALUE=0x07) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[25]: cmd.EFW_LOAD(VALUE=0x00) #Repeat Count 256 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[26]: cmd.EFW_LOAD(VALUE=0x0c) #Pattern Length 12 bytes ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[28]: cmd.EFW_LOAD(VALUE=0x10) #Pattern 0010, 0020, 0030 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[29]: cmd.EFW_LOAD(VALUE=0x00) #produces 8-bit deltas ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[30]: cmd.EFW_LOAD(VALUE=0x20) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[31]: cmd.EFW_LOAD(VALUE=0x00) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[32]: cmd.EFW_LOAD(VALUE=0x30) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[33]: cmd.EFW_LOAD(VALUE=0x00) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[34]: cmd.EFW_LOAD(VALUE=0x50) #Pattern 0050, 0060, 0070 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[35]: cmd.EFW_LOAD(VALUE=0x00) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[36]: cmd.EFW_LOAD(VALUE=0x60) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[37]: cmd.EFW_LOAD(VALUE=0x00) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[38]: cmd.EFW_LOAD(VALUE=0x70) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[39]: cmd.EFW_LOAD(VALUE=0x00) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[40]: return( 3088 ) #RAW Length of the packet ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[47]: log('2.2.1 Generating Uncompressed Packets ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[48]: cmd.EFW_DISARM(2) #Compression OFF ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[49]: for i in range(4): ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[50]: cmd.EFW_TMSIM(1) #Generate a packet ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[51]: sleep(1) #1/second max for RT ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[49]: for i in range(4): ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[50]: cmd.EFW_TMSIM(1) #Generate a packet ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[51]: sleep(1) #1/second max for RT ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[49]: for i in range(4): ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[50]: cmd.EFW_TMSIM(1) #Generate a packet ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[51]: sleep(1) #1/second max for RT ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[49]: for i in range(4): ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[50]: cmd.EFW_TMSIM(1) #Generate a packet ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[51]: sleep(1) #1/second max for RT ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[49]: for i in range(4): ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[52]: wait(APID_243, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[52]: wait(APID_243, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[54]: unc243=APID_243.CCSDS_PacketLen + 7 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[55]: log('2.2.2 Recd Packet Leng=%d [Expected %d]'% (unc243,xlng), color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[57]: log('2.3.1 Generating Compressed Packets ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[58]: cmd.EFW_ARM(2) #Compression Enabled ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[59]: for i in range(8): ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[60]: cmd.EFW_TMSIM(1) #Generate a packet ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[61]: sleep(1) #1/second max for RT ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[59]: for i in range(8): ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[60]: cmd.EFW_TMSIM(1) #Generate a packet ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[61]: sleep(1) #1/second max for RT ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[59]: for i in range(8): ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[60]: cmd.EFW_TMSIM(1) #Generate a packet ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[61]: sleep(1) #1/second max for RT ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[59]: for i in range(8): ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[60]: cmd.EFW_TMSIM(1) #Generate a packet ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[61]: sleep(1) #1/second max for RT ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[59]: for i in range(8): ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[60]: cmd.EFW_TMSIM(1) #Generate a packet ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[61]: sleep(1) #1/second max for RT ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[59]: for i in range(8): ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[60]: cmd.EFW_TMSIM(1) #Generate a packet ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[61]: sleep(1) #1/second max for RT ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[59]: for i in range(8): ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[60]: cmd.EFW_TMSIM(1) #Generate a packet ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[61]: sleep(1) #1/second max for RT ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[59]: for i in range(8): ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[60]: cmd.EFW_TMSIM(1) #Generate a packet ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[61]: sleep(1) #1/second max for RT ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[59]: for i in range(8): ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[63]: log('2.3.2 Awaiting Compressed Packets ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[64]: wait(APID_243, lambda: APID_243.CCSDS_Data[2]>=0x80, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[64]: wait(APID_243, lambda: APID_243.CCSDS_Data[2]>=0x80, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[65]: cmp243=APID_243.CCSDS_PacketLen + 7 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[66]: log('2.3.3 Packets Received w/ Length=%d bytes'% cmp243, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[67]: cratio=1.0*unc243/cmp243 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[68]: log('2.3.4 Compression Ratio =%4.2f'% cratio, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[165]: log('3.0 Verifying Burst1 Compression ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[166]: test_b1_cmp( ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[71]: log('3.1 Loading the Packet Simulator ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[72]: apid=0x246 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[73]: xlng=load_simulator( apid ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[14]: cmd.EFW_DUMPTABL(TABLE=15, OFFSET=0) #Show Simulation Table ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[15]: cmd.EFW_TABLE(TABLE=15, OFFSET=2) #Simulate APID 246 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[16]: cmd.EFW_LOAD(VALUE=apid&0xff) #APID ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[17]: cmd.EFW_LOAD(VALUE=0xFF) #PSC first packet of 0000 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[18]: cmd.EFW_LOAD(VALUE=0xFF) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[20]: cmd.EFW_TABLE(TABLE=15, OFFSET=7) #Config Byte 0-1 start at 7000 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[21]: cmd.EFW_LOAD(VALUE=0x70) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[22]: cmd.EFW_LOAD(VALUE=0x00) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[23]: cmd.EFW_LOAD(VALUE=0x50) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[24]: cmd.EFW_LOAD(VALUE=0x07) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[25]: cmd.EFW_LOAD(VALUE=0x00) #Repeat Count 256 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[26]: cmd.EFW_LOAD(VALUE=0x0c) #Pattern Length 12 bytes ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[28]: cmd.EFW_LOAD(VALUE=0x10) #Pattern 0010, 0020, 0030 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[29]: cmd.EFW_LOAD(VALUE=0x00) #produces 8-bit deltas ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[30]: cmd.EFW_LOAD(VALUE=0x20) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[31]: cmd.EFW_LOAD(VALUE=0x00) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[32]: cmd.EFW_LOAD(VALUE=0x30) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[33]: cmd.EFW_LOAD(VALUE=0x00) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[34]: cmd.EFW_LOAD(VALUE=0x50) #Pattern 0050, 0060, 0070 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[35]: cmd.EFW_LOAD(VALUE=0x00) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[36]: cmd.EFW_LOAD(VALUE=0x60) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[37]: cmd.EFW_LOAD(VALUE=0x00) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[38]: cmd.EFW_LOAD(VALUE=0x70) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[39]: cmd.EFW_LOAD(VALUE=0x00) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[40]: return( 3088 ) #RAW Length of the packet ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[74]: log("3.2 Checking Flash write pointer valid", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[75]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[75]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[76]: if(APID_263.B1_RECPTR == 0): ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[77]: startscript('SET_FLASHMOD') # Sets Flash Write Pointer ../../GSEOS_scripts\SET_FLASHMOD.py[3]: """ ../../GSEOS_scripts\SET_FLASHMOD.py[5]: from efw import * ../../GSEOS_scripts\SET_FLASHMOD.py[6]: import time ../../GSEOS_scripts\SET_FLASHMOD.py[8]: def set_flash_recptr(addr): ../../GSEOS_scripts\SET_FLASHMOD.py[17]: def module_to_addr(module): ../../GSEOS_scripts\SET_FLASHMOD.py[29]: def main(module=None): ../../GSEOS_scripts\SET_FLASHMOD.py[3]: """ ../../GSEOS_scripts\SET_FLASHMOD.py[5]: from efw import * ../../GSEOS_scripts\SET_FLASHMOD.py[6]: import time ../../GSEOS_scripts\SET_FLASHMOD.py[8]: def set_flash_recptr(addr): ../../GSEOS_scripts\SET_FLASHMOD.py[17]: def module_to_addr(module): ../../GSEOS_scripts\SET_FLASHMOD.py[29]: def main(module=None): ../../GSEOS_scripts\SET_FLASHMOD.py[35]: if(module == None): ../../GSEOS_scripts\SET_FLASHMOD.py[38]: days_since_1970 = int(time.time() / 86400) ../../GSEOS_scripts\SET_FLASHMOD.py[39]: module = days_since_1970 % 64 ../../GSEOS_scripts\SET_FLASHMOD.py[40]: log("Calculated %d days since 1970 corresponds to module %d" % (days_since_1970, module)) ../../GSEOS_scripts\SET_FLASHMOD.py[44]: addr = module_to_addr(module) ../../GSEOS_scripts\SET_FLASHMOD.py[18]: if(module != 0): ../../GSEOS_scripts\SET_FLASHMOD.py[20]: if(0 <= module <= 63): ../../GSEOS_scripts\SET_FLASHMOD.py[21]: addr = 4096 * module ../../GSEOS_scripts\SET_FLASHMOD.py[27]: return(addr) ../../GSEOS_scripts\SET_FLASHMOD.py[45]: log("Setting flash pointer to 0x%06x (module %d)" % (addr, module)) ../../GSEOS_scripts\SET_FLASHMOD.py[46]: set_flash_recptr(addr) ../../GSEOS_scripts\SET_FLASHMOD.py[10]: addrL = addr & 0xff ../../GSEOS_scripts\SET_FLASHMOD.py[11]: addrH = (addr >> 8) & 0xff ../../GSEOS_scripts\SET_FLASHMOD.py[12]: addrE = (addr >> 16) & 0xff ../../GSEOS_scripts\SET_FLASHMOD.py[13]: cmd.efw_b1_setrecptrl(addrL) ../../GSEOS_scripts\SET_FLASHMOD.py[14]: cmd.efw_b1_setrecptrh(addrH) ../../GSEOS_scripts\SET_FLASHMOD.py[15]: cmd.efw_b1_setrecptre(addrE) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[78]: wait(APID_263, lambda: True, flTimeout=10) # Get another packet ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[75]: wait(APID_263, lambda: True, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[79]: flash_wrt_start = APID_263.B1_RECPTR ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[81]: log("3.3 Enabling Burst1 recording", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[82]: cmd.EFW_SSR_ENABLE(OPTION=0) #Enable B1 Recording ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[84]: log("3.4 Generating Packets & Storing", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[85]: for i in range(16): #Generate 128-256 packets ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[86]: cmd.EFW_TMSIM(PKTS=16) #Should be > 2 blocks ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[87]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[85]: for i in range(16): #Generate 128-256 packets ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[86]: cmd.EFW_TMSIM(PKTS=16) #Should be > 2 blocks ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[87]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[85]: for i in range(16): #Generate 128-256 packets ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[86]: cmd.EFW_TMSIM(PKTS=16) #Should be > 2 blocks ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[87]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[85]: for i in range(16): #Generate 128-256 packets ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[86]: cmd.EFW_TMSIM(PKTS=16) #Should be > 2 blocks ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[87]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[85]: for i in range(16): #Generate 128-256 packets ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[86]: cmd.EFW_TMSIM(PKTS=16) #Should be > 2 blocks ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[87]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[85]: for i in range(16): #Generate 128-256 packets ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[86]: cmd.EFW_TMSIM(PKTS=16) #Should be > 2 blocks ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[87]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[85]: for i in range(16): #Generate 128-256 packets ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[86]: cmd.EFW_TMSIM(PKTS=16) #Should be > 2 blocks ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[87]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[85]: for i in range(16): #Generate 128-256 packets ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[86]: cmd.EFW_TMSIM(PKTS=16) #Should be > 2 blocks ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[87]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[85]: for i in range(16): #Generate 128-256 packets ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[86]: cmd.EFW_TMSIM(PKTS=16) #Should be > 2 blocks ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[87]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[85]: for i in range(16): #Generate 128-256 packets ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[86]: cmd.EFW_TMSIM(PKTS=16) #Should be > 2 blocks ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[87]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[85]: for i in range(16): #Generate 128-256 packets ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[86]: cmd.EFW_TMSIM(PKTS=16) #Should be > 2 blocks ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[87]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[85]: for i in range(16): #Generate 128-256 packets ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[86]: cmd.EFW_TMSIM(PKTS=16) #Should be > 2 blocks ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[87]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[85]: for i in range(16): #Generate 128-256 packets ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[86]: cmd.EFW_TMSIM(PKTS=16) #Should be > 2 blocks ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[87]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[85]: for i in range(16): #Generate 128-256 packets ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[86]: cmd.EFW_TMSIM(PKTS=16) #Should be > 2 blocks ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[87]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[85]: for i in range(16): #Generate 128-256 packets ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[86]: cmd.EFW_TMSIM(PKTS=16) #Should be > 2 blocks ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[87]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[85]: for i in range(16): #Generate 128-256 packets ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[86]: cmd.EFW_TMSIM(PKTS=16) #Should be > 2 blocks ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[87]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[85]: for i in range(16): #Generate 128-256 packets ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[88]: wait(APID_263, lambda: APID_263.B1_RECPTR > flash_wrt_start, flTimeout=40) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[88]: wait(APID_263, lambda: APID_263.B1_RECPTR > flash_wrt_start, flTimeout=40) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[90]: log("3.5 Playing Back ", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[91]: SET_B1PLAYBACK( flash_wrt_start, 1 ) #Play Burst1 block or two ../../GSEOS_scripts\UTIL.py[47]: cmd.EFW_B1_SETPLAYPTRL( block & 0xff ) ../../GSEOS_scripts\UTIL.py[48]: cmd.EFW_B1_SETPLAYPTRH((block >> 8 )& 0xff ) ../../GSEOS_scripts\UTIL.py[49]: cmd.EFW_B1_SETPLAYPTRE((block >> 16)& 0xff ) ../../GSEOS_scripts\UTIL.py[50]: cmd.EFW_B1_SETPLAYCTRL( leng & 0xff ) ../../GSEOS_scripts\UTIL.py[51]: cmd.EFW_B1_SETPLAYCTRH((leng >> 8 )& 0xff ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[92]: wait(APID_263, lambda: APID_263.B1_PLAYCTR > 0, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[92]: wait(APID_263, lambda: APID_263.B1_PLAYCTR > 0, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[92]: wait(APID_263, lambda: APID_263.B1_PLAYCTR > 0, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[92]: wait(APID_263, lambda: APID_263.B1_PLAYCTR > 0, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[93]: cmd.EFW_SSR_ENABLE(OPTION=1) #Enable B1 Playback ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[95]: log('3.6 Awaiting Compressed Packets ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[96]: wait(APID_246, lambda: APID_246.CCSDS_Data[2]>=0x80, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[96]: wait(APID_246, lambda: APID_246.CCSDS_Data[2]>=0x80, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[97]: cmp246=APID_246.CCSDS_PacketLen + 7 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[98]: log('3.7 Packets Received w/ Length=%d bytes'% cmp246, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[99]: cratio=1.0*xlng/cmp246 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[100]: log('3.8 Compression Ratio =%4.2f '% cratio, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[168]: log('4.0 Verifying Burst2 Compression ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[169]: test_b2_cmp( ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[103]: log('4.1 Loading the Packet Simulator ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[104]: apid=0x249 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[105]: xlng=load_simulator( apid ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[14]: cmd.EFW_DUMPTABL(TABLE=15, OFFSET=0) #Show Simulation Table ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[15]: cmd.EFW_TABLE(TABLE=15, OFFSET=2) #Simulate APID 246 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[16]: cmd.EFW_LOAD(VALUE=apid&0xff) #APID ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[17]: cmd.EFW_LOAD(VALUE=0xFF) #PSC first packet of 0000 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[18]: cmd.EFW_LOAD(VALUE=0xFF) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[20]: cmd.EFW_TABLE(TABLE=15, OFFSET=7) #Config Byte 0-1 start at 7000 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[21]: cmd.EFW_LOAD(VALUE=0x70) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[22]: cmd.EFW_LOAD(VALUE=0x00) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[23]: cmd.EFW_LOAD(VALUE=0x50) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[24]: cmd.EFW_LOAD(VALUE=0x07) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[25]: cmd.EFW_LOAD(VALUE=0x00) #Repeat Count 256 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[26]: cmd.EFW_LOAD(VALUE=0x0c) #Pattern Length 12 bytes ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[28]: cmd.EFW_LOAD(VALUE=0x10) #Pattern 0010, 0020, 0030 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[29]: cmd.EFW_LOAD(VALUE=0x00) #produces 8-bit deltas ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[30]: cmd.EFW_LOAD(VALUE=0x20) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[31]: cmd.EFW_LOAD(VALUE=0x00) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[32]: cmd.EFW_LOAD(VALUE=0x30) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[33]: cmd.EFW_LOAD(VALUE=0x00) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[34]: cmd.EFW_LOAD(VALUE=0x50) #Pattern 0050, 0060, 0070 ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[35]: cmd.EFW_LOAD(VALUE=0x00) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[36]: cmd.EFW_LOAD(VALUE=0x60) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[37]: cmd.EFW_LOAD(VALUE=0x00) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[38]: cmd.EFW_LOAD(VALUE=0x70) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[39]: cmd.EFW_LOAD(VALUE=0x00) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[40]: return( 3088 ) #RAW Length of the packet ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[107]: log("4.2 Enabling Burst2 recording", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[108]: cmd.EFW_B2_CONFIG() #Clean Out B2 Evals ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[109]: cmd.EFW_SSR_ENABLE(OPTION=2) #Enable B2 Recording ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[110]: SET_TESTVALUE1( 0x16 ) #Give the Trigger something ../../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_SSR_16.py[112]: log("4.3 Generating Packets & Storing", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[113]: while(APID_263.B2RECSTATE<3): #Fill the Search Area ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[116]: while(APID_263.B2RECSTATE==3): #Fill the Collect Area ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[117]: cmd.EFW_TMSIM(PKTS=32) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[118]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[116]: while(APID_263.B2RECSTATE==3): #Fill the Collect Area ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[117]: cmd.EFW_TMSIM(PKTS=32) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[118]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[116]: while(APID_263.B2RECSTATE==3): #Fill the Collect Area ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[117]: cmd.EFW_TMSIM(PKTS=32) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[118]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[116]: while(APID_263.B2RECSTATE==3): #Fill the Collect Area ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[117]: cmd.EFW_TMSIM(PKTS=32) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[118]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[116]: while(APID_263.B2RECSTATE==3): #Fill the Collect Area ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[117]: cmd.EFW_TMSIM(PKTS=32) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[118]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[116]: while(APID_263.B2RECSTATE==3): #Fill the Collect Area ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[117]: cmd.EFW_TMSIM(PKTS=32) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[118]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[116]: while(APID_263.B2RECSTATE==3): #Fill the Collect Area ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[117]: cmd.EFW_TMSIM(PKTS=32) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[118]: sleep(1) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[116]: while(APID_263.B2RECSTATE==3): #Fill the Collect Area ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[120]: log("4.4 Playing Back ", color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[121]: cmd.EFW_SSR_ENABLE(OPTION=3) #Enable B2 Playback ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[123]: log('4.5 Awaiting Compressed Packets ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_SSR_16.py[124]: wait(APID_249, lambda: APID_249.CCSDS_Data[2]>=0x80, flTimeout=20)