Forum Discussion
Altera_Forum
Honored Contributor
15 years agoProgramming Cyclone III (EP3C16Q240C8N) on ARM board
Hi
My interest is to know if someone have try to install Quartus II programmer on a ARM linux and if it worked? My second interest is to see the source code that do that. I have not see the source code of Quartus II Programmer, is it available? My last question is if anybody have any suggestion of open source project that could do the programmation of cyclone III using USB blaster or JTAG? Best Regards, Kevyn-Alexandre14 Replies
- Altera_Forum
Honored Contributor
--- Quote Start --- OK thx. Do they think of doing it? I mean the ARM port and maybe not the open source option? --- Quote End --- Unlikely. --- Quote Start --- That will not work with my setup since I'm having a ARM board + USB cable + [FX2 micro controller] + FPGA. I don't have a Fpga with nios and so I'm not able to use usbip. --- Quote End --- You misunderstand. USBIP would run on the ARM processor, and it allows the USB-Blaster USB connection to be accessed from another machine as a local USB port. This allows an x86 machine running Quartus to 'attach' to the USB port on your ARM processor. Quartus then sees the USB device as a locally attached USB-Blaster. --- Quote Start --- By the way I went to LinuxCon at Vancouvers and at the USB mini-summit they talk of a possible rewrite / replacement for the usbip : http://hansdegoede.livejournal.com/ Hans have made nice and interesting presentation on the subject and offer a interesting solution on the user space... http://events.linuxfoundation.org/events/linuxcon/goede --- Quote End --- Cool! Thanks for the links. --- Quote Start --- Thx for the link but that link discuss about PS & FPP why not using JTAG? What's the benefit of using these 2? --- Quote End --- Because JTAG is slow (and so is PS). If you need an FPGA loaded fast, then FPP is the solution. --- Quote Start --- any open source project using these technics? --- Quote End --- There is nothing really 'open-source' about PS and FPP. They just documented methods for configuring an FPGA. --- Quote Start --- I found this anyone have play with this? http://sourceforge.net/projects/urjtag/ --- Quote End --- I haven't played with the UrJTAG tools. However, that is the site that has the most details on the USB-Blaster protocol. You can use that information to control your USB-Blaster from FTD2XX DLLs or libusb and libftdi. However, even with that knowledge, you still cannot program your FPGA via JTAG, without the protocol for converting an .sof or .pof or .rbf file into a JTAG data stream. You could reverse engineer that using a logic analyzer though. Cheers, Dave - Altera_Forum
Honored Contributor
--- Quote Start --- Its not possible. ... No, its not available. --- Quote End --- OK thx. Do they think of doing it? I mean the ARM port and maybe not the open source option? --- Quote Start --- If you have the USB-Blaster connected to the USB port on the ARM processor, and that ARM processor is running Linux, then you can look at the USBIP project: http://usbip.sourceforge.net/ I tested the following configuration; Freescale PowerPC QorIQ P2020 COM Express running Linux, with the BeMicro-SDK board plugged into the USB port (the board has an on-board USB-Blaster), and then ran USBIP server on that board. I had a USBIP client running on an Ubuntu 11.04 x86 64-bit laptop, and could program the BeMicro-SDK. --- Quote End --- That will not work with my setup since I'm having a ARM board + USB cable + [FX2 micro controller] + FPGA. I don't have a Fpga with nios and so I'm not able to use usbip. By the way I went to LinuxCon at Vancouvers and at the USB mini-summit they talk of a possible rewrite / replacement for the usbip : http://hansdegoede.livejournal.com/ Hans have made nice and interesting presentation on the subject and offer a interesting solution on the user space... http://events.linuxfoundation.org/events/linuxcon/goede --- Quote Start --- However, if you are designing an ARM board with an FPGA, you can just programming the FPGA directly ... http://www.ovro.caltech.edu/~dwh/carma_board/fpga_configuration.pdf (http://www.ovro.caltech.edu/%7edwh/carma_board/fpga_configuration.pdf) But you would not have access to the SignalTapII logic analyzer, NIOS debugger, etc, using this latter method. --- Quote End --- Thx for the link but that link discuss about PS & FPP why not using JTAG? What's the benefit of using these 2? any open source project using these technics? I found this anyone have play with this? http://sourceforge.net/projects/urjtag/ Best Regards, kap - Altera_Forum
Honored Contributor
Not really sure what you need, but you might also be interested in a STAPL player. IIRC, there's some source code available for that.
http://www.altera.com/support/devices/tools/jam/tls-jam.html - Altera_Forum
Honored Contributor
--- Quote Start --- My interest is to know if someone have try to install Quartus II programmer on a ARM linux and if it worked? --- Quote End --- Its not possible. --- Quote Start --- My second interest is to see the source code that do that. I have not see the source code of Quartus II Programmer, is it available? --- Quote End --- No, its not available. --- Quote Start --- My last question is if anybody have any suggestion of open source project that could do the programmation of cyclone III using USB blaster or JTAG? --- Quote End --- If you have the USB-Blaster connected to the USB port on the ARM processor, and that ARM processor is running Linux, then you can look at the USBIP project: http://usbip.sourceforge.net/ I tested the following configuration; Freescale PowerPC QorIQ P2020 COM Express running Linux, with the BeMicro-SDK board plugged into the USB port (the board has an on-board USB-Blaster), and then ran USBIP server on that board. I had a USBIP client running on an Ubuntu 11.04 x86 64-bit laptop, and could program the BeMicro-SDK. However, if you are designing an ARM board with an FPGA, you can just program the FPGA directly ... http://www.ovro.caltech.edu/~dwh/carma_board/fpga_configuration.pdf (http://www.ovro.caltech.edu/%7edwh/carma_board/fpga_configuration.pdf) But you would not have access to the SignalTapII logic analyzer, NIOS debugger, etc, using this latter method. Cheers, Dave