Skip to content

SVL Speed Boost #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tools/artemis/artemis_svl.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def main():
print('Connecting over serial port {}...'.format(args.port), flush=True)

# Set a timeout
global_timeout = 0.05 # tested as low as 0.03 on some machines - 50 ms works well, 30 ms works sometimes, this delay occurs between the USB-serial converter and when python can see it
global_timeout = float(args.globaltimeout) # tested as low as 0.03 on some machines - 50 ms works well, 30 ms works sometimes, this delay occurs between the USB-serial converter and when python can see it
verboseprint('Using Serial timeout: ' + str(global_timeout))

# Now open the port for bootloading
Expand Down Expand Up @@ -342,6 +342,8 @@ def main():
parser.add_argument("-t", "--tries", default=20, help="How many baud rate negotiation messages to send before failing",
type=int)

parser.add_argument("-g", "--globaltimeout", default=0.05, help="Timeout between baud rate negotiation messages, in seconds (default 0.05)")

if len(sys.argv) < 2:
print("No port selected. Detected Serial Ports:")
devices = list_ports.comports()
Expand Down
Binary file modified tools/artemis/linux/artemis_svl
Binary file not shown.
Binary file modified tools/artemis/macosx/artemis_svl
Binary file not shown.
Binary file modified tools/artemis/windows/artemis_svl.exe
Binary file not shown.