Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12453 Discussions

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

Altera_Forum
Honored Contributor II
859 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