Results 1 to 2 of 2

Thread: How to save Nios II console contents.

  1. #1
    Join Date
    Oct 2016
    Posts
    1
    Rep Power
    1

    Default How to save Nios II console contents.

    In the NIOS EDS environment I need to save the contents of
    the NIOS console which displays the output of the
    printf statements. I have tried to copy from the window and
    paste into another program but it does not work.
    It is possible to redirect the window output to a file ?

    Thanks in advance for the help

  2. #2
    Join Date
    Aug 2004
    Location
    Texas Y'all
    Posts
    2,329
    Rep Power
    1

    Default Re: How to save Nios II console contents.

    I'm not sure but I do this a lot from the command line by downloading my code using nios2-download -g -r <elf file> and then I fire up a terminal with nios2-terminal. If you have a board with multiple devices on the JTAG chain, or multiple Nios/UARTs, or cables then there are more arguments to pass in so check out the help commands for those two to figure that out.

    If you want to dump the terminal to a file then it's just nios2-terminal >> my_file.txt which dumps the outputs to the file. >> is a standard linux command so you can google around to find out more about it.

Similar Threads

  1. Nios reading dual port memory contents very slow
    By elegantGuy in forum General Discussion Forum
    Replies: 4
    Last Post: January 7th, 2016, 01:16 AM
  2. Nios II Dual Port RAM memory contents not what expected
    By what the vhdl in forum General Discussion Forum
    Replies: 3
    Last Post: December 22nd, 2015, 01:11 PM
  3. How to save all the console content send by NIOS, into a file??
    By anuj121990 in forum General Discussion Forum
    Replies: 1
    Last Post: April 23rd, 2014, 11:37 PM
  4. Save NIOS II Console view to file
    By bensen in forum Quartus II and EDA Tools Discussion
    Replies: 7
    Last Post: December 7th, 2011, 03:11 AM
  5. How to use Nios to save the output of a module into a file in pc?
    By freelancer in forum General Discussion Forum
    Replies: 2
    Last Post: March 25th, 2010, 11:58 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •