Reply by Sietse Achterop August 11, 20042004-08-11
Phil Tomson wrote:
>>You can find it here: http://www.asics.ws/tools/ljp.c.gz >> >>This works with both Parallel Cable 3 and 4.
> Has anyone tried this program with the $99 Xilinx eval board? >
Hello, I am trying it on the Spartan-3 board of NuHorizon. This board has, next to the spartan-3chip, a configuration device in the Jtag-chain so you have to put that one in BYPASS mode, with an 8-bit command. The ljp.c program doesn't work, firstly because it is for Virtex that have 5 bit jtag-commands, while the spartan-3 has 6 bit commands, as described in the BSDL-file. But alas after changing this, the ID-codes can be read properly, and bypass does also work. But programming doesnt:(. Both chip's are revision 0 by the way. The spartan-3 datasheet (part 3: page 38, figure 24) describes some details of how to program it. But that doesnt help me any further. As an aside, I make the bitfile with the option "-g StartUpClk:JtagClk" as is mentioned by the Impact program and in the documentation. The question is, does the spartan-3 specify the programming in it's datasheet, or is there some vital part of the specifation missing from the datasheet. The ljp program follows this, and I tried a lot of variants, also looking in xapp139.pdf about virtex programming. If the datasheet is telling the full story it should be fairly trivial to make it work, so I am afraid I'm missing something, but what? cheers, Sietse Achterop PS. I also tried my luck with the "mitoujtag" program, but I can't get the giveio.sys to function under wine. Does anyone know how to do this?
Reply by Phil Tomson August 11, 20042004-08-11
In article <car9vf$tp5$1@nobel.pacific.net.sg>,
Rudolf Usselmann  <russelmann@hotmail.com> wrote:
>Stephen Williams wrote: > >> >> Does anybody know if the Xilinx Paralel cable IV cable can >> be made to work under Linux w/ ISE 6.1i.03? And to make it >> even more interesting, my Linux is AMD64, will the driver work >> at all on this system? >> >> >> .... and while we're on the subject, the Linux driver source is >> itself is pretty basic. Is there programming informatino for the >> cable that one can use to write custom software to drive the >> device. > > >Stephen, > >not sure if this will help: > >I have faced the same problem - not being able to program >Xilinx Devices using Xilinx Software and Xilinx hardware >under linux. So I wrote a small dumb program that can take >a bit stream and directly upload it to an FPGA. > >You can find it here: http://www.asics.ws/tools/ljp.c.gz > >This works with both Parallel Cable 3 and 4. >
Has anyone tried this program with the $99 Xilinx eval board? Phil
Reply by Sietse Achterop June 23, 20042004-06-23
Neil Glenn Jacobson wrote:
> Stephen Williams wrote: > >> Neil Glenn Jacobson wrote:
>> > Ooops. I forgot. Xilinx does not release a LInux version of WebPACK. > Nix that previous message.
But could the windows version using wine be used here? Can the linuxdrivers be used of are they only for the native Linux version of ISE? I recently bought a Spartan-3 board from NuHorizons in the hope to use it using WebPACK under wine on Linux. Regards, Sietse Achterop Computing Science department University of Groningen The Netherlands
Reply by Neil Glenn Jacobson June 21, 20042004-06-21
Stephen Williams wrote:

