aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@fiji.(none)>2010-06-10 13:32:29 -0400
committerbnewbold <bnewbold@fiji.(none)>2010-06-10 13:32:29 -0400
commit57662f99c49ae5eb58ff5cba58f7f90812a721f5 (patch)
tree3dcc2a403634ae6ba7bd710c4ffc3f3d9fa2b9d9
parentd349b13258e71d17a4497605348edeee5212a5d7 (diff)
downloadlibrambutan-57662f99c49ae5eb58ff5cba58f7f90812a721f5.tar.gz
librambutan-57662f99c49ae5eb58ff5cba58f7f90812a721f5.zip
osx reset script changes
-rwxr-xr-xsupport/scripts/reset.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/support/scripts/reset.py b/support/scripts/reset.py
index a84d76a..cc944ee 100755
--- a/support/scripts/reset.py
+++ b/support/scripts/reset.py
@@ -1,10 +1,13 @@
#!/usr/bin/python
+# NOTE: On Mac OSX this script must be run as sudo?
+
import serial
import os
from struct import pack
+
try:
- ser = serial.Serial('/dev/maple', baudrate=115200)
+ ser = serial.Serial('/dev/maple', baudrate=115200, xonxoff=1)
ser.open()
# try to toggle DTR/RTS (old scheme)