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++
12612 Discussions

save the values from nios 2 console

Honored Contributor II


hi,i am able to print a set of values to nios 2 console (


the values are too large . so need to save the data for further evaluation. how can i do that ? i need to see it i nios 2 console also, is there any options like enable a log file or something ? ( like above i can do that , but then its not possible to see it in terminal, when i tried at the same time , the first error came and i stopped nios 2 terminal, then its saving to a text file. 

and when i try to do it in run configuration, (


its not the nios 2 console is saving to the text file, its console is saving to the text file like below. 

using cable "cv sockit [usb-1]", device 1, instance 0x00 

pausing target processor: ok 

initializing cpu cache (if present) 



downloading 00020000 ( 0%) 

downloading 000316a8 (90%) 

downloaded 70kb in 0.1s  


verifying 00020000 ( 0%) 

verifying 000316a8 (90%) 

verified ok  

starting processor at address 0x00020230 



is there any way that print it in nios 2 console and at the same time it will save from nios 2 console? 


update:: i am using windows 7 


thanks and regards
0 Kudos
1 Reply
Honored Contributor II

If you want to copy from the Nios II Console and then past to a text editor , you can try this to see if it works... 


save printf output from nios ii console: 

• Currently using Eclipse from Quartus Prime 17.0. Not sure if this works in other versions. 

• I have not found this documented anywhere, just found it by trial and error. 

• Prior to clicking the run button, kill the Nios II Console window if it is open. It will re-open when it starts running. 

• During/after run has executed, select text in Nios II Console window. 

• Select Ctrl-Insert key combination. It should now be copied to the clipboard. 

• Paste with Ctrl-v. 

• This only seems to work once. Must kill window and re-run to do another copy/paste.
0 Kudos