Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Data transfer

Altera_Forum
Honored Contributor II
1,044 Views

After having captured data from an ADC and stored it to the SDRAM on the DE0-Nano, what's the best way to transfer this data to the PC?  

 

I am currently just sending it over the JTAG UART using printf commands, but this is very slow and because I have to use the nios2-terminal I can't do anything more low level. Presumably I would see a speed increase if I just used a UART out to the pins and then a serial-USB adapter. Does anyone have any other suggestions? 

 

Thanks 

 

Bert
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
199 Views

WIthout really doing much work, you could add the JTAG Avalon-MM Master and switch over to writing TCL scripts within system-console to directly grab the buffer contents out of SDRAM. 

 

http://www.alterawiki.com/wiki/system_console
0 Kudos
Altera_Forum
Honored Contributor II
199 Views

 

--- Quote Start ---  

 

Does anyone have any other suggestions? 

 

--- Quote End ---  

 

 

Using the USB-Blaster as an Avalon-MM master is described in this tutorial; 

 

http://www.alterawiki.com/wiki/using_the_usb-blaster_as_an_sopc/qsys_avalon-mm_master_tutorial 

 

FTDI have a series of USB-to-FIFO and USB-to-UART cables that also work well. Using these cables allows you to avoid using any Altera tools for communications. 

 

http://www.ovro.caltech.edu/~dwh/correlator/pdf/ftdi.pdf 

 

http://www.digikey.com/product-detail/en/c232hm-ddhsl-0/768-1106-nd/2714139 

 

Cheers, 

Dave
0 Kudos
Reply