Skip to content
Open
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: 3 additions & 3 deletions tools/apollo3_scripts/uart_wired_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def connect_device(ser):
print("Length = ", hex(word >> 16))
print([hex(n) for n in response])
print("!!!Wired Upgrade Unsuccessful!!!....Terminating the script")
exit()
sys.exit()

#******************************************************************************
#
Expand Down Expand Up @@ -205,10 +205,10 @@ def send_ackd_command(command, ser):
break
else:
print("!!!Wired Upgrade Unsuccessful!!!....unexpected respose - Terminating the script")
exit()
sys.exit()
if (numTries == 4):
print("!!!Wired Upgrade Unsuccessful!!!....numTries exceeded - Terminating the script")
exit()
sys.exit()

return response

Expand Down