On Thu, Jun 11, 2009 at 8:23 AM, Øyvind Harboe<[email protected]> wrote: > I was thinking that pathmove, irscan and drscan commands should > fail or at least give a warning if they are invoked while background > polling is running. > > But isn't that a "layering violation"? > > Should target tell jtag when it is doing background polling or > should jtag check when target is doing polling?
You could add a locking mechanism for the JTAG resource. That wouldn't be a violation then. And it wouldn't be a bad idea in general to have since the number of interfaces to control OpenOCD from outside seems to be growing. Michael _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