> Neil Glenn Jacobson wrote: > >>>> Stephen Williams wrote: > > >>> Even if this is iMPACT bundled with ISE *6.1i*? I was under the >>> impression (based on APP notes and the like) that under Linux, >>> iMPACT starts supporing the PCIV cable at ISE 6.2. Certainly, when >>> I start impact, the radio button for Parallel Cable IV is grayed >>> out. Are you saying that when the cable arrives, I'll be able to >>> plug it in, install the Linux driver, and un-gray the selection? >> >> >> >> You know sometimes I wonder just how awake I am... >> Yes, Linux usage of the parallel cable was first supported in 6.2i >> thus all statements about Xilinx application support refer to release >> 6.2i and later. >> This means that if you are unable to upgrade to 6.2i or later and need >> to use the parallel cable and Linux then you are stuck. >> The (slower) MultiLINX cable is your only download option on Linux >> previous to 6.2i > > > I use ISE Foundation in support of my Icarus Verilog work. I use > it to make sure Icarus Verilog simulations can support the various > libraries shipped with Xilinx products, and I also use the back end > tools to help me validate the FPGA code generator. (I generate EDIF > files that I feed to map/par and FPGAEdit.) > > I have various Xilinx based boards that are a product of day-job, > and also a few other demo boards that people are likely to use while > playing with Icarus Verilog. (A Digilent board, a Wallace JTAG board, > an in-house PPC based board, another in-house board w/ Virtex and ACE...) > > Since this is a open source (read: GPL, free) project, I can't really > afford the $2000+ of ISE. In fact, my current ISE 6.1i is a generous > contribution from your employer. > > So yes, I'm stuck. But it's not holding me up. > >
Ooops. I forgot. Xilinx does not release a LInux version of WebPACK. Nix that previous message.
Reply by Neil Glenn Jacobson June 21, 20042004-06-21
Stephen Williams wrote:
> Neil Glenn Jacobson wrote: > >>>> Stephen Williams wrote: > > >>> Even if this is iMPACT bundled with ISE *6.1i*? I was under the >>> impression (based on APP notes and the like) that under Linux, >>> iMPACT starts supporing the PCIV cable at ISE 6.2. Certainly, when >>> I start impact, the radio button for Parallel Cable IV is grayed >>> out. Are you saying that when the cable arrives, I'll be able to >>> plug it in, install the Linux driver, and un-gray the selection? >> >> >> >> You know sometimes I wonder just how awake I am... >> Yes, Linux usage of the parallel cable was first supported in 6.2i >> thus all statements about Xilinx application support refer to release >> 6.2i and later. >> This means that if you are unable to upgrade to 6.2i or later and need >> to use the parallel cable and Linux then you are stuck. >> The (slower) MultiLINX cable is your only download option on Linux >> previous to 6.2i > > > I use ISE Foundation in support of my Icarus Verilog work. I use > it to make sure Icarus Verilog simulations can support the various > libraries shipped with Xilinx products, and I also use the back end > tools to help me validate the FPGA code generator. (I generate EDIF > files that I feed to map/par and FPGAEdit.) > > I have various Xilinx based boards that are a product of day-job, > and also a few other demo boards that people are likely to use while > playing with Icarus Verilog. (A Digilent board, a Wallace JTAG board, > an in-house PPC based board, another in-house board w/ Virtex and ACE...) > > Since this is a open source (read: GPL, free) project, I can't really > afford the $2000+ of ISE. In fact, my current ISE 6.1i is a generous > contribution from your employer. > > So yes, I'm stuck. But it's not holding me up. > >
If you just want to download, you can use the free WebPACK version of iMPACT. This would include the latest software and be backward compatible with bitstreams generated from any version of ISE ou have. So you are not actually stuck.
Reply by Jan Panteltje June 17, 20042004-06-17
**** Post for FREE via your newsreader at post.usenet.com ****

On a sunny day (Thu, 17 Jun 2004 16:44:17 +0000 (UTC)) it happened Uwe Bonnes
<bon@elektron.ikp.physik.tu-darmstadt.de> wrote in
<cashp1$6vi$1@news.tu-darmstadt.de>:

>Do you have the ppdev kernel module loaded? If no, do it. If yes, do you >have any other device claiming the papalle port loaded (e.g. a parallel >port CDROM or such). If yes, unload. Try again. > >Bye
Did some testing, there is no module named ppdev. panteltje:~# lsmod | grep p parport_pc 14192 1 (autoclean) lp 6592 0 (autoclean) parport 24992 1 (autoclean) [parport_pc lp] Removing and insmodding any of these does make no difference, except now I get: open parport: No such device Of cause I have /dev/parport0 etc... Maybe I should not be using /dev/parport? JP -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= *** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! *** http://www.usenet.com Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Reply by Uwe Bonnes June 17, 20042004-06-17
Jan Panteltje <pNaonStpealmtje@yahoo.com> wrote:
: >rudi               
: I get:
: claim parport: Invalid argument
: I am using kernel 2.4.25.
: Any ideas? This comes from:
: if (ioctl(d, PPCLAIM))      err(-1, "claim parport");

