Forum Discussion
Altera_Forum
Honored Contributor
14 years agoThat can't be. Most likely fopen is dead-locked and preventing the stdout from flushing out the printf. Try doing a fflush (stdout) after the printf and before the fopen. I am assuming that main is getting called and that if the fopen call is not there, you do see the printf output.
If the fopen is hanging, something must be wrong with the device it is trying to access. I am not too familiar with the uClinux/DE0 setup combination.