Forum Discussion
Altera_Forum
Honored Contributor
15 years agoprintf() problem after IOWR and IORD
Hi I faced to a problem with prinf() function.. in my C code when I wrote printf() after IOWR nothing was displayed out. but all the printf()s before IOWR were displayed in the jtag window. I ...
Altera_Forum
Honored Contributor
15 years agoIt requires a short time from when you send the printf and when the string is actually displayed in console pane because data needs to be trasmitted out of jtag uart. I believe the printf simply sends the data to the jtag driver transmit queue. So, if your program terminates before the transmission has completed, you will not see any data. Try adding a delay loop after the last printf, before exiting the program.