diff options
author | bnewbold <bnewbold@fiji.(none)> | 2010-06-10 13:32:29 -0400 |
---|---|---|
committer | bnewbold <bnewbold@fiji.(none)> | 2010-06-10 13:32:29 -0400 |
commit | 57662f99c49ae5eb58ff5cba58f7f90812a721f5 (patch) | |
tree | 3dcc2a403634ae6ba7bd710c4ffc3f3d9fa2b9d9 /support/scripts | |
parent | d349b13258e71d17a4497605348edeee5212a5d7 (diff) | |
download | librambutan-57662f99c49ae5eb58ff5cba58f7f90812a721f5.tar.gz librambutan-57662f99c49ae5eb58ff5cba58f7f90812a721f5.zip |
osx reset script changes
Diffstat (limited to 'support/scripts')
-rwxr-xr-x | support/scripts/reset.py | 5 |
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) |