[En-Nut-Discussion] Stack Overflow Check

Jared Broad jared.broad at infact.co.nz
Mon Sep 10 04:13:26 CEST 2007


Hello List,

We believe we are encountering stack overflow issues with a
multithreaded NutOS application on an ATMega128. Is there any way to
check this? Some sort of Thread-Stack Overflow Monitor I can include to
detect an overflow?

We have found NutHeapAvailable() but appears to only return the global
heap and is not specific to each thread-stack?

We have looked through the NutOS API and it does not look like there is
a method to do this,

Thanks for any help,

Jared Broad
Embedded Design Engineer


P.O.Box 27-017
Unit 5 Amuri Park
404 Barbadoes St
Christchurch
New Zealand

Tel. +64 3 3777316
Fax. +64 3 3777318

www.infact.co.nz

Unless stated otherwise opinions expressed are those of the author and
do not necessarily reflect the position of InFact Ltd.  This email is
only intended to be read by the named recipient. It may contain
information that is confidential, proprietary or subject to legal
privilege.  If you are not the intended recipient please notify the
sender immediately and delete this email. You may not use any
information contained in it.  Legal privilege is not waived because you
have read this email.

 



More information about the En-Nut-Discussion mailing list