Øyvind Harboe wrote:
> On Fri, May 8, 2009 at 12:25 AM, Magnus Lundin <[email protected]> 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).
>
>   
The problem with the "fix" and the whole change set is that the  
fields{1].in_value variable is not assigned any return value until after 
jtag_execute_queue(), and that is long after we exit this function and 
temp is out of scope.

Regards
Magnus

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to