Forum Discussion
Altera_Forum
Honored Contributor
16 years agoPrint Nios II Console
I am outputing a large amount of debug data to he NIOS II console and need to be able to check this . Is there a way of saving the contents of the console to a file or print it out. All help w...
Altera_Forum
Honored Contributor
12 years agoHi all,
my colegue make this script, which work (every 10 minutes save one log file) ------------------------- # !/bin/sh x=0 while [ 1 ] ; do echo 'begin save data...' nios2-terminal > ukladam$x.csv & sleep 600 echo 'end saving data...' # kill nios2-terminal ps -ef | grep "nios2-terminal" | awk '{print $2}' | xargs kill # increment variable x=$(($x+1)) done ---------------------- Now it works ! :) Jan Naceradsky