mongoose-os-apps / shelly-homekit

Apple HomeKit firmware for Shelly's
Other
1.71k stars 127 forks source link

Unable to flash Shelly Plus i4 #1382

Closed jeanlucverlhac closed 1 month ago

jeanlucverlhac commented 3 months ago

Hello,

I'm unable to flash FW within Shelly Plus i4 : It seem to not be able to flash partition table (following case below) or boot loader. Any idea to help ?

Thanks Jean-Luc

shelly_ota.cpp:245 Aborting update: backend 0x3ffe5aac aborts update at file partition-table.bin: -4: app / fs already written, can't update pt 17:45:28 shelly_ota.cpp:172 OTA status error, 99 % 17:45:28 shelly_notification:209 Event from sys: {"component":"sys", "event":"ota_error", "msg":"error", "ts":1712331928.25} 17:45:28 shelly_http_client.:606 0x3ffe3ea0: Finished; bytes 1972224, code 200, redir 0/3, auth 0, status CANCELLED: Cancelled

Sislik42 commented 3 months ago

I just got exactly the same error on Shelly Plus 1 few minutes ago.

Firmware ID: 20240223-141953/1.2.2-g7c39781 Web build ID: 240213111718-ce341dc8-HEAD

shelly_ota_source_ht:32 Update URL: http://rojer.me/files/shelly/shelly-homekit-ShellyPlus1.zip (0x3ffdff84)
...
shelly_ota.cpp:172      OTA status in_progress, 69 %
shelly_ota.cpp:355      Plus1-2.11.2/bootloader.bin: 23728 bytes (hdr 57 desc 0 CRC fd046e7a)
shelly_ota.cpp:245      Aborting update: backend 0x3ffdf868 aborts update at file bootloader.bin: -4: app / fs already written, can't update boot

Full log is attached diagnostics-shelly-plus1-debug-log-2.txt

jeanlucverlhac commented 2 months ago

Hello As I powered it @5V, I guess it could be not enough to let the internal flash process to correctly erase the partition, thus I've just try with power @15V and I got the same issue :-( I go on searching .... and let know if I find a solution.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 3 weeks with no activity. Comment or this will be closed in 1 week.

github-actions[bot] commented 1 month ago

This issue has now been closed, as no update was provided after it was marked stale. Feel free to provide updates to reopen this issue.

markirb commented 1 month ago

Please use latest beta it works