FPGARelated.com
Forums

xc3sprog -- any updates?

Started by Eric June 12, 2006
I was about to start hacking on xc3sprog after e-mailing the author and
not hearing back, but I was curious if anyone else has done the same.
I'm interested in adding programmatic support for the spartan-3
USER1/USER2 instructions, as well as getting it to program my
coolrunner-II CPLD and Virtex-4 LX. Before I reinvent the wheel, has
anyone else done this? 

   ...Eric

Eric wrote:
> I was about to start hacking on xc3sprog after e-mailing the author and > not hearing back, but I was curious if anyone else has done the same. > I'm interested in adding programmatic support for the spartan-3 > USER1/USER2 instructions, as well as getting it to program my > coolrunner-II CPLD and Virtex-4 LX. Before I reinvent the wheel, has > anyone else done this? >
Eric, I started using xc3sprog some weks ago (tired to upgrade the windrvr6 each time I upgrade or recompile the kernel ;-) ) I made a very minor change in the detectchain.cpp in order to print the device position of each device found in the chain. I wrote also a script to help chosing the device to program graphically. Nothing about USER1/USER2... but when I've a little bit of time I would like hacking on xc3sprog too! If You are interested I can send You the changes I made to detectchain.cpp and the script I wrote. Have a nice day Sandro
> Eric, > I started using xc3sprog some weks ago (tired to upgrade the windrvr6 > each > time I upgrade or recompile the kernel ;-) ) > I made a very minor change in the detectchain.cpp in order to print the > device position of each device found in the chain. > I wrote also a script to help chosing the device to program > graphically. > Nothing about USER1/USER2... but when I've a little bit of time I would > like > hacking on xc3sprog too! > > If You are interested I can send You the changes I made to > detectchain.cpp and the > script I wrote. > > Have a nice day > Sandro
That sounds great! After a few hours of work this morning I've already got it programming my 4VLX25, and I just managed to get USER1 working. This is really a testament to the original code; it is well-thought-out and easy to understand.
Eric wrote:
> I was about to start hacking on xc3sprog after e-mailing the author and > not hearing back, but I was curious if anyone else has done the same. > I'm interested in adding programmatic support for the spartan-3 > USER1/USER2 instructions, as well as getting it to program my > coolrunner-II CPLD and Virtex-4 LX. Before I reinvent the wheel, has > anyone else done this?
I've modified it to run under FreeBSD (pretty trivial changes) but nothing more (since I'm only using Spartan 3's :) Perhaps you could put it up on Sourceforge or something similar? -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
Daniel O'Connor <darius@dons.net.au> wrote:
> Eric wrote: > > I was about to start hacking on xc3sprog after e-mailing the author and > > not hearing back, but I was curious if anyone else has done the same. > > I'm interested in adding programmatic support for the spartan-3 > > USER1/USER2 instructions, as well as getting it to program my > > coolrunner-II CPLD and Virtex-4 LX. Before I reinvent the wheel, has > > anyone else done this?
> I've modified it to run under FreeBSD (pretty trivial changes) but nothing > more (since I'm only using Spartan 3's :)
> Perhaps you could put it up on Sourceforge or something similar?
Yes, Sourceforge would be a good place. I have changes to recognise different adapters ( Xilinx parallel, Altera Byteblaster and the MPSSE machine of an FT2232 USB Adapter). -- Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
> Yes, Sourceforge would be a good place. >
I've created the sf project as xc3sprog -- I think with all these additions we've expanded the program a bit from what its original purpose was, but there seems to be no harm in keeping the name. Evidently SF will be contacting me in a day or two saying they've set up the project, at which point I'll upload the code and we can start accepting patches. Does anyone else want admin bits on the site? ...Eric
Eric wrote:
> ... > I've created the sf project as xc3sprog -- I think with all these > additions we've expanded the program a bit from what its original > purpose was, but there seems to be no harm in keeping the name. > > Evidently SF will be contacting me in a day or two saying they've set > up the project, at which point I'll upload the code and we can start > accepting patches. Does anyone else want admin bits on the site? > ...Eric
Eric, Any news from sourceforge ? http://xc3sprog.sourceforge.net/ seems not available... is the rigth address ? Sandro
> Eric, > Any news from sourceforge ? > http://xc3sprog.sourceforge.net/ > seems not available... is the rigth address ? > > Sandro
They created it this afternoon; it should be up! I'm going to import the original code into svn right now... ...Eric
Eric wrote:
> > They created it this afternoon; it should be up! I'm going to import > the original code into svn right now... > ...Eric
Eric, Great... I saw the version you uploaded is slightly different than the version I worked on! I'll check how my changes apply to your version and after i'll send you! bye Sandro
Eric wrote:
> > They created it this afternoon; it should be up! I'm going to import > the original code into svn right now... > ...Eric
Eric, The version you uploaded is the latest ?!? I got it from : http://www.rogerstech.force9.co.uk/ http://www.rogerstech.force9.co.uk/xc3sprog/index.html (seems to be the webpage of the author...) Sandro