On Tue, 28 Jun 2011, Márton Miklós wrote:

Hello all,

I have just noticed that the parallel port cable support is broken.

jtag> cable DLC5 parallel 0x378

Cable list begin
....

Error: chain.c:107 urj_tap_chain_connect() syntax: parallel cable
requires >= 3 parameters

There is a checking for the argument count in the chain.c, which only
allows to use cables with 3 arguments.
This is a problem, because the command above should work.
After removing this check the cable initialization works, but the help
does not, and I have not found any sophisticated way how to patch it,
because the cable is constructed only after the argument checking, and
until then I cannot call the help method.


Did this work with svn/git from before monday?
(before this one, I think:
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1919 b68d4a1b-bc3d-0410-92ed-d4ac073336b7)

If so, its probably related to my work splitting cmd_cable() into urj_tap_chain_connect(), which is mostly about parameter handling.

Does it work with one of the other parallel-port access modes, for example:
  jtag> cable DLC5 parallel ppdev /dev/parport0


I might be able to find a parallel cable to test with; I'll look.

Steve
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to