diff options
author | Nick Sanders <nsanders@chromium.org> | 2016-10-27 19:29:49 -0700 |
---|---|---|
committer | Hung-Te Lin <hungte@chromium.org> | 2017-01-27 02:19:47 +0000 |
commit | dd1f0d94a008820643ea1d9adfc89bb3189c5618 (patch) | |
tree | 439b4a7c27a957ff259c9f5dd3b710590757991d | |
parent | 141c691248f53b13d293490683875f44fb937203 (diff) | |
download | chrome-ec-dd1f0d94a008820643ea1d9adfc89bb3189c5618.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>
Reviewed-on: https://chromium-review.googlesource.com/433578
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Commit-Queue: Hung-Te Lin <hungte@chromium.org>
Tested-by: Hung-Te Lin <hungte@chromium.org>
-rwxr-xr-x | extra/usb_updater/fw_update.py | 2 |
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 |