Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

How to save all the console content send by NIOS, into a file??

Hello,

I have a NIOS processor in my system and it sends lot of data on the NIOSII console.

Due to huge data size, the previous data goes off.

How can I save my whole console data in a file??

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    If this is Linux you can use the script command to log all output to a file

    script my-log-file
    nios2-terminal  #  assuming you have all path's set up
    exit
    

    If you're using an UART for your console you could use a program like kermit and just do a 'log session' which will log all output to a session.log file.