• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » Low Power RF ZigBee® Software & IEEE 802.15.4 Forum » How to get more INT_HEAP_LEN in Z stack 2.5.0 for CC2530
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

How to get more INT_HEAP_LEN in Z stack 2.5.0 for CC2530

How to get more INT_HEAP_LEN in Z stack 2.5.0 for CC2530

This question is not answered
Rui Zhang69778
Posted by Rui Zhang69778
on Mar 30 2012 10:55 AM
Genius4505 points

CC2530 suppose to have 8K RAM which is larger than CC2430 4K. However, when I port our CC2430 based project into new CC2530, the current INT_HEAP_LEN is too large and I need to reduce it. Is that because I turn on some Macro or some setup error? Or New Z stack will occupy much more space than before? How can I get more INT_HEAP_LEN for OSAL memory allocation?

Thanks

Rui

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • xyzzy
    Posted by xyzzy
    on Apr 06 2012 14:19 PM
    Expert4665 points

    The CC2430 does have 8K of RAM, 4K is maintained during PM3 sleep and 4K is not. ZStack End-Devices could be configured to use only 4K but Routers used all 8K.

    ZStack releases for the CC2430 were based on the ZigBee 2006 specification, while ZStack releases for the CC2530 are based on the ZigBee 2007 specification. The key difference between these two ZigBee specs is ZigBee-Pro and its added features, which does require more code and RAM space than its predecessor. Or course, specific RAM requirerments will be determined by the specific application and the features that it uses.

    Some tips for "finding" RAM that can be added to the INT_HEAP_LEN: (1) reduce the parameter stack size if there is unused space - check the "high water mark" after a device has been running normally for some time, (2) reduce or remove unnecssary static variables, buffers, and arrays, (3) check your linker map file to determine how much RAM is not used (wasted) and add that to your heap, (4) disable unused stack features.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Rui Zhang69778
    Posted by Rui Zhang69778
    on Apr 06 2012 14:36 PM
    Genius4505 points

    thanks.

    Regarding the difference between Zigbee-PRO and Zigbee, If we choose zigbee instead of Pro(by using router.lib and disable ZigbeePro option in config file), then the Z stack 2.5.0 still occupies more RAM than Z stack 1.4.3. So It seems to be the Zigbee-Pro is not the problem. What other unused stack features I can disable?

    Rui

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • xyzzy
    Posted by xyzzy
    on Apr 06 2012 14:45 PM
    Expert4665 points

    ZStack was re-architected when being upgraded from 2006 (ZStack-1.4.3 and earlier) to 2007 (ZStack-2.0.0 and later), and that resulted in changes that require more code and RAM space. As you can imagine, infrastructure to support both Pro and non-Pro cannot all be compiled out, so non-Pro in 2007 code will be larger that 2006.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use