Forum Discussion
Altera_Forum
Honored Contributor
9 years agoUART 16550 vs standard UART
Hi all,
is there a simple way of replacing the standard UART, which is in all examples, with the UART16550? I mean, that simply all stdin/stdout/stderr goes to the UART16550? I can only have one UART in the system, and would remove then the standard UART ... Thanks!18 Replies
- Altera_Forum
Honored Contributor
--- Quote Start --- No. I had the "standard" UART in before, got my application working, but needed one with a FIFO. So tried to get the 16550-UART to work, without success. What I'm really trying is to get the RSU working (application note 741), so my NIOS system is pretty simple, basically using the AN-741 template, and replacing the UART in it with the 16550-UART. Any chance anybody else can try it? --- Quote End --- And, all of this is done on MAX10, and the Altera DK-DEV-10M50 board... - Altera_Forum
Honored Contributor
Sorry that I am confused. For your working design, you must have seen the RS232 UART in BSP setting. But you are saying that you get "none".
So which is correct? - Altera_Forum
Honored Contributor
--- Quote Start --- Sorry that I am confused. For your working design, you must have seen the RS232 UART in BSP setting. But you are saying that you get "none". So which is correct? --- Quote End --- No problem ;-) what I did: a.) used the RSU AN741 template, generated a NIOS system, with an UART, which was working, I could "see" the UART in the BSP-Editor. However, the performance for our application wasn't sufficient, so we tried to install the 16550-UART, which has big FIFOs, which we thought would improve the performance on the serial line. b.) We added the a_16550_uart to our QSYS design, but it doesn't show up in the BSP editor. Only the "standard" uart_0 is there. c.) we removed the standard uart_0 from the QSYS, and now there aren't any UART anymore to select in the BSP editor. So, what are we doing wrong, that the a_16550_uart doesn't show up in the BSP editor, as an UART for stdin/stdout/stderr? thanks! - Altera_Forum
Honored Contributor
I have tried to replicate your issue and observed the same behavior.
Most likely this is due to the HAL driver for 16550 UART is not ready for such BSP configuration :( - Altera_Forum
Honored Contributor
--- Quote Start --- I have tried to replicate your issue and observed the same behavior. Most likely this is due to the HAL driver for 16550 UART is not ready for such BSP configuration :( --- Quote End --- Thanks a lot for trying! I was going nuts, as I thought I'm doing something wrong, and in other posts it sounded to easy ;-) Altera: any chance to fix this? Thanks again! - Altera_Forum
Honored Contributor
This issue has been logged. Let's look forward to the fix in near future :)
- Altera_Forum
Honored Contributor
--- Quote Start --- This issue has been logged. Let's look forward to the fix in near future :) --- Quote End --- Excellent! Will there be a patch, or do we have to wait for 16.3 or 17.0? Thanks! - Altera_Forum
Honored Contributor
The delivery milestone is undecided at the moment.