Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12435 Discussions

Get stdout from Nios (JTAG) to custom application on a PC

GK4
Beginner
424 Views

Hello,

 

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:

https://forums.intel.com/s/feed/0D50P00003yyTk4SAE

https://forums.intel.com/s/feed/0D50P000045gccwSAA

 

But I wasn't able to create a "listener".

 

I tried to fiddle manually with the GDB server:

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/nios2/edh_ed51004.pdf

But I wasn't able to find the correct commands/configuration to read the stdout from the slave.

 

Any help would be appreciated.

 

0 Kudos
3 Replies
Fawaz_J_Intel
Employee
205 Views

Hello,

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.

 

Thanks

GK4
Beginner
205 Views

Hello,

Thank you for the information.

Is this planned? Or do we have to expect that there will never be a some sort of API to communicate with custom software over JTAG/UART?

I mean there was something like the jtag-atlantic DLL.

Fawaz_J_Intel
Employee
205 Views

hello,

I have checked with our internal team, there is no current plan for that.

Thanks

Reply