Skip to Navigation
Home
  • Company
    • Quick Facts
    • Board of Directors
    • Management Team
    • Press Releases
    • News Coverage
    • Newsletter
    • Careers
    • Articles
    • Ember Chronology
    • Contact Us
  • Products
    • ZigBee Chips
    • ZigBee Software
    • ZigBee Development Tools
    • Documentation
  • Buy
    • Digi-Key (Online)
    • Distributors
  • Applications
    • AMI & AMR
    • Integrated Home Automation
    • Building Automation
    • Others
  • ZigBee
    • About ZigBee
    • Ember & ZigBee
    • ZigBee FAQ
    • Download Specifications
    • ZigBee Events
  • Partners
  • Support
    • Training
  • Events
Home › FAQs

How do I know how much Flash is used by my application?

Categories:
  • Tools : xIDE

In EmberZNet EM250 stack releases 2.3 and higher, a utility called em2xx_ebl.exe runs in a post-processing step after the linker, turning your XPV and XDV files into a compressed binary format (EBL files) that the Ember Bootloader can read. In doing this, em2xx_ebl analyzes your code & data and reports the segment usage for the build's Flash usage.

In earlier releases, code size can be found by looking at the last line in your XPV file (the final Program memory datafile that gets uploaded). The first hex number shown in the last line is the highest address used for your application, shown in words [16 bits].

Since the Flash mapping of the EM250 the chip has about 112 KB available for your code, the total Flash usage reported by em2xx_ebl (or the last word address shown in your XPV file) should never be higher than 0xE000. (If it is, the code won't fit and the build and/or upload will fail.)

  • Login to post comments
  • Printer-friendly version

Search

FAQs

  • All (166)
  • Software : Embedded (65)
  • Software : Networking (70)
  • Hardware : Design (22)
  • Hardware : Manufacturing (10)
  • Tools : Dev Boards (2)
  • Tools : ISD, ISA (21)
  • Tools : xIDE (6)
  • Tools : Other (7)
  • ZigBee (1)
  • Change Notification (0)
Primary links
  • Developer Blog
  • Documentation
    • Release Notes
  • Contributed Software
  • FAQs
  • Change Notifications
  • Training
Portal
  • My Account
  • Search
User login
  • Request new password

Company | Products | Buy | Applications | ZigBee | Partners | Support | Events | Contact Us

©2007-2008 Ember Corporation | All rights reserved | Privacy