I've build the code from git as I needed gpio jtag for my project.

Code builds with a few minor issues, using openembedded.
I had to make sure autoconf was run with -s. Root cause seems to be
that a symlink is made to tools before the actual data is there. With
symlinks this works. With hard copy it does not.
Guess ideally something could change in the order of the tests so the
tools stuff is there.

Also somehow MKINSTALLDIRS got not detected properly, I just added
MKINSTALLDIRS=tools/mkinstalldirs when doing make install
I guess this is also caused by mkinstalldirs not being there when the
test is run.

Of course these things are not gpio related.

With these patches I managed to compile the code. When running on my
target and setting the cable, detect did not work.
It reported that TDO was stuck.
I guess the cause is some initialisation weirdness or inconsistency in
the kernel. By default all ports were reported as input by the kernel,
but perhaps the hw is defaulting to output.
The gpio cable code sets the port to input, but that did not resolve
things. I managed to get things going by explicitly toggling the TDO
direction to output and back to input (either before starting urjtag
or after starting urjtag but before doing anything.
If I do that urjtag works like a charm using gpio.
It might be considered to toggle the gpio lines when initialising the cable.
Otherwise perhaps add a small note somewhere in the documentation.

Thanks urjtag developers for this nice piece of code and Stefano for
the gpio support.

Frans.

PS: the system I have tested with is MPC8536DS aka calamari (a
powerpc). OS is linux 2.6.34

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to