Skip to content

Improve artemis_svl error reporting. #67

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 2 commits into from
Sep 26, 2019
Merged
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
6 changes: 5 additions & 1 deletion tools/artemis/artemis_svl.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import sys
import time
import math
import os.path
from sys import exit

# ***********************************************************************************
Expand Down Expand Up @@ -316,6 +317,9 @@ def main():
num_tries = 3

print('\n\nArtemis SVL Bootloader')
if not os.path.exists(args.binfile):
print("Bin file {} does not exits.".format(args.binfile))
exit()

for _ in range(num_tries):

Expand All @@ -331,7 +335,7 @@ def main():
if( bl_failed == False ):
break

except:
except serial.SerialException:
phase_serial_port_help()

exit()
Expand Down