From 57662f99c49ae5eb58ff5cba58f7f90812a721f5 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Thu, 10 Jun 2010 13:32:29 -0400 Subject: osx reset script changes --- support/scripts/reset.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3