Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- Everything is possible, but using JTAG directly isn't documented so you are on your own and must reverse engineer a lot. --- Quote End --- Altera has documented their SLD Virtual JTAG component; http://www.altera.com/literature/ug/ug_virtualjtag.pdf‎ and I have documented how to use it in detail here: http://www.ovro.caltech.edu/~dwh/correlator/pdf/vjtag.pdf --- Quote Start --- I really think learning to use SOPC Builder / QSys and system console would me a more productive use of your time ;) --- Quote End --- I agree. The protocol used by the Avalon-MM bridge is documented here: http://www.ovro.caltech.edu/~dwh/correlator/pdf/altera_jtag_to_avalon_analysis.pdf http://www.ovro.caltech.edu/~dwh/correlator/pdf/altera_jtag_to_avalon_analysis.zip You can use that information along with the USB-Blaster protocol http://sourceforge.net/apps/mediawiki/urjtag/index.php?title=cable_altera_usb-blaster To access the FTDI device directly and send JTAG-to-Avalon-MM bytes directly. However, you can also do the same thing using Tcl scripts. --- Quote Start --- You can find a tutorial here: http://www.alterawiki.com/wiki/using_the_usb-blaster_as_an_sopc/qsys_avalon-mm_master_tutorial (thanks Dave for reminding me about this tutorial in another thread!) --- Quote End --- This is also a good reference :) --- Quote Start --- For very simple tests (LEDs, buttons) you just need to use PIO components. For more complex interfaces or modules, you can write your own VHDL code and integrate it as a custom component in your SOPC design. --- Quote End --- Start with the Qsys tutorial and use System Console. Use the Tcl server that comes with that code and access it via C# or whatever language you like. Cheers, Dave