Matter OTA for 52840DK

 

        I want to update 52840DK FW using Matter OTA, but I have not found SOP, could you tell me how to operate? 

        BTW, I use Raspberry Pi4 connected with RCP as border router.

        Thx!

BR

Chuan

Parents
  • Hi  

        when I input this cmd:  /chip-tool-release pairing onnetwork 2 20202021

    but it print below log, what is  the reason?

    user@NB14090113-UB2004:~/Matter/chip_tool/V2.8.0$ ./chip-tool-release pairing onnetwork 2 20202021
    [1761532136.851720][139476:139476] CHIP:DL: ChipLinuxStorage::Init: Attempt to re-initialize with KVS config file: /tmp/chip_kvs
    [1761532136.852122][139476:139476] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-xNXcdy)
    [1761532136.852371][139476:139476] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
    [1761532136.852396][139476:139476] CHIP:DL: NVS set: chip-counters/reboot-count = 199 (0xC7)
    [1761532136.852604][139476:139476] CHIP:DL: Got Ethernet interface: enp2s0
    [1761532136.852731][139476:139476] CHIP:DL: Found the primary Ethernet interface:enp2s0
    [1761532136.852860][139476:139476] CHIP:DL: Got WiFi interface: wlp3s0
    [1761532136.852995][139476:139476] CHIP:DL: Found the primary WiFi interface:wlp3s0
    [1761532136.853140][139476:139476] CHIP:TS: Last Known Good Time: 2023-10-14T01:16:48
    [1761532136.853347][139476:139476] CHIP:FP: Fabric index 0x1 was retrieved from storage. Compressed FabricId 0x53206B9EC441C22A, FabricId 0x0000000000000001, NodeId 0x000000000001B669, VendorId 0xFFF1
    [1761532136.853890][139476:139476] CHIP:ZCL: Using ZAP configuration...
    [1761532136.855938][139476:139476] CHIP:DL: Avahi client registered
    [1761532136.856038][139476:139476] CHIP:CTL: Setting attestation nonce to random value
    [1761532136.856050][139476:139476] CHIP:CTL: Setting CSR nonce to random value
    [1761532136.856331][139476:139478] CHIP:CTL: Setting attestation nonce to random value
    [1761532136.856348][139476:139478] CHIP:CTL: Setting CSR nonce to random value
    [1761532136.861134][139476:139478] CHIP:CTL: Generating NOC
    [1761532136.867967][139476:139478] CHIP:FP: Validating NOC chain
    [1761532136.888826][139476:139478] CHIP:FP: NOC chain validation successful
    [1761532136.888907][139476:139478] CHIP:FP: Updated fabric at index: 0x1, Node ID: 0x000000000001B669
    [1761532136.888923][139476:139478] CHIP:TS: Last Known Good Time: 2023-10-14T01:16:48
    [1761532136.888934][139476:139478] CHIP:TS: New proposed Last Known Good Time: 2021-01-01T00:00:00
    [1761532136.888948][139476:139478] CHIP:TS: Retaining current Last Known Good Time
    [1761532136.889944][139476:139478] CHIP:FP: Metadata for Fabric 0x1 persisted to storage.
    [1761532136.890835][139476:139478] CHIP:TS: Committing Last Known Good Time to storage: 2023-10-14T01:16:48
    [1761532136.891318][139476:139478] CHIP:CTL: Joined the fabric at index 1. Fabric ID is 0x0000000000000001 (Compressed Fabric ID: 53206B9EC441C22A)
    [1761532136.906344][139476:139478] CHIP:DL: Avahi browse: cache exhausted
    [1761532137.907816][139476:139478] CHIP:DL: Avahi browse: all for now
    [1761532138.920632][139476:139478] CHIP:DL: Avahi browse: cache exhausted
    [1761532139.922658][139476:139478] CHIP:DL: Avahi browse: all for now
    [1761532141.937439][139476:139478] CHIP:DL: Avahi browse: cache exhausted
    [1761532142.939203][139476:139478] CHIP:DL: Avahi browse: all for now
    [1761532146.956031][139476:139478] CHIP:DL: Avahi browse: cache exhausted
    [1761532147.956870][139476:139478] CHIP:DL: Avahi browse: all for now
    [1761532155.977845][139476:139478] CHIP:DL: Avahi browse: cache exhausted
    [1761532156.978900][139476:139478] CHIP:DL: Avahi browse: all for now
    [1761532256.856590][139476:139476] CHIP:FP: Forgetting fabric 0x1
    [1761532256.856624][139476:139476] CHIP:TS: Pending Last Known Good Time: 2023-10-14T01:16:48
    [1761532256.856728][139476:139476] CHIP:TS: Previous Last Known Good Time: 2023-10-14T01:16:48
    [1761532256.856738][139476:139476] CHIP:TS: Reverted Last Known Good Time to previous value
    [1761532256.856861][139476:139476] CHIP:FP: Shutting down FabricTable
    [1761532256.856878][139476:139476] CHIP:TS: Pending Last Known Good Time: 2023-10-14T01:16:48
    [1761532256.856934][139476:139476] CHIP:TS: Previous Last Known Good Time: 2023-10-14T01:16:48
    [1761532256.856942][139476:139476] CHIP:TS: Reverted Last Known Good Time to previous value
    [1761532256.857071][139476:139476] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-bpSckB)
    [1761532256.857412][139476:139476] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
    [1761532256.857464][139476:139476] CHIP:DL: NVS set: chip-counters/total-operational-hours = 154 (0x9A)
    [1761532256.857476][139476:139476] CHIP:DL: Inet Layer shutdown
    [1761532256.857483][139476:139476] CHIP:DL: BLE shutdown
    [1761532256.857555][139476:139476] CHIP:DL: System Layer shutdown
    [1761532256.857710][139476:139476] CHIP:TOO: Run command failure: examples/chip-tool/commands/common/CHIPCommand.cpp:617: CHIP Error 0x00000032: Timeout
    user@NB14090113-UB2004:~/Matter/chip_tool/V2.8.0$

