Altera_Forum
Honored Contributor
19 years agoWeird Operation With Out PRINTF
Is anyone experiencing weird problems if you don't use any printf's in the main loop?
I am having problems with using the DMA to transmit data using a UART. The UART transmits junk data (the correct number of bytes just not the correct bytes) when the printf is absent from my main loop. If I place the printf in the main loop everthing works fine. I think I also experience something similar with uClinux. From what I can remember (a month ago), my thread would not process unless I had a printf in my main loop. Has anyone else had any experiences similar to these? Thanks in advance.