- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 would be appreciatedLink Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you can try nios2-terminal > log.txt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is fine, i need to log some data from my board.
And was it possible to make some script, which can to log the data from jtag uart to one file every maybe 5 minutes ? I mean every 5 minutes it creates one file ... log0905.txt at 9:05, log0910.txt at 9:10 ...etc.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi 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
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page