Reply
  • Hi  

        when I input this cmd:  /chip-tool-release pairing onnetwork 2 20202021

    but it print below log, what is  the reason?

    user@NB14090113-UB2004:~/Matter/chip_tool/V2.8.0$ ./chip-tool-release pairing onnetwork 2 20202021
    [1761532136.851720][139476:139476] CHIP:DL: ChipLinuxStorage::Init: Attempt to re-initialize with KVS config file: /tmp/chip_kvs
    [1761532136.852122][139476:139476] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-xNXcdy)
    [1761532136.852371][139476:139476] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
    [1761532136.852396][139476:139476] CHIP:DL: NVS set: chip-counters/reboot-count = 199 (0xC7)
    [1761532136.852604][139476:139476] CHIP:DL: Got Ethernet interface: enp2s0
    [1761532136.852731][139476:139476] CHIP:DL: Found the primary Ethernet interface:enp2s0
    [1761532136.852860][139476:139476] CHIP:DL: Got WiFi interface: wlp3s0
    [1761532136.852995][139476:139476] CHIP:DL: Found the primary WiFi interface:wlp3s0
    [1761532136.853140][139476:139476] CHIP:TS: Last Known Good Time: 2023-10-14T01:16:48
    [1761532136.853347][139476:139476] CHIP:FP: Fabric index 0x1 was retrieved from storage. Compressed FabricId 0x53206B9EC441C22A, FabricId 0x0000000000000001, NodeId 0x000000000001B669, VendorId 0xFFF1
    [1761532136.853890][139476:139476] CHIP:ZCL: Using ZAP configuration...
    [1761532136.855938][139476:139476] CHIP:DL: Avahi client registered
    [1761532136.856038][139476:139476] CHIP:CTL: Setting attestation nonce to random value
    [1761532136.856050][139476:139476] CHIP:CTL: Setting CSR nonce to random value
    [1761532136.856331][139476:139478] CHIP:CTL: Setting attestation nonce to random value
    [1761532136.856348][139476:139478] CHIP:CTL: Setting CSR nonce to random value
    [1761532136.861134][139476:139478] CHIP:CTL: Generating NOC
    [1761532136.867967][139476:139478] CHIP:FP: Validating NOC chain
    [1761532136.888826][139476:139478] CHIP:FP: NOC chain validation successful
    [1761532136.888907][139476:139478] CHIP:FP: Updated fabric at index: 0x1, Node ID: 0x000000000001B669
    [1761532136.888923][139476:139478] CHIP:TS: Last Known Good Time: 2023-10-14T01:16:48
    [1761532136.888934][139476:139478] CHIP:TS: New proposed Last Known Good Time: 2021-01-01T00:00:00
    [1761532136.888948][139476:139478] CHIP:TS: Retaining current Last Known Good Time
    [1761532136.889944][139476:139478] CHIP:FP: Metadata for Fabric 0x1 persisted to storage.
    [1761532136.890835][139476:139478] CHIP:TS: Committing Last Known Good Time to storage: 2023-10-14T01:16:48
    [1761532136.891318][139476:139478] CHIP:CTL: Joined the fabric at index 1. Fabric ID is 0x0000000000000001 (Compressed Fabric ID: 53206B9EC441C22A)
    [1761532136.906344][139476:139478] CHIP:DL: Avahi browse: cache exhausted
    [1761532137.907816][139476:139478] CHIP:DL: Avahi browse: all for now
    [1761532138.920632][139476:139478] CHIP:DL: Avahi browse: cache exhausted
    [1761532139.922658][139476:139478] CHIP:DL: Avahi browse: all for now
    [1761532141.937439][139476:139478] CHIP:DL: Avahi browse: cache exhausted
    [1761532142.939203][139476:139478] CHIP:DL: Avahi browse: all for now
    [1761532146.956031][139476:139478] CHIP:DL: Avahi browse: cache exhausted
    [1761532147.956870][139476:139478] CHIP:DL: Avahi browse: all for now
    [1761532155.977845][139476:139478] CHIP:DL: Avahi browse: cache exhausted
    [1761532156.978900][139476:139478] CHIP:DL: Avahi browse: all for now
    [1761532256.856590][139476:139476] CHIP:FP: Forgetting fabric 0x1
    [1761532256.856624][139476:139476] CHIP:TS: Pending Last Known Good Time: 2023-10-14T01:16:48
    [1761532256.856728][139476:139476] CHIP:TS: Previous Last Known Good Time: 2023-10-14T01:16:48
    [1761532256.856738][139476:139476] CHIP:TS: Reverted Last Known Good Time to previous value
    [1761532256.856861][139476:139476] CHIP:FP: Shutting down FabricTable
    [1761532256.856878][139476:139476] CHIP:TS: Pending Last Known Good Time: 2023-10-14T01:16:48
    [1761532256.856934][139476:139476] CHIP:TS: Previous Last Known Good Time: 2023-10-14T01:16:48
    [1761532256.856942][139476:139476] CHIP:TS: Reverted Last Known Good Time to previous value
    [1761532256.857071][139476:139476] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-bpSckB)
    [1761532256.857412][139476:139476] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
    [1761532256.857464][139476:139476] CHIP:DL: NVS set: chip-counters/total-operational-hours = 154 (0x9A)
    [1761532256.857476][139476:139476] CHIP:DL: Inet Layer shutdown
    [1761532256.857483][139476:139476] CHIP:DL: BLE shutdown
    [1761532256.857555][139476:139476] CHIP:DL: System Layer shutdown
    [1761532256.857710][139476:139476] CHIP:TOO: Run command failure: examples/chip-tool/commands/common/CHIPCommand.cpp:617: CHIP Error 0x00000032: Timeout
    user@NB14090113-UB2004:~/Matter/chip_tool/V2.8.0$

Children
Related