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.

急!!! Z-Stack Mesh 1.0.0 Many-to-one route 编译出错

Other Parts Discussed in Thread: Z-STACK, CC2538, CC2530

TI 员工和对Z-Stack  Many-to-one route 有相关经验的朋友,我目前应用是一个工厂要分布大于1000个数据采集节点, 我的思路是分成几个zigbee子网, 不同子网的信道不一样, 每个子网需要带至少100个zigbee节点设备。这样将存在不大于10个协调器,将它们与另外一个不同信道的zigbee节点通过串口连接, 最终所以数据汇集到一个协调器。我这样的思路是否可行? 会存在哪些风险?希望各位不吝赐教。 最近在参考TI的文档《Breaking the 400-Node ZigBee® Network》 做初步测试, 首先发现一下编译问题:

1) 协调器 编译出错,要保存430条路由信息, 出现空间不足的错误, 想知道当时TI 在圣地亚哥做测试的时候是如何做到是, 使用的芯片是不是2538呢?

       是否需要使用CC2538 作为协调器呢?

#define MAX_RTG_SRC_ENTRIES  430

Warning[w6]: Type conflict for external/entry "gMAX_RTG_SRC_ENTRIES", in module AddrMgr against external/entry in module nwk_globals; different basic types
Error[e104]: Failed to fit all segments into specified ranges. Problem discovered in segment XDATA_N. Unable to place 2 block(s) (0xcd2 byte(s) total) in 0x3d9
byte(s) of memory. The problem occurred while processing the segment placement command "-P(XDATA)XDATA_N=_XDATA_START-_XDATA_END", where at
the moment of placement the available memory ranges were "XDATA:1b27-1eff"

  • 可以看下论坛上关于这个application的讨论: https://e2e.ti.com/support/wireless_connectivity/zigbee_6lowpan_802-15-4_mac/f/158/p/332718/1688934#1688934

  • Dear  Viki Shi, 

    我刚刚根据你发的这个链接按照步骤重新测试了一遍发现还是出现相同的问题 : 

    Warning[w6]: Type conflict for external/entry "gMAX_RTG_SRC_ENTRIES", in module AddrMgr against external/entry in module nwk_globals; different basic types
    Error[e104]: Failed to fit all segments into specified ranges. Problem discovered in segment XDATA_N. Unable to place 2 block(s) (0xcd2 byte(s) total) in 0x6ca
    byte(s) of memory. The problem occurred while processing the segment placement command "-P(XDATA)XDATA_N=_XDATA_START-_XDATA_END", where at
    the moment of placement the available memory ranges were "XDATA:1836-1eff"                                                                                                                                                      

    跟编译器版本有关系吗? 我现在使用的版本是 EW8051 8.30.3

  • 具体的配置信息如下:

    INT_HEAP_LEN                                                     3280
    NWK_MAX_DEVICE_LIST                                    10
    CONCENTRATOR_ENABLE                                1
    CONCENTRATOR_DISCOVERY_TIME             120
    MAX_RTG_SRC_ENTRIES                                   430
    SRC_RTG_EXPIRY_TIME                                      2
    CONCENTRATOR_ENABLE                                 1
    CONCENTRATOR_ROUTE_CACHE                  1
    MTO_RREQ_LIMIT_TIME                                       5000
    LINK_DOWN_TRIGGER                                        12
    NWK_ROUTE_AGE_LIMIT                                     30
    BCAST_DELIVERY_TIME                                       100
    DEF_NWK_RADIUS                                                15
    DEFAULT_ROUTE_REQUEST_RADIUS             8
    ROUTE_DISCOVERY_TIME                                   13
    ZDNWKMGR_MIN_TRANSMISSIONS                   0
    NWK_LINK_STATUS_PERIOD                              30

    完全依照AN123 – Breaking the 400-Node ZigBee® Network Barrier With TI’s ZigBee SoC and Z-Stack™ Software, 进行配置, 可是编译还是出差

  • TI在搭建400节点的时候,使用的CC2538,因为RAM的限制,

    你在CC2530上修改这些参数,可以直接看下生成的map文件,还放不放得下。