Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old September 4th, 2006   #1
Fluffy_v
First Cup of Ubuntu
 
Join Date: May 2006
Beans: 2
Ubuntu 6.06
Xilinx ISE + Parralel Programming Cable

After some time I have managed to get the Xpilinx ISE 8.2i installed and working with the parallel programming cable that was included with my development board. Once I had the right files, it was pretty easy.

I am still pretty new to linux in general, but i will try and help if anyone has problems with this guide.

I have no idea if this will work with the USB programming cable, as I do not have one to test.

The driver source files are not the most current, I could not get the most current ones to work.


there are a few tutorials on installing and compiling the programming cable drivers, but none really worked for me. These are the two I used to finally get things working.
http://www.c3a.de/wiki/index.php/ISE_Webpack_Ubuntu
http://www.freelabs.com/~whitis/elec...ll_deb3.1.html


My test system:
Fresh Ubuntu 6.061 install(no idea if it will work on any other version)
800Mhz PIII laptop
512MB Ram
20Gig HD.

Programming was tested and verified on a Digilent Spartan-3 Board with the included parallel programming cable.

Here are the steps I took to finally get things working, most are console commands.

# a few things are needed to build the programming cable drivers:
sudo apt-get install gcc make linux-headers-386


# need a place to store the ISE and driver source files.
mkdir xilinxISEinstall
cd xilinxISEinstall

# need to get the ISE and the driver source files (the webpack is 107MB)
wget http://direct.xilinx.com/direct/webp...ACK_82i_SFD.sh
wget http://www.jungo.com/download/WD800LN.tgz
wget ftp://ftp.xilinx.com/pub/utilities/M...ers.2.6.tar.gz



# install the ISE (this install is SLOW)
# need to agree to the licenses
# ignore the windriver errors at the end of the install
# will build the drivers later
sh WebPACK_82i_SFD.sh


# extract the windrvr driver source
tar xzf WD800LN.tgz

# build & install the windrvr driver
cd WinDriver/redist
./configure
make
sudo make install

#enable user acces to windrvr driver
sudo chmod 666 /dev/windrvr6

#go back to base directory
cd ..
cd ..


# extract xilinx driver
tar zxvf linuxdrivers.2.6.tar.gz

# build & install xilinx driver
cd linuxdrivers.2.6/xpc4drvr
./configure
make
sudo insmod ./xpc4drvr.ko


# need to run the xilinx settings script now that the drivers are installed
cd {to where you installed the ise, default is /home/"user_name"/Xilinx}
chmod 744 settings.sh
./settings.sh


Have fun! The ISE is installed and the parallel cable driver should be functioning.

Fluffy_v
Fluffy_v is offline   Reply With Quote
Old September 4th, 2006   #2
skroll
Just Give Me the Beans!
 
skroll's Avatar
 
Join Date: Aug 2006
Beans: 32
Re: Xilinx ISE + Parralel Programming Cable

Thanks for this guide! I dabble in some FPGA work, and this will be helpful. I have a laptop without a parallel port, so I have to use USB, which was alot of hoop jumping in Windows, so I can imagine it's going to involve WINE to get it to program via USB.

