Trace collected at: 2010-12-03 14:05:33.957000 ---------------------------------------------------------------------- ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[12]: set_output_location('IO_Module_') ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[14]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[15]: log('******* IO MODULE TEST *********', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[16]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[18]: SET_RSTCTR( 0 ) #Clear Reset Counter ../../GSEOS_scripts\util.py[118]: POKE( 0xDDFF, 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_IO.py[19]: wait(APID_267, lambda: APID_267.RSTCTR==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[19]: wait(APID_267, lambda: APID_267.RSTCTR==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[20]: RESETCPU() ../../GSEOS_scripts\util.py[121]: cmd.EFW_RESET() ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[21]: wait(APID_267, lambda: APID_267.RSTCTR==1, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[21]: wait(APID_267, lambda: APID_267.RSTCTR==1, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[23]: SET_RSTCTR( 0 ) #Clear Reset Counter ../../GSEOS_scripts\util.py[118]: POKE( 0xDDFF, 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_IO.py[24]: cmd.EFW_CLEAR() ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[25]: wait(APID_267, lambda: APID_267.ERRCODE==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[25]: wait(APID_267, lambda: APID_267.ERRCODE==0, flTimeout=10) ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[26]: vers = APID_267.FSW_HIGH ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[27]: vers = vers + APID_267.FSW_LOW/100.0 ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[28]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[29]: log('******* FSW VERSION %5.2f *********'% vers, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[30]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[32]: errcnt=0 ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[33]: errcnt += tryscript("TEST_IO_1") ../../GSEOS_scripts\util.py[208]: try: ../../GSEOS_scripts\util.py[209]: pf = startscript( script ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[16]: """ ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[18]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[19]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[20]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[22]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[16]: """ ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[18]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[19]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[20]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[22]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[23]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[24]: log('IO_1 - TEST Default IO settings at Reset', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[25]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[26]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[27]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[29]: log('1.1 Resetting CPU', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[30]: SET_RSTCTR( 0 ) #Clear Reset Counter ../../GSEOS_scripts\util.py[118]: POKE( 0xDDFF, 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_IO_1.py[31]: wait(APID_267, lambda: APID_267.RSTCTR==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[31]: wait(APID_267, lambda: APID_267.RSTCTR==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[32]: RESETCPU() ../../GSEOS_scripts\util.py[121]: cmd.EFW_RESET() ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[33]: wait(APID_267, lambda: APID_267.RSTCTR==1, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[33]: wait(APID_267, lambda: APID_267.RSTCTR==1, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[33]: wait(APID_267, lambda: APID_267.RSTCTR==1, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[33]: wait(APID_267, lambda: APID_267.RSTCTR==1, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[33]: wait(APID_267, lambda: APID_267.RSTCTR==1, flTimeout=20) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[34]: SET_RSTCTR( 0 ) #Clear Reset Counter ../../GSEOS_scripts\util.py[118]: POKE( 0xDDFF, 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_IO_1.py[35]: cmd.EFW_CLEAR() #Clear errors that come up ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[36]: log('1.2 Resetting CPU Complete', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[38]: cmd.EFW_TMPKTRATE( 4, 1 ) #Restore APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[39]: log('2.1 Verifying IO_HSKPORT= FLASH ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[40]: wait(APID_267, lambda: APID_267.IO_HSKPORT==0xA0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[40]: wait(APID_267, lambda: APID_267.IO_HSKPORT==0xA0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[42]: log('2.2 Verifying FMAP=0,1,2...63 ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[43]: cmd.EFW_DUMPTABL( 11, 0 ) #Dump FMAP ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[44]: cmd.EFW_TMDUMPCTR(255) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[45]: sleep(5) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[46]: wait(APID_266, lambda: APID_266.Data[0]==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[46]: wait(APID_266, lambda: APID_266.Data[0]==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[47]: wait(APID_266, lambda: APID_266.Data[1]==1, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[47]: wait(APID_266, lambda: APID_266.Data[1]==1, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[48]: wait(APID_266, lambda: APID_266.Data[2]==2, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[48]: wait(APID_266, lambda: APID_266.Data[2]==2, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[49]: wait(APID_266, lambda: APID_266.Data[63]==63, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[49]: wait(APID_266, lambda: APID_266.Data[63]==63, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[51]: log('2.3.1 Verifying UID set ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[52]: DUMPADR( 0xDDF7 ) ../../GSEOS_scripts\util.py[65]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) ../../GSEOS_scripts\util.py[66]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) ../../GSEOS_scripts\util.py[67]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) ../../GSEOS_scripts\util.py[68]: cmd.EFW_DUMPADRL( addr & 0xff ) ../../GSEOS_scripts\util.py[69]: cmd.EFW_TMDUMPCTR(255) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[53]: wait(APID_266, lambda: APID_266.DUMPADR==0xDDF7, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[53]: wait(APID_266, lambda: APID_266.DUMPADR==0xDDF7, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[53]: wait(APID_266, lambda: APID_266.DUMPADR==0xDDF7, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[53]: wait(APID_266, lambda: APID_266.DUMPADR==0xDDF7, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[53]: wait(APID_266, lambda: APID_266.DUMPADR==0xDDF7, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[53]: wait(APID_266, lambda: APID_266.DUMPADR==0xDDF7, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[54]: wait(APID_266, lambda: APID_266.Data[0]&0x70>0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[54]: wait(APID_266, lambda: APID_266.Data[0]&0x70>0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[55]: unitid = (APID_266.Data[0]&0x70)/16 ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[56]: log('2.3.2 Unit ID is %2x' % unitid, color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[58]: log('2.4 Verifying EEPROM write disabled ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[59]: wait(APID_267, lambda: APID_267.IO_DCBCTL&4==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[59]: wait(APID_267, lambda: APID_267.IO_DCBCTL&4==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[62]: log('================END=====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_1.py[63]: return(0) ../../GSEOS_scripts\util.py[212]: return(pf) ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[34]: errcnt += tryscript("TEST_IO_2") ../../GSEOS_scripts\util.py[208]: try: ../../GSEOS_scripts\util.py[209]: pf = startscript( script ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[14]: """ ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[16]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[17]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[18]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[20]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[14]: """ ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[16]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[17]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[18]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[20]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[21]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[22]: log('IO_2 - TEST Power Controls ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[23]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[24]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[25]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[27]: log('1.1 Test SDRAM Power Off/On ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[28]: cmd.EFW_HSKIOPORT(0x10) #Look at SDRAM port ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[29]: wait(APID_267, lambda: APID_267.IO_HSKPORT==0x10, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[29]: wait(APID_267, lambda: APID_267.IO_HSKPORT==0x10, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[29]: wait(APID_267, lambda: APID_267.IO_HSKPORT==0x10, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[29]: wait(APID_267, lambda: APID_267.IO_HSKPORT==0x10, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[29]: wait(APID_267, lambda: APID_267.IO_HSKPORT==0x10, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[29]: wait(APID_267, lambda: APID_267.IO_HSKPORT==0x10, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[30]: cmd.EFW_SDRPWRCTL(0) #Turn Off SDRAM ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[31]: wait(APID_267, lambda: APID_267.IO_HSKDTA&2==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[31]: wait(APID_267, lambda: APID_267.IO_HSKDTA&2==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[31]: wait(APID_267, lambda: APID_267.IO_HSKDTA&2==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[31]: wait(APID_267, lambda: APID_267.IO_HSKDTA&2==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[31]: wait(APID_267, lambda: APID_267.IO_HSKDTA&2==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[31]: wait(APID_267, lambda: APID_267.IO_HSKDTA&2==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[32]: cmd.EFW_SDRPWRCTL(1) #Turn Off SDRAM ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[33]: wait(APID_267, lambda: APID_267.IO_HSKDTA&2!=0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[33]: wait(APID_267, lambda: APID_267.IO_HSKDTA&2!=0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[33]: wait(APID_267, lambda: APID_267.IO_HSKDTA&2!=0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[33]: wait(APID_267, lambda: APID_267.IO_HSKDTA&2!=0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[33]: wait(APID_267, lambda: APID_267.IO_HSKDTA&2!=0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[33]: wait(APID_267, lambda: APID_267.IO_HSKDTA&2!=0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[34]: log('1.2 Verified SDRAM Power : PASS ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[36]: log('2.1 Test ADC Power is Off ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[37]: cmd.EFW_HSKIOPORT(0x26) #Look at ADC control ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[38]: wait(APID_267, lambda: APID_267.IO_HSKPORT==0x26, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[38]: wait(APID_267, lambda: APID_267.IO_HSKPORT==0x26, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[38]: wait(APID_267, lambda: APID_267.IO_HSKPORT==0x26, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[38]: wait(APID_267, lambda: APID_267.IO_HSKPORT==0x26, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[38]: wait(APID_267, lambda: APID_267.IO_HSKPORT==0x26, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[38]: wait(APID_267, lambda: APID_267.IO_HSKPORT==0x26, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[39]: wait(APID_267, lambda: APID_267.IO_HSKDTA&128==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[39]: wait(APID_267, lambda: APID_267.IO_HSKDTA&128==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[40]: log('2.2 Verified ADC Power Off : PASS ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[42]: log('3.1 Test FLASH Power Off ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[43]: cmd.EFW_HSKIOPORT(0xA0) #Look at FLASH port ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[44]: wait(APID_267, lambda: APID_267.IO_HSKPORT==0xA0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[44]: wait(APID_267, lambda: APID_267.IO_HSKPORT==0xA0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[44]: wait(APID_267, lambda: APID_267.IO_HSKPORT==0xA0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[44]: wait(APID_267, lambda: APID_267.IO_HSKPORT==0xA0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[44]: wait(APID_267, lambda: APID_267.IO_HSKPORT==0xA0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[44]: wait(APID_267, lambda: APID_267.IO_HSKPORT==0xA0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[45]: wait(APID_267, lambda: APID_267.IO_HSKDTA&8==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[45]: wait(APID_267, lambda: APID_267.IO_HSKDTA&8==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[46]: log('3.2 Verified FLASH Off : PASS ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[48]: log('================END=====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_2.py[49]: return(0) ../../GSEOS_scripts\util.py[212]: return(pf) ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[35]: errcnt += tryscript("TEST_IO_4") ../../GSEOS_scripts\util.py[208]: try: ../../GSEOS_scripts\util.py[209]: pf = startscript( script ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[8]: """ ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[10]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[11]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[12]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[14]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[8]: """ ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[10]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[11]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[12]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[14]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[15]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[16]: log('IO_4 - TEST EEPROM Write Enable Control ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[17]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[18]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[19]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[21]: log('1.1 Test EEPROM WE = On/Off ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[22]: cmd.EFW_EEPWRTCTL(1) #EEPROM WE=1 ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[23]: wait(APID_267, lambda: APID_267.IO_DCBCTL&4!=0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[23]: wait(APID_267, lambda: APID_267.IO_DCBCTL&4!=0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[23]: wait(APID_267, lambda: APID_267.IO_DCBCTL&4!=0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[23]: wait(APID_267, lambda: APID_267.IO_DCBCTL&4!=0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[23]: wait(APID_267, lambda: APID_267.IO_DCBCTL&4!=0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[23]: wait(APID_267, lambda: APID_267.IO_DCBCTL&4!=0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[24]: cmd.EFW_EEPWRTCTL(0) #EEPROM WE=0 ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[25]: wait(APID_267, lambda: APID_267.IO_DCBCTL&4==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[25]: wait(APID_267, lambda: APID_267.IO_DCBCTL&4==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[25]: wait(APID_267, lambda: APID_267.IO_DCBCTL&4==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[25]: wait(APID_267, lambda: APID_267.IO_DCBCTL&4==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[25]: wait(APID_267, lambda: APID_267.IO_DCBCTL&4==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[25]: wait(APID_267, lambda: APID_267.IO_DCBCTL&4==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[26]: log('1.2 Verified EEPROM WE = On/Off : PASS ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[29]: log('================END=====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_4.py[30]: return(0) ../../GSEOS_scripts\util.py[212]: return(pf) ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[36]: errcnt += tryscript("TEST_IO_5") ../../GSEOS_scripts\util.py[208]: try: ../../GSEOS_scripts\util.py[209]: pf = startscript( script ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[20]: """ ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[22]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[23]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[24]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[26]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[20]: """ ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[22]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[23]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[24]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[26]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[27]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[28]: log('IO_5 - TEST SDRAM ECC/DMA Control ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[29]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[30]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[31]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[33]: log('1.1 Test SDRAM ECC Control ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[34]: cmd.EFW_SDRECCCTL(0,0,1) #Rate=0, T=0, Enabled ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[35]: wait(APID_267, lambda: (APID_267.IO_ECCCTRL&15)==1, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[35]: wait(APID_267, lambda: (APID_267.IO_ECCCTRL&15)==1, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[36]: cmd.EFW_SDRECCCTL(1,0,1) #Rate=1, T=0, Enabled ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[37]: wait(APID_267, lambda: (APID_267.IO_ECCCTRL&15)==5, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[37]: wait(APID_267, lambda: (APID_267.IO_ECCCTRL&15)==5, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[37]: wait(APID_267, lambda: (APID_267.IO_ECCCTRL&15)==5, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[37]: wait(APID_267, lambda: (APID_267.IO_ECCCTRL&15)==5, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[37]: wait(APID_267, lambda: (APID_267.IO_ECCCTRL&15)==5, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[37]: wait(APID_267, lambda: (APID_267.IO_ECCCTRL&15)==5, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[38]: cmd.EFW_SDRECCCTL(2,0,1) #Rate=2, T=0, Enabled ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[39]: wait(APID_267, lambda: (APID_267.IO_ECCCTRL&15)==9, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[39]: wait(APID_267, lambda: (APID_267.IO_ECCCTRL&15)==9, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[39]: wait(APID_267, lambda: (APID_267.IO_ECCCTRL&15)==9, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[39]: wait(APID_267, lambda: (APID_267.IO_ECCCTRL&15)==9, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[39]: wait(APID_267, lambda: (APID_267.IO_ECCCTRL&15)==9, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[39]: wait(APID_267, lambda: (APID_267.IO_ECCCTRL&15)==9, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[40]: log('1.2 Verified SDRAM ECC Control : PASS ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[42]: log('2.1 Test SDRAM ECC Readback ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[43]: wait(APID_267, lambda: APID_267.IO_ECCADR2!=0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[43]: wait(APID_267, lambda: APID_267.IO_ECCADR2!=0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[44]: wait(APID_267, lambda: APID_267.IO_ECCSING==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[44]: wait(APID_267, lambda: APID_267.IO_ECCSING==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[45]: wait(APID_267, lambda: APID_267.IO_ECCMULT==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[45]: wait(APID_267, lambda: APID_267.IO_ECCMULT==0, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[46]: log('2.2 Verified SDRAM ECC Readback : PASS', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[48]: log('================END=====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_5.py[49]: return(0) ../../GSEOS_scripts\util.py[212]: return(pf) ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[37]: errcnt += tryscript("TEST_IO_8") ../../GSEOS_scripts\util.py[208]: try: ../../GSEOS_scripts\util.py[209]: pf = startscript( script ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[8]: """ ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[10]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[11]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[12]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[14]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[8]: """ ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[10]: from efw import * ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[11]: from UTIL import * ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[12]: from __main__ import * # required for access to APID_nnn telemetry blocks ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[14]: def main(): ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[15]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[16]: log('IO_8 - Demo Using PAGE Registers ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[17]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[18]: PF=("FAIL","PASS") ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[19]: cmd.EFW_TMPKTRATE( 4, 1 ) #Set APID 267 to 1Hz ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[21]: log('1.1 Test Loading/Dumping Upper SRAM ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[22]: DUMPADR( 0x13010 ) #Dump out Upper SRAM ../../GSEOS_scripts\util.py[65]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) ../../GSEOS_scripts\util.py[66]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) ../../GSEOS_scripts\util.py[67]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) ../../GSEOS_scripts\util.py[68]: cmd.EFW_DUMPADRL( addr & 0xff ) ../../GSEOS_scripts\util.py[69]: cmd.EFW_TMDUMPCTR(255) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[23]: efw.idpu_load("00013010", " AA") ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[24]: wait(APID_266, lambda: APID_266.Data[0]==0xAA, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[24]: wait(APID_266, lambda: APID_266.Data[0]==0xAA, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[24]: wait(APID_266, lambda: APID_266.Data[0]==0xAA, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[24]: wait(APID_266, lambda: APID_266.Data[0]==0xAA, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[24]: wait(APID_266, lambda: APID_266.Data[0]==0xAA, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[24]: wait(APID_266, lambda: APID_266.Data[0]==0xAA, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[25]: efw.idpu_load("00013010", " 55") ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[26]: wait(APID_266, lambda: APID_266.Data[0]==0x55, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[26]: wait(APID_266, lambda: APID_266.Data[0]==0x55, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[26]: wait(APID_266, lambda: APID_266.Data[0]==0x55, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[26]: wait(APID_266, lambda: APID_266.Data[0]==0x55, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[26]: wait(APID_266, lambda: APID_266.Data[0]==0x55, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[26]: wait(APID_266, lambda: APID_266.Data[0]==0x55, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[27]: log('1.2 Verified Loading/Dumping Upper SRAM ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[29]: log('2.1 Test Dumping SDRAM ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[30]: DUMPADR( 0x10000000 ) #Packet 0 header ../../GSEOS_scripts\util.py[65]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) ../../GSEOS_scripts\util.py[66]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) ../../GSEOS_scripts\util.py[67]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) ../../GSEOS_scripts\util.py[68]: cmd.EFW_DUMPADRL( addr & 0xff ) ../../GSEOS_scripts\util.py[69]: cmd.EFW_TMDUMPCTR(255) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[31]: wait(APID_266, lambda: APID_266.Data[0]==0x0A, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[31]: wait(APID_266, lambda: APID_266.Data[0]==0x0A, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[31]: wait(APID_266, lambda: APID_266.Data[0]==0x0A, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[31]: wait(APID_266, lambda: APID_266.Data[0]==0x0A, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[31]: wait(APID_266, lambda: APID_266.Data[0]==0x0A, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[31]: wait(APID_266, lambda: APID_266.Data[0]==0x0A, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[32]: log('2.2 Verified Dumping SDRAM ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[34]: log('3.1 Test Dumping EEPROM ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[35]: DUMPADR( 0x20000 ) #Dump out EEPROM ../../GSEOS_scripts\util.py[65]: cmd.EFW_DUMPADRX( (addr >> 24 )& 0xff ) ../../GSEOS_scripts\util.py[66]: cmd.EFW_DUMPADRE( (addr >> 16 )& 0xff ) ../../GSEOS_scripts\util.py[67]: cmd.EFW_DUMPADRH( (addr >> 8 )& 0xff ) ../../GSEOS_scripts\util.py[68]: cmd.EFW_DUMPADRL( addr & 0xff ) ../../GSEOS_scripts\util.py[69]: cmd.EFW_TMDUMPCTR(255) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[36]: wait(APID_266, lambda: APID_266.Data[0]==0x08, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[36]: wait(APID_266, lambda: APID_266.Data[0]==0x08, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[36]: wait(APID_266, lambda: APID_266.Data[0]==0x08, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[36]: wait(APID_266, lambda: APID_266.Data[0]==0x08, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[36]: wait(APID_266, lambda: APID_266.Data[0]==0x08, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[36]: wait(APID_266, lambda: APID_266.Data[0]==0x08, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[37]: wait(APID_266, lambda: APID_266.Data[1]==0x20, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[37]: wait(APID_266, lambda: APID_266.Data[1]==0x20, flTimeout=12) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[38]: log('3.2 Verified Dumping EEPROM ', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[40]: log('================END=====================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO_8.py[41]: return(0) ../../GSEOS_scripts\util.py[212]: return(pf) ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[39]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[40]: if( errcnt == 0 ): ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[41]: log('**** IO Module PASS ****' , color=GREEN, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[44]: log('========================================', color=BLUE, attr=BOLD ) ../../GSEOS_scripts/FSW_scripts\TEST_IO.py[45]: return( errcnt )