diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2012-11-05 13:04:15 +0000 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-11-06 17:38:37 +0000 |
commit | 5c2c269336cc49aa3ea7714d0ffcc4b2edf3057e (patch) | |
tree | 138c4011e006e9a3a7f8129fd968980dfd9a93b6 /src/jtag/drivers/gw16012.c | |
parent | a72a42230be9a479dd93687d99d39b9029acb50a (diff) |
target: add async algorithm timeout
An issue was observed when using an async algorithm with a target that had
not been previously reset beforehand. The target would enter a infinite
loop within target_run_flash_async_algorithm.
Add a timeout that will at least prevent this issue from happening. and also
suggest the user resets the target.
Change-Id: I5277e0d64e252d3d353e8d5bc9889a37fdc63060
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/949
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'src/jtag/drivers/gw16012.c')
0 files changed, 0 insertions, 0 deletions