Files
OpenCellular/util
Vincent Palatin c25c92ff5e stm32mon: more robust serial communication
- throw away all the incoming garbage after a NACK to be protect against
unexpected behavior on the embedded monitor.

- increase the command timeout :
 on STM32F100, I have measured up to 1.4s to execute the erase 64kB
 command. With the current 2s timeout, it was failing when you are
 unlucky (since it's using a integer second timestamp to measure the
 timeout).

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>

BUG=None
TEST=with a Snow, flash the board using stm32mon -w ec.bin
from various states.

Change-Id: I260b3b1311eac9be7c43f835eeac68051befd24a
Reviewed-on: https://gerrit.chromium.org/gerrit/24314
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
2012-06-01 13:13:25 -07:00
..
2012-05-24 23:34:01 +00:00
2012-03-02 22:37:36 +00:00
2012-03-15 21:25:48 +00:00
2011-12-07 19:10:02 +00:00