diff options
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) |