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++
12652 Discussions

JTAG UART in no interrupt mode .... ie non buffered

Altera_Forum
Honored Contributor II
1,186 Views

To assist in debugging, is it possible to configure the JTAG UART vie it's device driver to run in a non buffered mode , non- interrupt ...  

This would mean that the string to stdout would be processed immediately and not posted to a buffer where it is handled in parallel with the program flow. 

This way, if the program execution hangs due to a write or read to a bad address, the printf / stdio output will be in synch with the program flow ... 

 

I know there is a device driver that tells the stdio device it can time out if no "terminal" is connected .. so it would be something like that an ioctl call ... 

 

 

 

Thanks, Bob.
0 Kudos
0 Replies
Reply