rlink: Fix DTC command timeout
commit006a1084949208f2f83aecf7f5467ea76f89f52a
authorPeter Horn <peter.horn@bluewin.ch>
Mon, 8 Oct 2012 18:55:01 +0000 (8 20:55 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 8 Oct 2012 20:32:20 +0000 (8 20:32 +0000)
treeaa667030907ea1ca92ee69848086f827acf457fe
parent3f8ca97daf01966f0d6aaabf64162d6e09c3b744
rlink: Fix DTC command timeout

With the current timeout setting i = 10 in drtc_run_timeout()
I get "Error: too many retries waiting for DTC status" when
loading a program into the FLASH of an STM32F1.

By experimentation a value of i = 22 was found to be the minimum
on my system. Therefore the value has been increased to i = 50.

Change-Id: Ib67fc648ccaad305871b81c2c39e49de53c330a0
Signed-off-by: Peter Horn <peter.horn@bluewin.ch>
Reviewed-on: http://openocd.zylin.com/863
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/rlink.c