From: Joe H. <xc3...@su...> - 2016-06-26 12:24:32
|
Thanks for the reply, Uwe. This it the output from `dmesg` when I plug in the board. ``` [336371.820044] usb 1-5: new high-speed USB device number 24 using xhci_hcd [336371.953810] usb 1-5: New USB device found, idVendor=0403, idProduct=6010 [336371.953813] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [336371.953814] usb 1-5: Product: Digilent Adept USB Device [336371.953815] usb 1-5: Manufacturer: Digilent [336371.953816] usb 1-5: SerialNumber: 200300730484 [336371.956892] ftdi_sio 1-5:1.0: FTDI USB Serial Device converter detected [336371.956929] usb 1-5: Detected FT2232H [336371.957094] usb 1-5: FTDI USB Serial Device converter now attached to ttyUSB0 [336371.959674] ftdi_sio 1-5:1.1: FTDI USB Serial Device converter detected [336371.959700] usb 1-5: Detected FT2232H [336371.959892] usb 1-5: FTDI USB Serial Device converter now attached to ttyUSB1 ``` xc3sprog's behavior is the same when running as root. This is the output running as root and specifying the reported serial number for the board. ``` $ sudo xc3sprog -c ftdi blink.bit -v -s 200300730484 XC3SPROG (c) 2004-2011 xc3sprog project $Rev: 785 $ OS: Linux Free software: If you contribute nothing, expect nothing! Feedback on success/failure/enhancement requests: http://sourceforge.net/mail/?group_id=170565 Check Sourceforge for updates: http://sourceforge.net/projects/xc3sprog/develop Using built-in device list Using built-in cable list Cable ftdi type ftdi VID 0x0403 PID 0x6010 Serial 200300730484 dbus data 00 enable 0b cbus data 00 data 00 Using Libftdi, Using JTAG frequency 1.500 MHz from undivided clock No JTAG Chain found USB transactions: Write 5 read 2 retries 0 ``` I am able to program the board using the Xilinx tools, so I don't think that the board is faulty. Best, Joe. On Sun, Jun 26, 2016, at 11:11 AM, Uwe Bonnes wrote: > >>>>> "Joe" == Joe Hermaszewski <xc3...@su...> writes: > > Joe> The Genesys2 has a FT2232H FTDI chip connected to the JTAG ports > on > Joe> the FPGA, a XC7K325T-2FFG900C. It seems as though all the pieces > Joe> are there to enable programming this board with xc3sprog, > however I > Joe> can't quite get it to work. > > Joe> Programming with cable type `ftdi` or `jtaghs1` produces the > error > Joe> message: > > Joe> ``` Using Libftdi, No JTAG Chain found ``` > > Joe> Programming with other cable types gets less far, for example > the > Joe> `jtaghs2` or `ftdijtag` cable types are not even able to find > the > Joe> device. > > Joe> ``` Could not open FTDI device (using libftdi): device not found > Joe> Unable to access FTDI device with either libftdi or FTD2XX ``` > > Joe> What options do I have for debugging this? Perhaps there are > tweaks > Joe> I can make similar to what was done for the `nexys4` cable type. > > Does the FTDI get recognised when plugged? Look e.g. with "dmesg". > If it gets recognized, do you have decent access rights on that device? > If > xc3sprog recognises the device when running as root, change the udev > rules. > > And when the device gets recognized and you have access and then > connection > still fails, check the connection on the board. > > Hope this helps > -- > Uwe Bonnes bo...@el... > > Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt > --------- Tel. 06151 1623569 ------- Fax. 06151 1623305 --------- |