X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=client%2FGoodFET.py;h=70e383e67bb2e57d14ddb0e32e793f82667df5e7;hp=cfc207961760353a84698826a9d314003f2840b9;hb=610bfc6b26a4c800e495d29b504df702b75b6a3b;hpb=ed0549956cb25b94cbd1951be718efc1dbfdf1c9 diff --git a/client/GoodFET.py b/client/GoodFET.py index cfc2079..70e383e 100755 --- a/client/GoodFET.py +++ b/client/GoodFET.py @@ -40,8 +40,12 @@ class GoodFET: parity = serial.PARITY_NONE ) - #Explicitly set RTS + #This might cause problems, but it makes failure graceful. + #self.serialport._timeout = 5; + + #Explicitly set RTS and DTR to halt board. self.serialport.setRTS(1); + self.serialport.setDTR(1); #Drop DTR, which is !RST, low to begin the app. self.serialport.setDTR(0); self.serialport.flushInput()