homieiot / homie-esp8266

💡 ESP8266 framework for Homie, a lightweight MQTT convention for the IoT
http://homieiot.github.io/homie-esp8266
MIT License
1.36k stars 306 forks source link

MQTT OTA csum error in reboot after "OTA sucess" #204

Closed Gulaschcowboy closed 6 years ago

Gulaschcowboy commented 7 years ago

Hi,

with latest commits of homie-esp8266 I get the following result when updating my ESP8266-07s using homie-ota:

✴ OTA available (version 1.0.11) OTA started Triggering OTA_STARTED event... Firmware is base64-encoded

Receiving OTA firmware (353600/353600)... ✔ OTA success Triggering OTA_SUCCESSFUL event... Triggering MQTT_PACKET_ACKNOWLEDGED event (packetId 51)... Device is idle ↻ Rebooting... Triggering MQTT_PACKET_ACKNOWLEDGED event (packetId 375)... ��� MQTT disconnected Triggering MQTT_DISCONNECTED event... ↕ Attempting to connect to MQTT... ✖ Wi-Fi disconnected Triggering WIFI_DISCONNECTED event... ↕ Attempting to connect to Wi-Fi... ets Jan 8 2013,rst cause:1, boot mode:(3,6) load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v3de0c112 @cp:0 ld ets Jan 8 2013,rst cause:4, boot mode:(3,6) wdt reset load 0x4010f000, len 1384, room 16 tail 8 chksum 0x1d csum 0x1d csum err Flashing same binary using serial works. Any ideas? Thanks, Alex
marvinroger commented 7 years ago

@Gulaschcowboy we're not done, when b64 is set to true, you say it still crashes? Can you give us a stack trace again?

And no one's supporting the other one, it's just teamwork. Thanks a lot @mrpace2 for your great efforts, once again!

Gulaschcowboy commented 7 years ago

@marvinroger @mrpace2 Let's crash it baby...

Arduino, base64 with hash to different hash, crash after OTA:

Triggering MQTT_PACKET_ACKNOWLEDGED event (packetId 32)... ✴ OTA available (checksum afba76c6a59fe5b57ae32c7808e06851) ��� OTA started Triggering OTA_STARTED event... Firmware is base64-encoded Receiving OTA firmware (985/350418)... ... Receiving OTA firmware (350416/350416)...

Exception (3): epc1=0x4000bf64 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4024a209 depc=0x00000000

ctx: sys sp: 3ffffad0 end: 3fffffb0 offset: 01a0 ... base64-arduino-v100-v101.txt

ghost commented 7 years ago

@Gulaschcowboy Try again after #225 has been merged.

marvinroger commented 7 years ago

Before merging #225 blindly, without understanding what happens, let's try another thing. I've seen somewhere sleep_reset_analog_rtcreg_8266 are triggered when there's not enough power. And until now, every weird issues like this one was due to power issues.

@Gulaschcowboy can you try to power your ESP8266 from an external power supply (don't even plug it into your computer), and make it crash again? You won't have Serial feedback so try to power on a LED or something to check if OTA was successful.

I understand that it worked before, so it might not look like a power issue, but as more code gets added, the ESP8266 has more to do and there's indeed a moment where power might become an issue. Maybe this problem has come! And maybe the Linux kernel does not handle power on USB like Windows or something...

I would love you to tell me that this was the problem! 😄

Gulaschcowboy commented 7 years ago

@marvinroger @mrpace2 About probable power issue: I could reliably reproduce the crashes independent from the way of powering the ESP.

Tested:

As all powering setups crashes with the old code I don't expect the power to be responsible.

bleader commented 7 years ago

Chiming in, got here from #224, so getting the exception 3 after:

Receiving OTA firmware but not requested, skipping...

Everything on breadboard here, powered by an MB-102, being itself powered by a pretty huge 12V power supply (able to withstand 5A @ 12V). Got a 10µF between across Vcc/GND too.

Last change I made was moving from 1.5.0 to head of develop branch. Tried again with 1.5.0 it works fine, so I would agree wint @Gulaschcowboy that is probably isn't related to power supply.

Not right now, but I could give a shot at some kind of git bisect on Homie see if it can give us any pointers as when it appeared.

bleader commented 7 years ago

Sorry I didn't read everything, so my suggestion deesn't make much sense. Still I'm pretty sure it doesn't come from the power supply :)

clough42 commented 7 years ago

I just tested with the latest homie-ota, and it worked!

Note, I got the same error as @bleader when running on WIndows 10 with Python 2.7.12:

