Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

tools for reading jtag uart

Altera_Forum
Honored Contributor II
1,359 Views

Hello all,  

does somebody has some program or tools, which is able to read jtag uart and save data on disc ?  

I need to read ascii data from jtag uart and after saving on harddisk i need to work with this data - check this, make some maths operation and after this display. 

 

Thank you very much. 

 

Jan Naceradsky, Czech Republic 

 

(i know, that is possible to select all in Nios2 console and copy to notepad and after this save to file, but i must to make manually)
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
625 Views

You should be able to create something using the system console. See http://www.altera.com/literature/hb/qts/qts_qii53028.pdf. I think in particular bytestream_send and bytestream_receive. You can then write some TCL to save your data to a file and perform your operations. 

 

Cheers,
0 Kudos
Altera_Forum
Honored Contributor II
625 Views

Try using the System Console and writing your data capture PC application in TCL. 

 

I had similar requirement in a past project, and ended up deleting the JTAG UART and instead grabbed the data directly from RAM with a buffer handshake arrangement between the FPGA and the PC. 

 

Links to documentation and training are here: http://www.altera.com/products/software/quartus-ii/subscription-edition/qsys/systems/qts-systems-console.html
0 Kudos
Reply