Hey guys, thanks for writing such a great everything-in-one-place jtag
tool!
I'm happy to report that I was able to program a Xilinx Virtex-5 XUP
board (aka "ML509" -- the ML505 with the bigger chip) using the
xpc_ext driver from urjtag, a Xilinx Platform Cable (USB), and an SVF
file generated by Xilinx's IMPACT tool! Even better, I was able to
talk to the BSCAN_VIRTEX5 block on the chip using urjtag!
The bad news -- aside from the fact that xpc_ext is pretty slow -- is
the fact that the SVF parser has serious problems coping with large
SVF files. The lexer is designed to lex the bitstring of an "SDR"
command as one gigantic token (in my case, a 31MB token), but
unfortunately flex's performance is O(n+m^2) where m is the length of
the longest token in the file -- it's not meant for large tokens.
So, while the programming was successful, it took over an hour *just to
read in the SVF file*.
Does anybody see an easy fix? The only solution I can see is to
change the grammar so that each character of a bitstring is a lexene
and the parser gangs them together (bison can handle long sequences of
lexenes with linear performance if you write the grammar properly).
But this is a pretty hard thing to do unless one is very familiar with
the particular svf_bison.y that urjtag uses.
Thanks again for this great project!
- a
PS, are there any USB cables that can sustain 12mbit/sec using urjtag?
If not, which cable is the fastest when using the latest SVN
version of urjtag?
PPS, has anybody else noticed that the number of .bdsl files in the
"bdsl path" greatly degrades the amount of time required for
"detect"? This is sort of a bummer, because it means we can't
just dump the entire collection of bdsl's from Xilinx's kit into
urjtag's directory -- we have to carefully select just the
minimum number to get the job done.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development