On Fri, Apr 1, 2011 at 6:29 PM, Drasko DRASKOVIC
<drasko.drasko...@gmail.com> wrote:
> In fact, I noticed that placing somewhere mips_ejtag_drscan_32_out()
> works, but in some places mips_ejtag_drscan_32() must be kept, and can
> not be replaced with mips_ejtag_drscan_32_out().
>
> What is the real difference between these two functions and when is
> safe to replace ?

The _out() version clocks data out.

The original version clocks data out and also clocks data back in
into the variable passed to drscan_32().

You have to check if the value clocked in is *used* later on.

Your "32_out" fn looks fine.

-- 
Øyvind Harboe

Can Zylin Consulting help on your project?

US toll free 1-866-980-3434 / International +47 51 87 40 27

http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to