Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

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

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.
No RepliesBe the first to reply