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.

关于CC2530 RAM紧张的解决方法

Other Parts Discussed in Thread: CC2530, CC3200

Dear :

    请教一个问题:目前我们用CC2530(ROM256K)的版本跑ZStack-CC2530-2.5.1a,发现8K的RAM比较紧张,请问如何裁剪ZStack可以降低RAM的使用。急,攀附。谢谢。

  • 您现在需要的RAM是多少?若是比较大的话建议再加一个单片机,CC2530只负责通讯。 数据处理交给另外的单片机。

  • Hi,

       1 目前我们使用了RAM 6.7k, 如何裁剪达到5K以下呢?

       2 我们设计了CC3200+CC2530作为网关设备, 那你们建议的数据处理由前面两个设备谁来负责?

       3 如果CC3200的RAM也同样紧张的时候, 有何好的参考建议呢?

    谢谢!

  • 你好,

        我们还遇到一个问题, 有时候协调器后启动的话, 终端设备就加入不了网络,这是什么原因呢? 有什么解决方法么? 

    谢谢!

  • 你好,

    根据你们实际的应用,

    把协议栈里面的MT,LCD功能关掉,

    另外如果你的应用程序没有用到绑定表,可以把绑定表减少

    /* Maximum number of entries in the Binding table. */
    -DNWK_MAX_BINDING_ENTRIES=1

    /* Maximum number of cluster IDs for each binding table entry.
     * Note that any value other than the default value may cause a
     * compilation warning but Device Binding will function correctly.
     */
    -DMAX_BINDING_CLUSTER_IDS=1

     

    根据实际需求可以把Association List,Neighbor Table,Routing Table减少

  • VV大神你好,

    请教一下如何知道zigbee节点运行的时候占用了多少内存呢???请说的详细一点,我知道有个define可以控制,但是加了好像没有什么用啊

  • VV大神  按照你的提示  我将绑定相关的值由4改为了1,但是出现了提示

    Warning[w6]: Type conflict for external/entry "bindFindExisting", in module APS against external/entry in module BindingTable; function return types are different;

    Warning[w6]: Type conflict for external/entry "bindIsClusterIDinList", in module APS against external/entry in module BindingTable; function types differ in parameter 1;

    这个影响大么