EDA Blog - electronic design automation, embedded systems, ic

Share/BookmarkSubscribe

Express Logic StackX Determines Stack Size

Posted by Ken Cheung in EDA Tools on Tuesday, March 31, 2009

StackX, from Express Logic, is a development tool that helps embedded systems developers avoid stack overflow problems. StackX performs a comprehensive analysis of a complete application at the executable code level, computing the worst-case stack usage the application can experience. StackX is available from Express Logic at a price of $1,000 per developer for a perpetual license.

StackX computes the required stack size automatically for developers, enabling them to allocate just the amount of memory needed to be safe, and avoid wasting any additional, unnecessary memory. StackX analyzes a program’s executable (.elf) file, mapping all function calls, interrupt service routines, local variables, and any other factors related to stack usage. This enables StackX to calculate each thread’s maximum stack memory requirements. StackX produces a “call-tree” that shows the maximum stack usage for each thread. This enables developers to see their program flow and assists them in optimizing their code.

StackX employs a proprietary, patent-pending algorithm that is accurate, efficient, and only requires an “.elf” file. While it may be used with any .elf file, StackX has particular visibility into ThreadX RTOS-based applications, with its thread-aware stack size calculation. It recognizes recursion conditions, where infinite memory would be required to avoid potential overflow, so programmers can correct the code, rather than attempt to allocate more memory.

More info: Express Logic

Related Posts with Thumbnails

Custom Search

EDA Blog Newsletter
Don't have time to visit EDA Blog everyday? Then sign up for our free newsletter. We'll send you an email when we have something to share with you. Your email address will be kept confidential and we will not share, sell, or rent it to anyone. You can unsubscribe at any time by clicking a link in the email.

Enter your email address to sign up for our free newsletter:  

If you are familiar with RSS feeds, you can also sign up for our free blog feed. Our RSS feed is updated in real-time while our newsletter is updated daily.