Receiving OTA firmware but not requested, skipping...

I tried it again on Linux (Ubuntu 14.04.4 LTS with Python 2.7.6) and it worked on the first try.

clough42 commented 7 years ago

I just discovered that my Windows git repo was a few days out of date. After updating, It's still not working for me. Now it's starting the update, but only sending about 7K instead of the 300K+ of the image. Not sure what's happening, but it is working on Ubuntu, so I'm happy.

Clearly this is a homie-ota issue, and not a homie-esp8266 issue, specifically.

bleader commented 7 years ago

You made me realize my repo wasn't up to date, the last update being to actually really read the OTA_FIRMWARE_BASE64... which may explains why it didn't change a thing when I tried to disable it.

So, now that I did update, OTA works with OTA_FIRMWARE_BASE64 disabled, but not if I enable it. Which makes it less likely to be due to homie-ota only.

@clough42 Are you sure both your configurations have it disabled?

clough42 commented 7 years ago

@bleader Ahh...good catch. It's explicitly disabled on the Ubuntu machine (which works) and the line in the ini file is commented out on the WIndows machine, which doesn't. If it defaults to enabled, then that's the difference. I'll toggle that and test when I get a chance.

jpmens commented 7 years ago

Finally getting around to testing this. Environment: platformio on macOS 10.12.1, Homie 2.0, latest commit 49eca384a4bc13fee34728ac40f5702701e384b4 and homie-ota (also latest :-)

$ md5 firmwares/H2MuM-2.0.4.bin
MD5 (firmwares/H2MuM-2.0.4.bin) = 6f90474f8ecd7abe87564dcddec9e01d

(Base64-encoded firmware here)

When OTA is trigerred (B64-enabled), the result looks promising until the stack trace:

✴ OTA available (checksum 6f90474f8ecd7abe87564dcddec9e01d)
↕ OTA started
Triggering OTA_STARTED event...
Firmware is base64-encoded
Receiving OTA firmware (1053/350529)...
Receiving OTA firmware (2148/350529)...
[...]
Receiving OTA firmware (350200/350529)...
Receiving OTA firmware (350528/350528)...

Exception (3):
epc1=0x4000bf64 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4024b633 depc=0x00000000

ctx: sys
sp: 3ffffad0 end: 3fffffb0 offset: 01a0

>>>stack>>>
3ffffc70:  3fff0df8 3ffef5f4 3ffffcac 40202102
3ffffc80:  4024b633 3fff0df8 3ffffcb0 40100688

If I configure home-ota to not use base64, I see the following expected messages, and the update (sometimes) works:

devices/18fe34d40655/$implementation/ota/status 206 348426/350528
devices/18fe34d40655/$implementation/ota/status 206 349886/350528
devices/18fe34d40655/$implementation/ota/status 206 350528/350528
devices/18fe34d40655/$implementation/ota/status 200
marvinroger commented 7 years ago

What happens when, when not using base64, it (often) does not work? Does it crash? Does it report something?

marvinroger commented 7 years ago

By the way, is anybody using NodeMCU v2s experiencing these issues? I only have these, and I don't have any problems with the latest Git, b64 or not.

Gulaschcowboy commented 7 years ago

Hi, I have that issue with NodeMCU boards (clones) as well with esp-07s

marvinroger commented 7 years ago

These ones?

NodeMCU v2

Gulaschcowboy commented 7 years ago

yes, i guess so. Clones from LoLin.

marvinroger commented 7 years ago

Well, I don't experience a single issue on official NodeMCU boards, so I guess the problem is you are using clones. I am not sure if the issue actually comes from the hardware or from esp8266/Arduino, but I am pretty sure it does not come from homie-esp8266. Everything being rocking stable on official NodeMCUs...

Gulaschcowboy commented 7 years ago

I understand your point, but my point is: Same issue on NodeMCU clone as well as on ESP07 modules, always with base64. Would it be helpful to give you access to my environment/modules?

marvinroger commented 7 years ago

I understand your point too, but I would need to test on real hardware. I'll try to buy some.

amayii0 commented 7 years ago

I'm in the process of trying OTA on D1 Mini clones of this kind https://www.aliexpress.com/item/D1-mini-Mini-NodeMcu-4M-bytes-Lua-WIFI-Internet-of-Things-development-board-based-ESP8266-by/32635160765.html I'm using this Python "server" https://github.com/jpmens/homie-ota My code can be accessed from https://github.com/amayii0/Homie-DS18B20

As this is the first time ever i'm doing such thing, don't expect a quick reply... :) (spoiler : it currently just crashes after OTA / reboot)

