Forum Discussion
Altera_Forum
Honored Contributor
14 years agoYour first problem is probably sorting out the stack used by calls into the OS.
One thing that can help stack problems is to use a dedicated interrupt stack. You then don't need to allow space for the interrupts on all the stacks, and don't have issues when an IRQ interrupts code near to the stack limit. I don't know anything about the OS you are using... all the IO boards I've used run 'bare board', usually manage to write a buffer manager and interrupt scheme but that is about it, don't bother with any blocking calls and task switching.