X
RSS YouTube LinkedIn Twitter XCore IRC

Search




Post new topic Reply to topic   [ 16 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Mon Apr 16, 2012 4:31 pm 
Joined: Mon Apr 16, 2012 4:15 am
Posts: 3
I've been working successfully with an XC-2 card and 11.2.2 development tools. I just installed the 11.11.0 tools and the XC-2 card is not being found by the new version. In the IDE the list of available devices is empty. Using xrun -l gives "No Available Devices Found". Everything is still working fine with 11.2.2, so the hardware should be OK. Any hints about what needs to be done differently in 11.11.0 would be appreciated. I'm running this under a 64-bit white box rebuild of Red Hat 6.2 (Scientific Linux 6.2). I guess this is not a supported platform, but I've used both 11.2.2 and 11.2.0 on this type of system for about a year with no problems.
Thanks!
Dennis


Top
Offline Profile View all posts by this user  
 
PostPosted: Mon Apr 16, 2012 7:34 pm 
User avatar
XCore Moderator
Joined: Wed Feb 29, 2012 10:03 am
Posts: 176
If I am not wrong, you might be opening new project. Select new XDE project. and select the target as XC2. I think this should work.


Top
Offline Profile View all posts by this user  
 
PostPosted: Mon Apr 16, 2012 8:03 pm 
Joined: Mon Apr 16, 2012 4:15 am
Posts: 3
Thanks for the reply. Unfortunately, I don't think that is the problem. I tried both making a new project, choosing XC-2 as the target, and importing an existing legacy project. In either case the list of available targets in the XDE is empty. Also, just using the command line after using the SetEnv script, setting the PATH and LD_LIBRARY_PATH, xrun -l does not work in 11.11.0, but does find the XTAG fine in 11.2.2. The command line approach should at least find the device and not depend on the XDE settings. Does the jtag-speed need to be changed in this version? ... still no luck getting this working. Dennis


Top
Offline Profile View all posts by this user  
 
PostPosted: Tue Apr 17, 2012 11:10 am 
User avatar
XMOS Employee
Joined: Tue Feb 23, 2010 6:55 pm
Posts: 125
The 64bit tools installation has issues with the FTDI devices due to problems with the 64 bit interface library we get from FTDI. We are still to diagnose the issue with this and waiting on FTDI support. The XTAG-2 works correctly with 64 bit linux.

With 11.11 this is the first time we have released a true 64 bit tool chain with all components compiled for this platform. In order to use the older FTDI based boards with 11.11 I would recommend installing the 32 bit version of the tools which should work correctly. This is essentially what you got with 11.2


Top
Offline Profile View all posts by this user  
 
PostPosted: Tue Apr 17, 2012 3:01 pm 
Joined: Mon Apr 16, 2012 4:15 am
Posts: 3
Thanks XMatt. That explains the problem. I downloaded the 32-bit development tools and the command line 'xrun -l' finds the device. Unfortunately, the XDE still does not work. Running it with the currently installed java gives the error:

$ ./XDE
***Error ***
Please install a 32-bit Java Runtime Environment....

After I installed the latest 32-bit java (7u3) the XDE just quietly fails to start. I don't know if that is due to the currently installed eclipse needing 64-bit java and the XDE needing the 32-bit java, or if the XDE needs java 6. I guess I will just keep using 11.2.2 for now. Thanks for the help.
Dennis


Top
Offline Profile View all posts by this user  
 
PostPosted: Tue Apr 17, 2012 9:12 pm 
User avatar
XMOS Employee
Joined: Tue Feb 23, 2010 6:55 pm
Posts: 125
dmikk wrote:
Thanks XMatt. That explains the problem. I downloaded the 32-bit development tools and the command line 'xrun -l' finds the device. Unfortunately, the XDE still does not work. Running it with the currently installed java gives the error:

$ ./XDE
***Error ***
Please install a 32-bit Java Runtime Environment....

After I installed the latest 32-bit java (7u3) the XDE just quietly fails to start. I don't know if that is due to the currently installed eclipse needing 64-bit java and the XDE needing the 32-bit java, or if the XDE needs java 6. I guess I will just keep using 11.2.2 for now. Thanks for the help.
Dennis


I will check this out and hopefully provide you with a solution, the 64 bit issue with FTDI is a ongoing problem we have been having unfortunately supporting the older boards based on the XTAG-1 design.


Top
Offline Profile View all posts by this user  
 
PostPosted: Sat Apr 28, 2012 8:12 pm 
User avatar
Experienced Member
Joined: Thu Feb 02, 2012 3:32 pm
Posts: 69
i'm having the same problem with 11.11.0 (64-bit debian linux) but i'm using XC-1A eval board. is there a fix coming very soon?
if this is a real issue, you may want to consider using libftdi.


Top
Offline Profile View all posts by this user  
 
PostPosted: Mon Apr 30, 2012 10:25 am 
User avatar
XMOS Employee
Joined: Tue Feb 23, 2010 6:55 pm
Posts: 125
Because of the FTDI issues here we cannot currently support them with a true 64 bit tool chain, there are also problems attempting to run a 32 bit eclipse installation on a 64 bit machine which means it is not just a simple issue of installing the 32 bit tools.

We are working to resolve this issue and looking to remove as much of the 'official' FTDI software from our code base as possible so we can better support users of boards based on FDTI products.

Meanwhile the workarounds for users who need this support on 64 bit linux are as follow

*** Command line tools only ***

If you require only command line tools supporting the older FTDI based boards then install the 32 bit version of the tools.

*** Command line and XDE ***

If you require the XDE on 64 bit linux with FTDI boards then you will require the following.

In order to work around the problem here you will have to install both the 32 bit and 64 bit tools and then copy the xde from the 64 bit tools into the 32 bit installation. This requires the following.

XMOS/DevelopmentTools/11.11.0/bin/xde
XMOS/DevelopmentTools/11.11.0/xde_bin

Once these are copied you can run a 64 bit java xde and the 32 bit command line tools.


Top
Offline Profile View all posts by this user  
 
PostPosted: Tue May 01, 2012 1:12 am 
User avatar
Experienced Member
Joined: Thu Feb 02, 2012 3:32 pm
Posts: 69
XMatt wrote:
Meanwhile the workarounds for users who need this support on 64 bit linux are as follow

*** Command line tools only ***

If you require only command line tools supporting the older FTDI based boards then install the 32 bit version of the tools.

*** Command line and XDE ***

If you require the XDE on 64 bit linux with FTDI boards then you will require the following.

In order to work around the problem here you will have to install both the 32 bit and 64 bit tools and then copy the xde from the 64 bit tools into the 32 bit installation. This requires the following.

XMOS/DevelopmentTools/11.11.0/bin/xde
XMOS/DevelopmentTools/11.11.0/xde_bin

Once these are copied you can run a 64 bit java xde and the 32 bit command line tools.


i did as you said and still "xrun -l" lists nothing. i checked and along with it's LED demo it enumerates as told in dmesg.
Quote:
[3190594.964082] usb 3-1: new full-speed USB device number 5 using ohci_hcd
[3190595.141123] usb 3-1: New USB device found, idVendor=0403, idProduct=6010
[3190595.141137] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[3190595.141146] usb 3-1: Product: XC-1A 1V0
[3190595.141153] usb 3-1: Manufacturer: XMOS
[3190595.141159] usb 3-1: SerialNumber: 81210610
[3190595.146249] ftdi_sio 3-1:1.0: FTDI USB Serial Device converter detected
[3190595.146333] usb 3-1: Detected FT2232C
[3190595.146340] usb 3-1: Number of endpoints 2
[3190595.146347] usb 3-1: Endpoint 1 MaxPacketSize 64
[3190595.146354] usb 3-1: Endpoint 2 MaxPacketSize 64
[3190595.146360] usb 3-1: Setting MaxPacketSize 64
[3190595.150251] usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB0
[3190595.153238] ftdi_sio 3-1:1.1: FTDI USB Serial Device converter detected
[3190595.153321] usb 3-1: Detected FT2232C
[3190595.153328] usb 3-1: Number of endpoints 2
[3190595.153334] usb 3-1: Endpoint 1 MaxPacketSize 64
[3190595.153341] usb 3-1: Endpoint 2 MaxPacketSize 64
[3190595.153347] usb 3-1: Setting MaxPacketSize 64
[3190595.157259] usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB1

should the "ftdi_sio" module not be loaded? they show up as ttyUSB0/1 but that seems to be of no use to xrun.


Top
Offline Profile View all posts by this user  
 
PostPosted: Tue May 01, 2012 10:41 am 
User avatar
XMOS Employee
Joined: Tue Feb 23, 2010 6:55 pm
Posts: 125
Apologies, there is also a patch required to the ftdi library to support their interface on later linux systems due to where it looks for usb devices.

If checked in a set of tools for 64 bit linux working with ftdi devices in the following git repository,

https://github.com/mattfyles/xmos_64bit ... di_support

If you clone this you will be able to get the linux installation supporting this combination, it basically is just what was described earlier in the thread.


Top
Offline Profile View all posts by this user  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic   [ 16 posts ]  Go to page 1, 2  Next


Who is online

Users browsing this forum: Google [Bot] and 2 guests



Search for:
Jump to: