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.
12453 Discussions

Change STDOUT dynamically amongst UART RS232 and JTAG UART in C program

Altera_Forum
Honored Contributor II
851 Views

Hello, 

 

I have a UART(RS232 serial port) IP and a JTAG UART IP in my QSYS system. (UART RS232 is not the one by UP) 

In BSP editor, I get an option to select either of that as the STDOUT. What if I want to change STDOUT dynamically in C. 

Like if I select JTAG UART as STDOUT and I do printf, it sends on NIOSII console. What if I want to have one more printf and that should sent to UART(RS232 serial port). 

 

Any help will be appreciated.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
136 Views

Also whats difference between UART (RS232 Serial Port) and Altera 16550 Compatible UART IP ?? 

Anyone having any experience with this, please respond.
Reply