-
My board does not have a uart port. Is there any way to use printf without it? Altera's NIOS II and V use JTAG UART. Is this supported? Can be it used for printf-like calls? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @ecstrema!
I have never used this JTAG UART myself. As far as I understand the concept, it is not a bridge that "tunnels" the UART signals (TX & RX) through JTAG, but it is a memory-mapped device where you can read and write complete bytes via bus accesess. This also requires a special terminal program on the host side.
Sure, but it won't work with the default software framework. But you could adjust that so UART data is written/read to/from the JTAG UART module via dedicated bus accesses.
Do you have any general purpose IO headers on your board? Then you could use an external UART-USB bridge (like the cheap FTDI boards). |
Beta Was this translation helpful? Give feedback.
Hey @ecstrema!
I have never used this JTAG UART myself. As far as I understand the concept, it is not a bridge that "tunnels" the UART signals (TX & RX) through JTAG, but it is a memory-mapped device where you can read and write complete bytes via bus accesess. This also requires a special terminal program on the host side.
Sure, but it won't work with the default software framework. But you could adjust that so UART data is written/read to/from the JTAG UART module via dedicated bus accesses.
Do you have any ge…