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.

[参考译文] CC2651P3:ZNP、无法使用 Ztool 启动协调器

Guru**** 2382630 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/zigbee-thread-group/zigbee-and-thread/f/zigbee-thread-forum/1234737/cc2651p3-znp-not-posible-to-start-coordinator-with-ztool

器件型号:CC2651P3

按照 https://sunmaysky.blogspot.com/2017/02/use-ztool-z-stack-30-znp-to-set-up.html?m=1的 说明、我无法设置协调器、无法使用另一个用作路由器的 ZNP 来加入网络。

从协调器启动网络转向时显示:

01:04:07.9 COM5 APP_CNF_BDB_START_JUSTING (0x2F05)
   佣金模式:(0x02)网络转向(0x2)

01:04:07.9 COM5 APP_CNF_BDB_START_JUSTING _SRSP (0x6F05)
   状态:成功(0x0)

01:04:07.9 COM5 ZDO_MGMT_permit_join_RSP (0x45B6)
   SrcAddr:0x0000
   状态:ZDP_SUCCESS (0x0)

01:04:07.9 COM5 APP_CNF_BDB_TRUSION_NOTIFIC (0x4F80)
   状态:0x00 (成功)(0x0)
   试运转模式:0x01 (网络转向)(0x1)
   调试模式:0 (0x0)

01:04:07.9 COM5 APP_CNF_BDB_TRUSION_NOTIFIC (0x4F80)
   状态:0x02 (无网络)(0x2)
   试运转模式:0x01 (网络转向)(0x1)
   调试模式:0 (0x0)

路由器没有找到任何网络。

我已经把鸡巴拔出来了。"

