On Mon, Jul 6, 2009 at 4:56 AM, Gary Carlson<[email protected]> wrote: > I have a second-generation patch that I would like you to try. Using it I > have started my emulator over a thousand times now without a single > communication failure. Using subversion 2348 as a baseline, I went from a > 43% emulator startup failure rate to zero. > > It was very fortunate that you happened to mention earlier that you observed > the host build modulates the problem. That critical insight clued me into a > strikingly similar USB problem I ran into a couple years earlier on another > project. > > So try this patch and let me know what happens. With a little luck I am > hoping that it will permanently banish the intermittent j-link usb failures > for good. > > Only time will tell, however! :) >
Thanks a lot. Right now I have zero failure rate during startup under Ubuntu 9.04 for the LPC-P2148 and STM3210E-Eval, with both V3 and V7 J-Link. Often I would have about 20-25% startup failure for EMU_CMD_VERSION before your patch. Now it is zero percent. Great job. I will try out Arch Linux. -- Xiaofan http://mcuee.blogspot.com _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
