Xiaofan, Your statement is correct. Underlying the fancy GUI of Mac OS X is really a variant of the BSD UNIX operating system. So it is not terribly surprising that both Linux and Mac behave similar in this case. Based on past development experiences I have generally observed a problem cross-over rate of about 75% between the two systems.
Windows unfortunately is a different story! :) I haven't tried Spencer's patch yet. Unfortunately I had to veer off this effort for most of the day to go deal with another problem on a different project. I will hopefully get a chance to try it later this evening. Gary Gary Carlson Gary Carlson, MSEE Principal Engineer Carlson-Minot Inc. On 7/7/09 8:03 PM, "Xiaofan Chen" <xiaof...@gmail.com> wrote: > On Wed, Jul 8, 2009 at 10:59 AM, Gary Carlson<gcarl...@carlson-minot.com> > wrote: >> Hi Xiaofan, >> >> The second part of the patch is most certainly critical to Linux and Mac OS >> X systems. I am less sure about Windows since I don't have anything to >> test. If the usb_reset instruction is removed, you will find that the >> intermittent start-up failures that went away with the patch will be back. >> >> Other then the "reset halt" command being broken, my V8 debugger works well >> and I have experienced no startup failures since. As for the "reset halt" >> problem I am trying to find out what is causing that. >> > > I see. So Mac OS X behaves similar to Linux. > > In any case, Spen's patch should work for Linux and Mac OS X > along with Windows. It is a proper practice to reopen the USB device > after a usb_reset(). Have you tried out his patch? > _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development