[En-Nut-Discussion] Correction to previous post and more info

Ralph Mason ralph.mason at telogis.com
Fri Nov 21 20:16:16 CET 2003


Another cause may be lack of stack space. It may work
> hundreds of times and suddenly fail, because an interrupt
> routine uses 20 Bytes of stack, when nothing is available.
> This problem is discussed in
> http://www.ethernut.de/pdf/enmem100.pdf

I think an interrupt stack would be a very good idea in general. Means that
stack usage is more deterministic.  It also means every thread doesn't need
enough space for it's self and the largest interrupt handler.

Ralph




More information about the En-Nut-Discussion mailing list