Closed axelhorn closed 11 months ago
Maybe, your network is busy and the device cannot properly process OTA request. Try to move it closely to a coordinator.
Is it a PSM device?
No, it's regular router. I'll try some more tests.
I think I found the reason why the device is not downloading the update even though the update is reported in the logs. The cause is the watchdog enabled in the firmware installed on the device. After disabling the watchdog and installing such firmware, the traditional "via cable", the next large and small OTAs pass without problems. Previously, only small (configuration) OTAs were passed with the watchdog turned on, and not always. @ptvoinfo - can you test it yourself and possibly confirm if it's just my problem with this one DIY device, or if a firmware fix is needed.
@axelhorn I cannot repeat this problem with my test board.
Hmmm.... It's amazing. I try it with another of my devices (PSM too) and write here results of tests. This one above still updates fine every time, but only when watchdog is disabled.
Hi, PTVO. I have another problem. I added the MX25R8035FZUIL0 flash memory to one of my Zigbbe devices. I uploaded new firmware with OTA. After rebooting the device, the LED blinks rapidly for a few seconds indicating the firmware is being copied to flash. Service command 131 returns the correct signature "C2 28 14" in attribute 16385. The device is working properly. I have prepared a full firmware update via OTA according to the instructions on the website. After trying to upload for several dozen seconds on the Zigbbee@MQTT I can see an empty progress bar and "estimated time: N/A". Then there is an error in the logs:
2023-04-25 22:25:25Update of '0x00124b00257934ab' at 0.00%
But if I prepare a small OTA update (settings only), the device updates itself after a dozen or so seconds, reporting the correct update in the logs.