Explicit setRTS.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Mon, 2 Nov 2009 05:52:15 +0000 (05:52 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Mon, 2 Nov 2009 05:52:15 +0000 (05:52 +0000)
This might fix a bug that Mike Kershaw has observed in some
versions of the Linux kernel.

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@220 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

client/GoodFET.py

index 9fcbbab..cd9499e 100755 (executable)
@@ -36,6 +36,9 @@ class GoodFET:
             115200,
             parity = serial.PARITY_NONE
             )
             115200,
             parity = serial.PARITY_NONE
             )
+        
+        #Explicitly set RTS
+        self.serialport.setRTS(1);
         #Drop DTR, which is !RST, low to begin the app.
         self.serialport.setDTR(0);
         self.serialport.flushInput()
         #Drop DTR, which is !RST, low to begin the app.
         self.serialport.setDTR(0);
         self.serialport.flushInput()