> This is a dumb question (because I could answer it by looking at the
> code for a little while), but can the polling mechanism be separated and
> moved into a JTAG sub-layer?  It seems that this kind of coordination
> implies that some part of it should already be there.

The callback is just a generic timer callback. The timer callback doesn't
define anything about what can happen in such a callback, the target layer
just happens to invoke some jtag fn's.

I read a bit more and I now see that this ain't over yet, because
target.c/handle_target() also invokes the srst/tsrst_de/asserted
tcl proc's....

We definitely need a much more robust way of handling dr/irscan/pathmove
commands so they won't see interleaving commands...


-- 
Øyvind Harboe
Embedded software and hardware consulting services
http://consulting.zylin.com
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to