Hi!

Some time ago, I had a problem with the rlink interface reporting "too many retries waiting for DTC status" with the STM Primer, but didn't submit a patch yet.

Here it is - it just increases the retry count to 10 (my cygwin setup needs 7 retries in the worst case).

happy weekend,
--
Thomas Kindler <m...@t-kindler.de>
Index: src/jtag/rlink/rlink.c
===================================================================
--- src/jtag/rlink/rlink.c      (revision 1454)
+++ src/jtag/rlink/rlink.c      (working copy)
@@ -523,7 +523,7 @@
 
 
        /* Wait for DTC to finish running command buffer */
-       for(i = 5;;) {
+       for(i = 10;;) {
                usb_err = ep1_generic_commandl(
                        pHDev, 4,
 
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to