Altera_Forum
Honored Contributor
20 years agocal_uart(with fifo) + NIOSserial.c
As we know, we need uart with fifo to enchance the performance. So we got the cal_uart from Altera, which should tested by ourselves because it is not provided officially by altera.
Now we use cal_uart with 16 byte rx_fifo, 16 byte tx_fifo. We hope the fifo is transparent to linux driver, so the linux driver is still NIOSserial.c, which we changed nothing. But we got : 0. U-boot access the UART sucessful during rx, tx. We think U-boot using pool methed. Is it right? 1. tx data is successful 2. rx data is abnormal. After linux startup, linux will reboot immediately after we receive any data by cal_uart. 3. We try to debug NIOSserial.c using printk . Is it right way to debug in UART driver? thank u in advance.