I am trying to read stdouts from my Nios from JTAG-UART with the JTAG UART Intel FPGA IP in the system console (is this the right place?).
That's because I want to be able to read the output and analyse it with my own software (stdin and out from the console to my application).
With the GDB debugger I am able to read and write, but I need to be able to hot swap the pc where the application is running.
I read some forum entries:
But I wasn't able to create a "listener".
I tried to fiddle manually with the GDB server:
But I wasn't able to find the correct commands/configuration to read the stdout from the slave.
Any help would be appreciated.
We dont have such solution.
You can only change stdin/stdout if you have a real UART port in your board. In this case, you can port stdin/stdout to that UART, and this UART is connected to PC where you can run your custom application and read the data.