I met the following problems when I was working on the project matter with NXP i.MX8MM board.
Current state
1. I ran OTA-requestor-app on the YOCTO system to upgrade the thermostat-app. 44,384 packets were received and used for more than three hours.
2. After I used gzip compression, I used OTA-requestor-app to upgrade the thermostat-app .16,319 packets. 36 minutes.
3 . The upgrade files received by the preceding two methods can run properly.
Present problems :
1. How to solve the problem of long OTA upgrade time
2. I changed the thermostat-app software version number(/connectedhomeip/src/include/platform/CHIPDeviceConfig.h)
2. I run the thermostat-app at YOCTO.What Can I do if the OAT upgrade command fails to be executed?The information is as follows:
Execute a command:
sudo ./connectedhomeip/out/standalone/chip-tool otasoftwareupdaterequestor announce-otaprovider 5678 0 0 0 8888 0
Receive the message:
[1712041578.206873][3710:3712] CHIP:IN: (S) Sending msg 237563467 on secure session with LSID: 3224
[1712041578.207262][3710:3712] CHIP:EM: Flushed pending ack for MessageCounter:244084226 on exchange 9381i
[1712041578.208019][3710:3710] CHIP:CTL: Shutting down the commissioner
[1712041578.208160][3710:3710] CHIP:CTL: Stopping commissioning discovery over DNS-SD
[1712041578.208589][3710:3710] CHIP:CTL: Shutting down the controller
[1712041578.208675][3710:3710] CHIP:IN: Expiring all sessions for fabric 0x1!!
[1712041578.208858][3710:3710] CHIP:IN: SecureSession[0xffff7800b4f0]: MarkForEviction Type:2 LSID:3224
[1712041578.208938][3710:3710] CHIP:SC: SecureSession[0xffff7800b4f0]: Moving from state 'kActive' --> 'kPendingEviction'
[1712041578.209014][3710:3710] CHIP:IN: SecureSession[0xffff7800b4f0]: Released - Type:2 LSID:3224
[1712041578.209091][3710:3710] CHIP:FP: Forgetting fabric 0x1
[1712041578.209197][3710:3710] CHIP:TS: Pending Last Known Good Time: 2023-05-08T17:09:28
[1712041578.209704][3710:3710] CHIP:TS: Previous Last Known Good Time: 2023-05-08T17:09:28
[1712041578.209785][3710:3710] CHIP:TS: Reverted Last Known Good Time to previous value
[1712041578.209950][3710:3710] CHIP:CTL: Shutting down the commissioner
[1712041578.210023][3710:3710] CHIP:CTL: Stopping commissioning discovery over DNS-SD
[1712041578.210487][3710:3710] CHIP:CTL: Shutting down the controller
[1712041578.210566][3710:3710] CHIP:CTL: Shutting down the System State, this will teardown the CHIP Stack
[1712041578.212047][3710:3710] CHIP:DMG: All ReadHandler-s are clean, clear GlobalDirtySet
[1712041578.212442][3710:3710] CHIP:BLE: BleConnectionDelegate::CancelConnection is not implemented.
[1712041578.212578][3710:3710] CHIP:FP: Shutting down FabricTable
[1712041578.212673][3710:3710] CHIP:TS: Pending Last Known Good Time: 2023-05-08T17:09:28
[1712041578.213232][3710:3710] CHIP:TS: Previous Last Known Good Time: 2023-05-08T17:09:28
[1712041578.213311][3710:3710] CHIP:TS: Reverted Last Known Good Time to previous value
[1712041578.214035][3710:3710] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-CEwe0s)
[1712041578.216682][3710:3710] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
[1712041578.217104][3710:3710] CHIP:DL: NVS set: chip-counters/total-operational-hours = 1 (0x1)
[1712041578.217189][3710:3710] CHIP:DL: Inet Layer shutdown
[1712041578.217262][3710:3710] CHIP:DL: BLE shutdown
[1712041578.217336][3710:3710] CHIP:DL: System Layer shutdown
[1712041578.218125][3710:3710] CHIP:TOO: Run command failure: IM Error 0x00000581: General error: 0x81 (UNSUPPORTED_COMMAND)
Solved! Go to Solution.
Hello,
Make sure you are using the CHIP thermostat example for the MX8MM, the matter examples will be upgraded but so far is the only examples it provides.
Regards
Hello,
Make sure you are using the CHIP thermostat example for the MX8MM, the matter examples will be upgraded but so far is the only examples it provides.
Regards
Got it. Thanks.