Forum Discussion
Altera_Forum
Honored Contributor
16 years agoJtag uart output to a file?
Hi all, Is it possible to print or write the output of a jtag uart to a text file in pc? I had read that altera zip read only host system require flash memory but I dont want to use flash. My m...
Altera_Forum
Honored Contributor
16 years agoOne obvious solution is to launch the nios2-terminal and redirect it's standard output to a file.
I do wonder what you'll be gaining with a filesystem as far as efficiency. It sounds like you'll still be using printf statements so you'll suffer the overhead of that function regardless. You'll still be using the jtag uart to pass the data to the PC which is inherently slow. You can always use Altera host-based filesystem which creates a filesystem accessible to the NIOS via JTAG if that's what you're looking for. See page 6-15 of the following: http://www.altera.com/literature/hb/nios2/n2sw_nii5v2_02.pdf Jake