Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

UART usage setting in Eclipse

ZhiqiangLiang
New Contributor I
237 Views

Hi,

I add 3 UART for NIOS in Platform Designer. please see the following picture.

 

The questions are:

1) how to specify which UART is for printf?

 

2) if I use the API IOWR_ALTERA_AVALON_UART_TXDATA to sent out data, how to specify which UART is used in this API?

 

ZhiqiangLiang_0-1746847548068.png

 

 

 

0 Kudos
4 Replies
KokkiangH_Altera
Employee
150 Views

I noticed a few posts from you with similar questions related to UART. I found this topic that may be a good reference for your project https://tomverbeure.github.io/2021/05/02/Intel-JTAG-UART.html, which have the introduction and steps to setup the UART and communicate with UART.

0 Kudos
ZhiqiangLiang
New Contributor I
137 Views

@KokkiangH_Altera 

Thank you for your reply!

The link you pasted above can't be accessed.

0 Kudos
KokkiangH_Altera
Employee
66 Views

Try this https://tomverbeure.github.io/2021/05/02/Intel-JTAG-UART.html

 

Please take note that this is not a document from Intel/Atera but it has good basic information about setting up UART.

0 Kudos
BoonBengT_Altera
Moderator
100 Views

Hi @KokkiangH_Altera,


Greetings, any inputs on the mention link as it seems not accessible.

Hope to hear from you soo.


Best Wishes

BB


0 Kudos
Reply