(I had a Digilient USB cable which is specific for a brand of prototyping board, and wouldn't work through IMPACT, it had its own custom software)
skroll is offline   Reply With Quote
Old October 16th, 2006   #3
hecato
Gee! These Aren't Roasted!
 
hecato's Avatar
 
Join Date: Aug 2006
Beans: 176
Ubuntu 7.10 Gutsy Gibbon
Question Re: Xilinx ISE + Parralel Programming Cable

Should I ask if this will work on 64-bits??

Even I dont need to install drivers, only test the tool at home and do some simulation (but programming will be good).
hecato is offline   Reply With Quote
Old October 17th, 2006   #4
hecato
Gee! These Aren't Roasted!
 
hecato's Avatar
 
Join Date: Aug 2006
Beans: 176
Ubuntu 7.10 Gutsy Gibbon
Thumbs down Re: Xilinx ISE + Parralel Programming Cable

Reporting that it run OK, I donwloaded the whole Gb , and installed it, the only problem was precisesly the drivers... I will see if I can do something, tought I really dont need it for the moment .


Quote:
insmod: error inserting '/lib/modules/misc/windrvr6.o': -1 Invalid module format
insmod: error inserting '/lib/modules/misc/windrvr6.o': -1 Invalid module format
error: zipfile probably corrupt (segmentation violation)


************ setup done! ***************
That is the error, and with message box some like (I dont remember correctly)
Quote:
Can not execute xilinx_install/.xinstall/install_driverscript
Let see how this 32-bits app work on my 64-bit CPU .






----------------
By the way, I only installed

Quote:
libstdc++6
motif3
portmap
Before I do first setup (tought I dont know if the setup work without them).

Tought now watching I see that I have no 6-pic installed, but I have
Quote:
libstdc++6-4.0- dbg, dev, pic

Last edited by hecato; October 17th, 2006 at 01:37 AM..
hecato is offline   Reply With Quote
Old October 23rd, 2006   #5
Fluffy_v
First Cup of Ubuntu
 
Join Date: May 2006
Beans: 2
Ubuntu 6.06
Re: Xilinx ISE + Parralel Programming Cable

Sorry, life has kept me rather busy as of late, I should really update this guide a bit. Hopefully I will have some time this weekend.

The ISE software runs just fine without the drivers, but you won't be able to program anything. The steps here were how I got the parallel programming cable to work. If you just want to run the ISE without programming, then just download the webpack from Xilinx and install it. Don't do the web install one, I have never had that one work.

I remember coming across many people who had trouble with the ISE on a 64-bit CPU. Up until a few days ago I did not have access to a 64-bit CPU. I need to install Ubuntu on it and see about the ISE and the programming cable.
Fluffy_v is offline   Reply With Quote
Old December 13th, 2006   #6
Jbloudg20
Just Give Me the Beans!
 
Join Date: Aug 2005
Location: Connecticut
Beans: 47
Re: Xilinx ISE + Parralel Programming Cable

I was able to install the program just fine, but I cannot open it. I googled, and it seems the command is 'startise'. I get a command not found error when I type that.

So I began searching the files, and I founf one in the bin/lin directory called ise. This will let me startt the environment, but I think I need root privledges to be able to program my board. I tried typing 'sudo ise' into the terminal, and i get command not found. I changed my directory to '.../bin/lin' and tried again with the same problem.

Any help?
Jbloudg20 is offline   Reply With Quote
Old December 26th, 2006   #7
rahul_gota
First Cup of Ubuntu
 
Join Date: Dec 2006
Beans: 1
Re: Xilinx ISE + Parralel Programming Cable

I am pretty new to linux but that's how i made my ise to work.

I am not sure whether u hav problem starting the ise. if so, easiest way is to create a launcher on your desktop and put the path as where the ise executable is .. default is /home/username/Xilinx/bin/lin/ise.

Or u can run the settings.sh script using
. settings.sh
command in the Xilinx folder and then can type ise on the command line. Unless u close the terminal window, the command will work.

Last edited by rahul_gota; December 27th, 2006 at 02:48 PM..
rahul_gota is offline   Reply With Quote
Old December 27th, 2006   #8
Jbloudg20
Just Give Me the Beans!
 
Join Date: Aug 2005
Location: Connecticut
Beans: 47
Re: Xilinx ISE + Parralel Programming Cable

I can synthesize and map, but when it comes time to place and route:
Code:
Process "Map" completed successfully
ERROR:ProjectMgmt - TOE: ITclInterp::ExecuteCmd gave Tcl result 'error copying "lab1.ncd" to "lab1_last_par.ncd": not owner'.
Tcl_ErrnoId: EPERM
Tcl_ErrnoMsg: not owner
_cmd: ::xilinx::Dpm::dpm_chTransformExecuteForPar dpm_parRun $piThisInterface
errorInfo: error copying "lab1.ncd" to "lab1_last_par.ncd": not owner
    while executing
"file copy -force $_NcdFile ${iv_ModuleName}_last_par.ncd"
    (procedure "::xilinx::Dpm::dpm_chTransformExecuteForPar" line 56)
    invoked from within
"::xilinx::Dpm::dpm_chTransformExecuteForPar dpm_parRun $piThisInterface"
WARNING:ProjectMgmt - "/media/hdb5/My Documents/Fall 2006/ece280/lab1/lab1_map.ngm" line 0 duplicate design unit: 'Module|lab1'
Jbloudg20 is offline   Reply With Quote
Old January 28th, 2007   #9
jaymode
Just Give Me the Beans!
 
Join Date: Mar 2006
Beans: 82
Ubuntu 9.04 Jaunty Jackalope
Re: Xilinx ISE + Parralel Programming Cable

This doesn't seem to be working in Edgy due to some problems with dash instead of bash and there is also some stuff different in the Kernel source.
jaymode is offline   Reply With Quote
Old January 29th, 2007   #10
jaymode
Just Give Me the Beans!
 
Join Date: Mar 2006
Beans: 82
Ubuntu 9.04 Jaunty Jackalope
Re: Xilinx ISE + Parralel Programming Cable

Actually according to this page it does work in edgy.

http://gentoo-wiki.com/Talk:HOWTO_Xilinx

Gonna give it a shot.
jaymode is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:36 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry