This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Code and Memory Size of ZigBee program

Other Parts Discussed in Thread: CC2430, CC2530

Hi All,

I use SmartRF04EB with CC2430.

When I tried to use some sample Applications (SimpleApp, SampleApp, etc.) as initial application which are stored in Zigbee Stack directory I was surprised that the code size takes aproximatelly 100kB and data size (XData) takes aprox. 7kB (this information is taken from compile/link list).  Problem si that there is not too much size for own code.. And also, there is problem to use OAD.

Can you, please, explain me above metioned problems.

Thank you in advance..

  • Depending on the compile options, device type (Coord, Router, End Device), etc .. that's a pretty reasonable number. If you want to use over-the-air download (OAD), you'll have to include the correct compile option in your build as well as add a SPI Flash device to your system.

    If you need more programming space, you can switch to an MSP430/transceiver design or a MSP430/SoC device (CC2430/CC2480/CC2530 design.

    Scott

  • It appears that you are interested in the SoC type of product -- I suggest that you take a look at the CC2530 since it doubles the available code space (256K) as compared to theh CC2430. Similar to the CC2430, the CC2530 has 8K of xdata (RAM) and the CC2530 retains all of it during PM2 amd PM3 sleep. Optimizations for the ZStack-2.2.0 release have reduced the RAM required by the ZigBee stack somewhat, leaving more available to the application.

  • If zigbee is not an abosolute requirenment, that you can use some other stack like 6lowpan. memory requirements are usually lower.

    ps.: I use 6lowpan so I'm a little biased.