Forum Discussion
Altera_Forum
Honored Contributor
11 years agousing open() C command in the Nios II
Hi, can we used open() and printf() C commands to save stream of data in the Nios II? when I used fp=open() Command, it send Null to fp pointer.How can I store my integer data? Thanks
Altera_Forum
Honored Contributor
11 years agoThe JTAG UART works just like a regular UART, but is using the JTAG connection, e.g. your USB Blaster. Note that the JTAG UART is quite slow. If you generate data faster than your UART is running you will experience data loss due to overrun. Check that your UART is fast enough to handle your data rate. You can enable the JTAG UART in your NIOS software.
Check by lowering the speed of your real UART if you're having signal integrity problems. If it gets worse you're problem might be related to overruns.