On Fri, May 8, 2009 at 12:25 AM, Magnus Lundin <lun...@mlu.mine.nu> wrote:
> The problem is that the inhandler is called asynchronosly from the jtag
> layer when the indata has been received.
> When  jtag_add_dr_scan_now(2, fields, TAP_INVALID) is sent then we have
> not even sent the jtag data to the target son the in value is not
> available untail after the next jtag_execute_queue()

actually it was a search, copy & paste error. I've committed a fix(though
I can't test right now).

jtag_add_dr_scan_now() will execute the queue so the in_value can
be examined immediately afterwards.

Clearly better testing is required, but the problem with this particular
type of change is that it will never be tested unless committed to svn head.
This type of patches will also be constantly out of date if not committed.

Give me a chance to clean up, if not I'll revert.


-- 
Ø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