Forum Discussion
Altera_Forum
Honored Contributor
14 years agoCrash
Hi, some months ago I made a program in C++ in MicroC/OS-II installed on FPGA programmed with NIOS processor on Altera board. The software was composed of three threads that mad...
Altera_Forum
Honored Contributor
14 years agoPossibly you were having problems with stack overflow. Which might require an interrupt to happen at the maximum stack depth - so wouldn't be that common.
Adding extra code might have increased the stack depth - making the overflow more likely. I don't know how much stack things like 'cout' end up using - but it could be considerable.