Forum Discussion
Altera_Forum
Honored Contributor
15 years agoSystem hangs when c-code is smaller
Hello! A friend and I have programmed a NIOS-System using the Altera WebServer example as SOPC-Design. In the uCos we create three Tasks and do some decoding and output of encrypted audio-data,...
Altera_Forum
Honored Contributor
15 years agoIf you really think the problem is due to stack or heap you can try to increase their size or conversely reduce their usage. This latter can be done if your application uses several levels of nested calls or big local variables/arrays: reduce the nested calls and especially declare big variables inside functions as 'static'
Please note that problems similar to yours can often arise if you have timing problems. Is your fpga design fully constrained and does it meet timing?