: Nevertheless interesting code.
: Regards

Do you have the ppdev kernel module loaded? If no, do it. If yes, do you
have any other device claiming the papalle port  loaded (e.g. a parallel
port CDROM or such). If yes, unload. Try again.

Bye
-- 
Uwe Bonnes                bon@elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Reply by Jan Panteltje June 17, 20042004-06-17
**** Post for FREE via your newsreader at post.usenet.com ****

On a sunny day (Thu, 17 Jun 2004 05:39:28 GMT) it happened Philip Freidin
<philip@fliptronics.com> wrote in
<rhb2d0p905uo73cmostsda9j6nf16ogu2v@4ax.com>:

>On Fri, 11 Jun 2004 11:31:18 -0700, Stephen Williams <spamtrap@icarus.com> wrote: >> >>Does anybody know if the Xilinx Paralel cable IV cable can >>be made to work under Linux w/ ISE 6.1i.03? And to make it >>even more interesting, my Linux is AMD64, will the driver work >>at all on this system? >> >> >>.... and while we're on the subject, the Linux driver source is >>itself is pretty basic. Is there programming informatino for the >>cable that one can use to write custom software to drive the >>device. > >I am not sure how relevant this is, but there is some source code >and other notes in the FAQ: "Downloading a Bitstream under Linux" >Here's the URL > > http://www.fpga-faq.com/FAQ_Pages/0028_Downloading_a_Bitstream_under_Linux.htm
I have taken that source, added a makefile, and added a way to add the bit filename in the command line, also added some error checking. http://ip51cf87c4.direct-adsl.nl/panteltje/download/impact-fl-0.1.tgz Untar with tar -zxvf impact-fl-0.1.tgz JP -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= *** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! *** http://www.usenet.com Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Reply by Jan Panteltje June 17, 20042004-06-17
**** Post for FREE via your newsreader at post.usenet.com ****

On a sunny day (Thu, 17 Jun 2004 12:29:34 +0700) it happened Rudolf Usselmann
<russelmann@hotmail.com> wrote in <car9vf$tp5$1@nobel.pacific.net.sg>:

>Stephen Williams wrote: > >> >> Does anybody know if the Xilinx Paralel cable IV cable can >> be made to work under Linux w/ ISE 6.1i.03? And to make it >> even more interesting, my Linux is AMD64, will the driver work >> at all on this system? >> >> >> .... and while we're on the subject, the Linux driver source is >> itself is pretty basic. Is there programming informatino for the >> cable that one can use to write custom software to drive the >> device. > > >Stephen, > >not sure if this will help: > >I have faced the same problem - not being able to program >Xilinx Devices using Xilinx Software and Xilinx hardware >under linux. So I wrote a small dumb program that can take >a bit stream and directly upload it to an FPGA. > >You can find it here: http://www.asics.ws/tools/ljp.c.gz > >This works with both Parallel Cable 3 and 4. > >Regards, >rudi
I get: claim parport: Invalid argument I am using kernel 2.4.25. Any ideas? This comes from: if (ioctl(d, PPCLAIM)) err(-1, "claim parport"); Nevertheless interesting code. Regards JP -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= *** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! *** http://www.usenet.com Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Reply by Philip Freidin June 17, 20042004-06-17
On Fri, 11 Jun 2004 11:31:18 -0700, Stephen Williams <spamtrap@icarus.com> wrote:
> >Does anybody know if the Xilinx Paralel cable IV cable can >be made to work under Linux w/ ISE 6.1i.03? And to make it >even more interesting, my Linux is AMD64, will the driver work >at all on this system? > > >.... and while we're on the subject, the Linux driver source is >itself is pretty basic. Is there programming informatino for the >cable that one can use to write custom software to drive the >device.
I am not sure how relevant this is, but there is some source code and other notes in the FAQ: "Downloading a Bitstream under Linux" Here's the URL http://www.fpga-faq.com/FAQ_Pages/0028_Downloading_a_Bitstream_under_Linux.htm =================== Philip Freidin philip.freidin@fpga-faq.com Host for WWW.FPGA-FAQ.COM