I was wrong, there is one more comment :)

The problem with out of context  in variables (a real problem, I agree, 
but not what makes current code misbehave) has nothing to do with 
in_handlers, it is really about the in_value field pointing to a 
receiving value.

The inhandler simply transforms the received data before storing it in 
the location pointed to by in_value.

jtag_add_dr_scan_now ensures that the indata is received while the 
in_value variable is still current, but we can still use the in_handler 
to make the required transformations.

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

Reply via email to