Am 06/10/2011 09:21 AM, schrieb Laurent Gauch: > Please remember guys also to properly fix the ft2232_quit() as Laurent >> proposed, this is also necessary to bring interface to default state >> on quit :-) >> > And not only the specific layout, but the mpsse must be reseted. > We have to make sure to put the dongle at is initial state as if it > was just plugged in the computer. Um - why?
That may remove control over the target, leaving it in an unpredictable state (depending on the circuit in the adapter), or even reset the target (if that is the default of the external circuit). Any code that assumes the dongle is already in a specific state on init is broken and needs to be fixed. Working around that by enforcing a certain state on deinit is plain broken. cu Michael _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development