Triggering MQTT_PACKET_ACKNOWLEDGED event (packetId 27)... Temperature: 19.00 °C Triggering MQTT_PACKET_ACKNOWLEDGED event (packetId 28)... ✴ OTA available (checksum 1c47b3d8886fb2730d7e53b24acdd43c) Triggering MQTT_PACKET_ACKNOWLEDGED event (packetId 29)... ↕ OTA started Triggering OTA_STARTED event... Firmware is base64-encoded Receiving OTA firmware (1056/4167)... Receiving OTA firmware (2151/4167)... Receiving OTA firmware (3246/4167)... Receiving OTA firmware (4166/4166)... ✔ OTA succeeded Triggering OTA_SUCCESSFUL event... Triggering MQTT_PACKET_ACKNOWLEDGED event (packetId 30)... Device is idle ↻ Rebooting... Triggering MQTT_PACKET_ACKNOWLEDGED event (packetId 31)... ✖ MQTT disconnected Triggering MQTT_DISCONNECTED event... ↕ Attempting to connect to MQTT... ✖ Wi-Fi disconnected Triggering WIFI_DISCONNECTED event... ↕ Attempting to connect to Wi-Fi... ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v3ffe84d0 @cp:0 ld s$␀lܟ<␀�l�<␃␌␄␌�␄l�␄c|��␃�␓�;�c␌�c��g'�lng���␌b␜x��l;l{l���␃��r�Ó␃x�o�␘␃␌␄�␌d␌��␌␄␌#␄g�|␃l�␌␄�c��'o�␀d��$␃�␛␒no␄$␃␏␃g{���o␌␄b␄�␏$␏r��g␄␌c␄�␇l�sĜ���␌��d␂��'�␃{$␀l��<␀�l�|␃␌␄␌�␄l�␌c|��␃�␓�r�c�␄c��gn�dog���␌c␜x �l;l{lx�o�␘␃␌␄�␌d␌��␌␄␌c␄g�|␃l�␌␄�c��'o�␀d��$␃�␛␒'o␌$␃␎␃gs���o␌␄b␄�␎$␏;��g␄␌c␄�␏l�sĜ���␌��d␂��g�␃sd␀$��|␀�l�|␃␌␌␄�␄$�␄c|��␃�␛�{�c�␌c��og�l'o���␌#␜p�${ls$p�g�␐␃␄␄�␄l␄Ĝ␄␌␌c␌'�|␃$�␄␄�b��og�␀l��l␃�␒␛og␄l ␃␇␃n;�� �g␄␌c␄�␇l␇s��n␌␄c␌�␇d�{�����␄��$`␃��o�␃

marvinroger commented 7 years ago

Your firmware file is bad, it just cannot be 4k in size, it is usually around 300k.

Le 18 févr. 2017 1:01 AM, "Amayii" notifications@github.com a écrit :

I'm in the process of trying OTA on D1 Mini clones of this kind https://www.aliexpress.com/item/D1-mini-Mini-NodeMcu-4M- bytes-Lua-WIFI-Internet-of-Things-development-board- based-ESP8266-by/32635160765.html I'm using this Python "server" https://github.com/jpmens/homie-ota My code can be accessed from https://github.com/amayii0/Homie-DS18B20

As this is the first time ever i'm doing such thing, don't expect a quick reply... :) (spoiler : it currently just crashes after OTA / reboot)

