X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=client%2FGoodFET.py;h=11ca61646a36d30f84f93e585a8c176a92d87cc9;hp=1ee0ed9880f9a5f3b45c18f906cefea97bd9d0d4;hb=a8b686459e73c8a37df4537083a675fc21de4699;hpb=165be2e37f8ea460b4654cc0e16e6d8a51da22f4 diff --git a/client/GoodFET.py b/client/GoodFET.py index 1ee0ed9..11ca616 100755 --- a/client/GoodFET.py +++ b/client/GoodFET.py @@ -195,17 +195,17 @@ class GoodFET: #print "'%s'!=\n'%s'" % (self.data,"http://goodfet.sf.net/"); if attemptlimit is not None and attempts >= attemptlimit: return - elif attempts==2: + elif attempts==2 and os.environ.get("board")!='telosb': print "See the GoodFET FAQ about missing info flash."; self.serialport.setTimeout(0.2); #self.serialport.flushInput() #self.serialport.flushOutput() #TelosB reset, prefer software to I2C SPST Switch. - if (os.environ.get("platform")=='telosb' or os.environ.get("board")=='telosb'): + if (os.environ.get("board")=='telosb'): #print "TelosB Reset"; self.telosBReset(); - elif (os.environ.get("board")=='zolertiaz1' or os.environ.get("board")=='z1'): + elif (os.environ.get("board")=='z1'): self.bslResetZ1(invokeBSL=0); elif (os.environ.get("board")=='apimote1') or (os.environ.get("board")=='apimote'): #Explicitly set RTS and DTR to halt board.