Forum Discussion
Altera_Forum
Honored Contributor
11 years agoData from FPGA to host
Hi, I have a DE0-nano board and I compute data (only 4 bits generated at about 10MHz) and I'd like to communicate it to the host cpu through the USB-blaster so programs could read it. I've read th...
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- What I wonder is if it's easy to pass data from the console to the host programs (other than Altera) --- Quote End --- Altera do not provide a simple method for user-coded software to interface to their USB-Blaster components, i.e., what you would like is a shared library you could call into that would play nicely with simultaneous operation of SystemConsole, SignalTap II, and other Quartus software. --- Quote Start --- or maybe I should run them in the console. Is it possible? How? And as I don't care a communication from the host to the design (only from the design to the host), can't I use a simpler way of doing it? --- Quote End --- The solutions I show in the tutorial above involve running a server in SystemConsole, and then using a TCP/IP connection from your custom code. If you do not care about running Altera's software in parallel with your code, you can use the FTDI driver to access the USB-Blaster directly. Although that involves decoding Altera's custom (and undocumented) protocols. Cheers, Dave