-
Notifications
You must be signed in to change notification settings - Fork 7.6k
ESP Rainmaker Crashing Bug - OTA #5420
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
ESP Rainmaker Crashing Bug - OTA #5420
Comments
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
This behaviour also confirmed with CLI |
Hello @JohnMacrae , sorry for late reply. Are you able to test your issue on development version 2.0.3-RC1 to check if this is still valid? You can take a look on Docs where is explained how to choose development release version in Arduino IDE. |
Hello, as there was no answer in last 14 days, I'm closing the issue as expired to keep our backlog manageable. If it's still needed, please reopen the issue. Thanks for understanding. |
This issue is still a problem. I tested today on ESP32 with latest Arduino-esp32 2.0.4 and initiation of OTA by topics from dashboard causes a reboot. Surely after all this time (1 year) someone else has noticed? |
@JohnMacrae I'm reopening the issue. |
Same here. When trying the OTA from the dashboard, and OTA in the Arduino IDE it reboots after connecting with WiFi. |
There is a workaround: Use Arduino OTA. This didn't originally work but seems to with IDE 1.8.19 and the latest (2.0.4) release https://youtu.be/V-g45CFSFr4 |
Co-authored-by: Rodrigo Garcia <[email protected]>
What you are trying to do?
OTA update via Dashboard with Arduino IDE-compiled binary.
Describe your system( Hardware, computer, O/S, core version, environment).
Ubuntu 20.04, Dell XPS15 9550, Arduino IDE 1.8.15, Latest arduino-esp32 2.0.0a
Describe what is failing.
Replication instruction:
Take Rainmaker Switch example and change Line 65 to: RMaker.enableOTA(OTA_USING_TOPICS);
Compile, upload and confirm normal behaviour.
Now upload same binary to dashboard with random version number. Create OTA job and force update - watch serial output as you press the button. Continuous restarts.
Backtrace:0x400d7b93:0x3ffce8400x40177825:0x3ffce870 0x40177ac4:0x3ffce8a0
Decoding stack results
0x400d7b93: loopTask(void*) at /home/john/arduino-1.8.15/hardware/espressif/esp32/cores/esp32/main.cpp line 35
0x40177825: esp_rmaker_handle_work_queue at ../components/esp-rainmaker/components/esp_rainmaker/src/core/esp_rmaker_core.c line 354
0x40177ac4: esp_rmaker_task at ../components/esp-rainmaker/components/esp_rainmaker/src/core/esp_rmaker_core.c line 445
Now go to dashboard and cancel the OTA job. Watch serial: device reverts to normal behaviour.
RM Serial output.txt
The text was updated successfully, but these errors were encountered: