Discussion:
[OpenRISC] Digilent Atlys board
Francisco Nunes
2014-07-30 12:18:13 UTC
Permalink
Hello all,

I'm trying to connect OpenOCD to this board using the digilent programming
port which is connected to a Cypress chip CY7C68013A. It seem that this
chip needs some firmware upload before it can be communicated with. I found
one project that claims it has succesfully programmed a digilent nexys 1/2
board by compiling some firmware. I cannot compile due to an error:

$ make
sdas8051 -plosgff vectors.a51
sdcc -c -mmcs51 --no-xinit-opt -Ifx2 -Dhw_nexys usbjtag.c -o usbjtag.rel
fx2/fx2regs.h:73: syntax error: token -> 'at' ; column 9
make: *** [usbjtag.rel] Error 1

The project is in: http://ixo-jtag.sourceforge.net/ .

Thank you all,
Francisco Nunes.
João Fernandes
2014-07-30 14:11:24 UTC
Permalink
Hello Francisco,

Have you tried using the digilent cable drivers included in the Xilinx ISE?
Check first if when you connect the Atlys through the usb cable to your
computer it gets enumerated. You can check it through dmesg something like
this should show up.

[35217.761340] usb 2-2: New USB device found, idVendor=1443, idProduct=0007
[35217.761343] usb 2-2: New USB device strings: Mfr=1, Product=2,
SerialNumber=0

The Digilent cable drivers is installed
at /etc/udev/rules.d/52-digilent-usb.rules . If you don't want to install
Xilinx ISE you can also install Digilent adept plugins.

Best Regards,
João Fernandes
Post by Francisco Nunes
Hello all,
I'm trying to connect OpenOCD to this board using the digilent programming
port which is connected to a Cypress chip CY7C68013A. It seem that this
chip needs some firmware upload before it can be communicated with. I found
one project that claims it has succesfully programmed a digilent nexys 1/2
$ make
sdas8051 -plosgff vectors.a51
sdcc -c -mmcs51 --no-xinit-opt -Ifx2 -Dhw_nexys usbjtag.c -o usbjtag.rel
fx2/fx2regs.h:73: syntax error: token -> 'at' ; column 9
make: *** [usbjtag.rel] Error 1
The project is in: http://ixo-jtag.sourceforge.net/ .
Thank you all,
Francisco Nunes.
_______________________________________________
OpenRISC mailing list
http://lists.openrisc.net/listinfo/openrisc
Francisco Nunes
2014-07-30 14:45:10 UTC
Permalink
Hi João,

I have the same output for dmesg and it is enumerated through the command
"djtgcfg enum", giving the output:

$ djtgcfg enum
Found 1 device(s)

Device: Atlys
Product Name: Atlys
User Name: Atlys
Serial Number: 210178399691

I have the digilent utilities installed and I can upload the .bit file
using the djtgcfg command after issuing "djtgcfg init -d Atlys".

Can OpenOCD use the driver ?

Thank you very much,
Francisco Nunes.
Post by João Fernandes
Hello Francisco,
Have you tried using the digilent cable drivers included in the Xilinx
ISE? Check first if when you connect the Atlys through the usb cable to
your computer it gets enumerated. You can check it through dmesg something
like this should show up.
[35217.761340] usb 2-2: New USB device found, idVendor=1443, idProduct=0007
[35217.761343] usb 2-2: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
The Digilent cable drivers is installed
at /etc/udev/rules.d/52-digilent-usb.rules . If you don't want to install
Xilinx ISE you can also install Digilent adept plugins.
Best Regards,
João Fernandes
Post by Francisco Nunes
Hello all,
I'm trying to connect OpenOCD to this board using the digilent
programming port which is connected to a Cypress chip CY7C68013A. It seem
that this chip needs some firmware upload before it can be communicated
with. I found one project that claims it has succesfully programmed a
digilent nexys 1/2 board by compiling some firmware. I cannot compile due
$ make
sdas8051 -plosgff vectors.a51
sdcc -c -mmcs51 --no-xinit-opt -Ifx2 -Dhw_nexys usbjtag.c -o usbjtag.rel
fx2/fx2regs.h:73: syntax error: token -> 'at' ; column 9
make: *** [usbjtag.rel] Error 1
The project is in: http://ixo-jtag.sourceforge.net/ .
Thank you all,
Francisco Nunes.
_______________________________________________
OpenRISC mailing list
http://lists.openrisc.net/listinfo/openrisc
João Fernandes
2014-07-30 15:31:57 UTC
Permalink
Hi,

Sorry I misunderstood your first question and didn't think about the
possible openocd problem. I don't know if openocd can support this
configuration with the cypress FX2 but i will give a try.

João Fernandes
Post by Francisco Nunes
Hi João,
I have the same output for dmesg and it is enumerated through the command
$ djtgcfg enum
Found 1 device(s)
Device: Atlys
Product Name: Atlys
User Name: Atlys
Serial Number: 210178399691
I have the digilent utilities installed and I can upload the .bit file
using the djtgcfg command after issuing "djtgcfg init -d Atlys".
Can OpenOCD use the driver ?
Thank you very much,
Francisco Nunes.
Post by João Fernandes
Hello Francisco,
Have you tried using the digilent cable drivers included in the Xilinx
ISE? Check first if when you connect the Atlys through the usb cable to
your computer it gets enumerated. You can check it through dmesg something
like this should show up.
[35217.761340] usb 2-2: New USB device found, idVendor=1443,
idProduct=0007
[35217.761343] usb 2-2: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
The Digilent cable drivers is installed
at /etc/udev/rules.d/52-digilent-usb.rules . If you don't want to install
Xilinx ISE you can also install Digilent adept plugins.
Best Regards,
João Fernandes
Post by Francisco Nunes
Hello all,
I'm trying to connect OpenOCD to this board using the digilent
programming port which is connected to a Cypress chip CY7C68013A. It seem
that this chip needs some firmware upload before it can be communicated
with. I found one project that claims it has succesfully programmed a
digilent nexys 1/2 board by compiling some firmware. I cannot compile due
$ make
sdas8051 -plosgff vectors.a51
sdcc -c -mmcs51 --no-xinit-opt -Ifx2 -Dhw_nexys usbjtag.c -o usbjtag.rel
fx2/fx2regs.h:73: syntax error: token -> 'at' ; column 9
make: *** [usbjtag.rel] Error 1
The project is in: http://ixo-jtag.sourceforge.net/ .
Thank you all,
Francisco Nunes.
_______________________________________________
OpenRISC mailing list
http://lists.openrisc.net/listinfo/openrisc
Loading...