Forum Discussion
Altera_Forum
Honored Contributor
15 years agoIt could be that the SRAM write operation is failing and then preventing the rest of your program to execute (inc counter variables etc).
Try removing/commenting the SRAM commands leaving the basic loop structures and printf commands in place. Re-run your software and make sure that the printf statements are executing correctly and debugging to your JTAG UART (I assume this is your printf device). The SRAM controller component in SOPC builder - is this the one included with the University Program IP cores or default Altera-provided component?