Skip to content
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