summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Sanders <nsanders@chromium.org>2016-10-27 19:29:49 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-11-01 19:18:40 -0700
commit75b1ec6d78c65348f379b9ead6be17a5e18c16b2 (patch)
tree50ad40082aaef0997054e672bb42b3eae56355eb
parent488afbd2cf4b65a0556419914859db9722289f19 (diff)
downloadchrome-ec-75b1ec6d78c65348f379b9ead6be17a5e18c16b2.tar.gz
usb_update: increase read timout for fw_update.py
sweetberry takes a bit longer to erase flash and seems to be timing out. This fix gets sweetberry to update reliably. BUG=chromium:608039 TEST=update sweetberry firmware BRANCH=None Change-Id: I9a0cbeae3b7ce0e4b87840fe8bf24bb2e10777e9 Reviewed-on: https://chromium-review.googlesource.com/404710 Commit-Ready: Nick Sanders <nsanders@chromium.org> Tested-by: Nick Sanders <nsanders@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
-rwxr-xr-xextra/usb_updater/fw_update.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/usb_updater/fw_update.py b/extra/usb_updater/fw_update.py
index a3fc4f0745..73393c8fb2 100755
--- a/extra/usb_updater/fw_update.py
+++ b/extra/usb_updater/fw_update.py
@@ -129,7 +129,7 @@ class Supdate(object):
return True
- def wr_command(self, write_list, read_count=1, wtimeout=100, rtimeout=1000):
+ def wr_command(self, write_list, read_count=1, wtimeout=100, rtimeout=2000):
"""Write command to logger logic..
This function writes byte command values list to stm, then reads