Triggering MQTT_PACKET_ACKNOWLEDGED event (packetId 27)... Temperature: 19.00 °C Triggering MQTT_PACKET_ACKNOWLEDGED event (packetId 28)... ✴ OTA available (checksum 1c47b3d8886fb2730d7e53b24acdd43c) Triggering MQTT_PACKET_ACKNOWLEDGED event (packetId 29)... ↕ OTA started Triggering OTA_STARTED event... Firmware is base64-encoded Receiving OTA firmware (1056/4167)... Receiving OTA firmware (2151/4167)... Receiving OTA firmware (3246/4167)... Receiving OTA firmware (4166/4166)... ✔ OTA succeeded Triggering OTA_SUCCESSFUL event... Triggering MQTT_PACKET_ACKNOWLEDGED event (packetId 30)... Device is idle ↻ Rebooting... Triggering MQTT_PACKET_ACKNOWLEDGED event (packetId 31)... ✖ MQTT disconnected Triggering MQTT_DISCONNECTED event... ↕ Attempting to connect to MQTT... ✖ Wi-Fi disconnected Triggering WIFI_DISCONNECTED event... ↕ Attempting to connect to Wi-Fi... ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v3ffe84d0 @cp https://github.com/cp:0 ld s$␀lܟ<␀�l�<␃␌␄␌�␄l�␄c|��␃�␓�;�c␌�c��g'�lng���␌b␜x��l;l{l���␃��r�Ó ␃x�o�␘␃␌␄�␌d␌��␌␄␌#␄g�|␃l�␌␄�c��'o�␀d��$␃�␛␒no␄$␃␏␃g{� ��o␌␄b␄�␏$␏r��g␄␌c␄�␇l�sĜ���␌��d␂��'�␃{$␀l��<␀�l�|␃␌␄␌�␄l�␌ c|��␃�␓�r�c�␄c��gn�dog���␌c␜x �l;l{lx�o�␘␃␌␄�␌d␌��␌␄␌c␄g�|␃l�␌␄�c��'o�␀d��$␃�␛␒'o␌$␃␎␃gs� ��o␌␄b␄�␎$␏;��g␄␌c␄�␏l�sĜ���␌��d␂��g�␃sd␀$��|␀�l�|␃␌␌␄�␄$�␄ c|��␃�␛�{�c�␌c��og�l'o���␌#␜p�${ls$p�g�␐␃␄␄�␄l␄Ĝ␄␌␌c␌'�|␃$�␄␄�b��og�␀l��l␃�␒␛og␄l ␃␇␃n;�� �g␄␌c␄�␇l␇s��n␌␄c␌�␇d�{�����␄��$`␃��o�␃

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/marvinroger/homie-esp8266/issues/204#issuecomment-280799770, or mute the thread https://github.com/notifications/unsubscribe-auth/AA8eNalZQlrYX4uVgoKgPJA1KPmCJK6Mks5rdjTVgaJpZM4KkyL5 .

amayii0 commented 7 years ago

This is where it gets interesting. My firmwares are not 4k: 352.592 for D1Mini-DS18B20-0.17.2.14.bin 352.592 for D1Mini-DS18B20-0.17.2.17.bin

20170218 homie-ota firmwares size

marvinroger commented 7 years ago

Does it happen all the time? Can you post a mosquitto_sub log of all the messages sent?

chaudhryfaisal commented 7 years ago

@amayii0 what mqtt server are you using? I believe I ran into similar issue when max payload sized on my mqtt was limited. I had more success with iot.eclipse.org

amayii0 commented 7 years ago

MQTT broker IIRC is moquette as built in PiDome. https://bitbucket.org/pidome/pidome-mqttbroker/src/b14dd502b16e178c866288512ca10deab6c1d825/src/main/java/org/pidome/plugins/mqtt/pidomeMQTTBroker/PluginBrokerRunner.java?at=default&fileviewer=file-view-default

amayii0 commented 7 years ago

@marvinroger ill check that later. Maybe also switch to mousquitto for debug

amayii0 commented 7 years ago

@marvinroger it seems payload gets limited to 5.556 bytes. This would rather be related to the broker I'm afraid.

pi@garagepi ~ $ mosquitto_sub -h 192.168.0.26 -p 1883 -t homie/5ccf7fd3b7d5/# D1Mini-DS18B20 true 60 17.37 2452e21eb82983a708b60968b10d4daa temperature 3 100 true esp8266 2.0.0 unit,degrees {"wifi":{"ssid":"dd-iot"},"mqtt":{"host":"192.168.0.26","port":1883,"auth":false},"name":"Ds18b20","ota":{"enabled":true}} 5C:CF:7F:D3:B7:D5 Ds18b20 2.0.0 0.17.2.14 192.168.254.119 200 c 1c47b3d8886fb2730d7e53b24acdd43c 6QECQJzyEEAA8BBAaAUAABAQAABQ9RBAHEsAQMwkAED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qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqukEAkAEABBAEBAgQEi/BADQhP4/Mf//OQIN8AAx/f8SwfAyYgACYQNFQgECIQMSwRAN8AASwfDCYQIgwiAoUgJhA4yCRV0=

I've dumped that to a file using MQTTFX and same story. The homie-OTA is running from W7 host, looks like I can run that from the rpi instead. 20170219 homie-ota firmwares mqtt firmware size

marvinroger commented 7 years ago

@amayii0 that's indeed related to the broker... We cannot do anything on our side, unfortunately.

Gulaschcowboy commented 6 years ago

@timpur After cleaning the libraries folder as requested in #477 OTA works for me.

timpur commented 6 years ago

Nice, recommend platform IO using vscode this will fix your lib dependency issues in the future. But does have its anoyences ....