谢谢。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    确保正确设置主通道和辅助通道。 我还建议您使用嗅探器来检查通过无线电发生的确切情况

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    酒店的房间很干净。 监听功能、我可以看到来自协调器的信标和来自协调器的信标响应、但没有更多的触觉效果。

    在路由器的 Ztool 中、可以看到:

    01:45:23.42 COM8 APP_CNF_BDB_START_JUSTING (0x2F05)
       佣金模式:(0x02)网络转向(0x2)

    01:45:23.87 COM8 APP_CNF_BDB_START_JUSTING _SRSP (0x6F05)
       状态:成功(0x0)

    01:45:23.87 COM8 APP_CNF_BDB_TRUSION_NOTIFIC (0x4F80)
       状态:1 (0x1)
       试运转模式:0x01 (网络转向)(0x1)
       试运转模式:0x02 (网络转向)(0x2)

    01:45:24.13 COM8 ZDO_STATE_CHANGE_IND (0x45C0)
       State:invalid_parameter (0x2)

    01:45:24.39 COM8 APP_CNF_BDB_TRUSION_NOTIFIC (0x4F80)
       状态:0x02 (无网络)(0x2)                                                                           --- >我认为这是问题所在
       试运转模式:0x01 (网络转向)(0x1)
       调试模式:0 (0x0)

    01:45:24.39 COM8 ZDO_STATE_CHANGE_IND (0x45C0)
       STATE:成功(0x0)

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    是否可以附加监听器日志?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    No.     Time           Source                Destination           Protocol Length Info
       6718 949.568855     N/A                   Broadcast             IEEE 802.15.4 74     Beacon Request
    
    Frame 6718: 74 bytes on wire (592 bits), 74 bytes captured (592 bits) on interface \Device\NPF_Loopback, id 0
    Null/Loopback
    Internet Protocol Version 4, Src: 172.30.111.106, Dst: 172.30.111.106
    User Datagram Protocol, Src Port: 51981, Dst Port: 17754
    ZigBee Encapsulation Protocol, Channel: 13, Length: 10
        Protocol ID String: EX
        Protocol Version: 2
        Type: Data (1)
        Channel ID: 13
        Device ID: 0
        LQI/CRC Mode: LQI
        Link Quality Indication: 0
        Timestamp: Jun  6, 2023 13:45:24.131478999 Hora de verano romance
        Sequence Number: 24
        .000 1010 = Length: 10 bytes
    IEEE 802.15.4 Command, Dst: Broadcast
        Frame Control Field: 0x0803, Frame Type: Command, Destination Addressing Mode: Short/16-bit, Frame Version: IEEE Std 802.15.4-2003, Source Addressing Mode: None
        Sequence Number: 194
        Destination PAN: 0xffff
        Destination: 0xffff
        Command Identifier: Beacon Request (0x07)
        TI CC24xx-format metadata: FCS OK
            FCS Valid: True
            RSSI: 29 dB
            LQI Correlation Value: 0
    
    No.     Time           Source                Destination           Protocol Length Info
       6720 949.575863     0x0000                N/A                   ZigBee   92     Beacon, Src: 0x0000, EPID: TexasIns_00:14:fb:86:dd
    
    Frame 6720: 92 bytes on wire (736 bits), 92 bytes captured (736 bits) on interface \Device\NPF_Loopback, id 0
    Null/Loopback
    Internet Protocol Version 4, Src: 172.30.111.106, Dst: 172.30.111.106
    User Datagram Protocol, Src Port: 51981, Dst Port: 17754
    ZigBee Encapsulation Protocol, Channel: 13, Length: 28
        Protocol ID String: EX
        Protocol Version: 2
        Type: Data (1)
        Channel ID: 13
        Device ID: 0
        LQI/CRC Mode: LQI
        Link Quality Indication: 0
        Timestamp: Jun  6, 2023 13:45:24.131478999 Hora de verano romance
        Sequence Number: 25
        .001 1100 = Length: 28 bytes
    IEEE 802.15.4 Beacon, Src: 0x0000
        Frame Control Field: 0x8000, Frame Type: Beacon, Destination Addressing Mode: None, Frame Version: IEEE Std 802.15.4-2003, Source Addressing Mode: Short/16-bit
        Sequence Number: 152
        Source PAN: 0xfeab
        Source: 0x0000
        Superframe Specification: PAN Coordinator
            .... .... .... 1111 = Beacon Interval: 15
            .... .... 1111 .... = Superframe Interval: 15
            .... 1111 .... .... = Final CAP Slot: 15
            ...0 .... .... .... = Battery Extension: False
            .1.. .... .... .... = PAN Coordinator: True
            0... .... .... .... = Association Permit: False
        GTS
            GTS Descriptor Count: 0
            GTS Permit: False
        Pending Addresses: 0 Short and 0 Long
        TI CC24xx-format metadata: FCS OK
            FCS Valid: True
            RSSI: 22 dB
            LQI Correlation Value: 0
    ZigBee Beacon, ZigBee PRO, EPID: TexasIns_00:14:fb:86:dd
        Protocol ID: 0
        Beacon: Stack Profile: ZigBee PRO, Router Capacity, End Device Capacity
        Extended PAN ID: TexasIns_00:14:fb:86:dd (00:12:4b:00:14:fb:86:dd)
        Tx Offset: 16777215
        Update ID: 0
    

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    是否可以将监听器日志另存为.pncap 文件以附加它  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    https://we.tl/t-UdMBwGnWIb

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    很遗憾、由于隐私错误、我无法访问网站。  您应该能够将*。pcapng (或其他一些 文件扩展名)拖放到响应窗口中。

    信标有效负载屏幕截图 显示关联许可标志为 False、这意味着网络不开放、无法加入。  在开始之前、请确保在 ZC 上构建 Zigbee 网络、这将启用/允许加入180秒。  如果您继续遇到问题、请考虑擦除所有器件存储器并重新对两个器件进行编程、并确保按照博客文章中的所有说明进行操作。

    此致、
    Ryan

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    下载 Ztool_Sniffer.pcapng 显示了我的 Wireshark 中的 TCP 协议。 您使用的是哪个 Wireshark 版本?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    根据此日志、您的协调器未启用允许加入。 请确保启用它以加入您的设备。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我的 Wireshark 版本是4.0.5。

    我如何启用该错误,或我必须发送,以允许加入. 我一直在查看 MT API、但我没有找到任何内容。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    APP_CNF_BDB_START_JUSTING (0x2F05)默认情况下会启用允许加入180秒、您必须在这180秒的时间内加入设备。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    好的、现在允许标志已启用。

    但连接没有完成。

    路由器设备信息响应这是:

    09:19:46.34 COM8 UTIL_GET_DEVICE_INFO (0x2700)

    09:19:46.34 COM8 UTIL_GET_DEVICE_INFO_RESPONSE (0x6700)
       状态:成功(0x0)
       IEEEAddr:0x00124B0014FB8404
       ShortAddress:0xFFFE
       DeviceType:协调器、路由器、END_DEVICE (0x7)
       DeviceState:DEV_NWK_DISC (0x2)
       NumAssocDevices:0x00
       AssocDevesList

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尝试擦除芯片、然后重新从头开始测试。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    最后、需要擦除整个闪存、然后加载 DE FW。

    万分感谢。

    这个论坛的客户服务很好。