Post Info TOPIC: C Program only runs on NIOS 2 IF a printf is in the code.
Anonymous

Date:
C Program only runs on NIOS 2 IF a printf is in the code.
Permalink   


Hello,

I am working on a bigger project with VGA and keyboard and now I have made a "handshake communication" between the nios and a ram-controller. This is just so that i am not loosing any new input to the ram.

But this works very slowly, and with signal tap i have found out that it is nios that are extremly slow on reading the PIO as i use as a flag to tell when its okey to send next character.

I think the problem is for me in ecplise somewhere, for some reason i can not run ANY program that does not include a printf. It is like the compiler is optimizing away the code. Let me show you some examples that in my opinion should work but does not, not even on other nios system that i have created just to try, some small simple ones.

 

I didn't find the right solution from the internet.

References:

https://www.alteraforum.com/forum/showthread.php?t=40554

Service Overview Video Examples



__________________
Page 1 of 1  sorted by
 
Tweet this page Post to Digg Post to Del.icio.us


Create your own FREE Forum
Report Abuse
Powered by ActiveBoard