Files
OpenCellular/util
Todd Broch f8fbd1e440 flash_pd.py: Add retries for commands for collision resilience.
The original version of the script worked but as the USB PD protocol
SM has been enhanced to handle more complicated scenarios the
occurrence of collisions on the baseband comm has grown and script
needs to account for that.

Script now checks status of ACK from zinger 'DONE 0' and retries two
additional times for commands that failed.  If those three attempts
are unsuccessful script raises exception and quits.

Also added some more logging around retries and progress of chunk
writes.

BRANCH=none
BUG=chrome-os-partner:30135
TEST=manual, util/flash_pd.py build/zinger/ec.RW.flat succeeds in
programming zinger even in light of some retries.

Change-Id: Iaa8a22c2510ea5f4ebd92e1715be5fe062e13c61
Signed-off-by: Todd Broch <tbroch@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/213131
Reviewed-by: Alec Berg <alecaberg@chromium.org>
2014-08-20 21:07:26 +00:00
..
2013-12-19 00:12:28 +00:00
2014-08-18 23:16:32 +00:00
2013-07-01 16:14:16 -07:00
2012-11-01 14:09:34 -07:00
2014-08-20 02:12:53 +00:00
2014-02-17 17:35:43 +00:00
2013-07-01 16:14:16 -07:00
2013-07-01 16:14:16 -07:00
2014-01-15 04:52:54 +00:00
2014-07-23 02:30:10 +00:00