Altera_Forum
Honored Contributor
21 years ago"Use separate stack for interrupts" corruption?
Hi!
I have a program that runs on a NiosII, with 5 threads, and 2 interrupt sources (interrupting every 10 seconds, very slow). The fact is that I don't check the "Use separate stack for interrupts" in "eCos HAL" -> "HAL interrupt handling" in eCos lib generation, my program crashes. Sometimes it says is a stack corruption, sometimes is an assert in the scheduler code... I think suppose that, with this few interrupt sources, this data corruption shouldn't occur... but it does... I've also tried it without generating anyinterrupt (except the timer, obviously), and it's the same. Any idea about why is it happening? Thank you Alex Bueno