-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Z2M: OTA update failed with reason: 'invalid image' (fw below v0.1.0.3) #11
Comments
what size are the update files on your disk? |
yes that's the file, and the file size is correct on disk.
|
Before flashing the firmware, check the compliance of the “Manufacturer Code” and “Image Type” between the OTA file and those issued by the Zigbee device. Sample: "1141-020a-01103001-Z03MMC.zigbee"
|
Hmm not sure how to check these parameters. My device is 4417 (0x1141) and 522 image type (0x20A) as far as I can tell. If I try to flash a firmware that is not for 0x20A I get a different message saying "No image available for imageType '522'". So Z2M will not even attempt to flash a firmware that is not for 0x20A. But those that are for 0x20A fail with "invalid image". |
Beta version below 0.1.0.3 may have a bug related to the not very common TLSR825x, which has an integrated flash memory die from Zbit Semiconductor. |
Interesting. How do I check if I have TLSR825x? Both devices work fine and report temperatures fine, so I wouldn't consider them bricked though. Only the OTA doesn't work! I guess my only choice is to try to update using a cable. |
TLSR825x chips with Flash from ZB (Zbit Semiconductor) with fw version lower than 0.1.0.3 cannot write Flash. |
Some days ago I flashed a couple of LYWSD03MMC sensors from custom BTHome to the ZigbeeTLc firmware using TelinkMiFlasher.
I added the 2 devices in Z2M and they work fine so far - showing up as version 3001-0102
I am now trying to do OTA update via Z2M - either to latest 106 firmware or even back to BLE.
I've tried both firmware 1141-020a-01103001-Z03MMC.zigbee and 1141-020a-99993001-ATC_v46.zigbee
However in both cases Z2M shows update starting ..0% - and then immediatelly after it fails with "Update failed with reason: 'invalid image'"
Not sure where to go from there - any way to update via OTA or do I need to use USB cable?
The text was updated successfully, but these errors were encountered: