-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
OTA stopped working completely with 2.5.0 #5990
Comments
Those two are unclear. There were fixes in git since 2.5.0 What did you really try, release-2.5.0 or latest git ? |
Sorry I got lost in the directions on how to submit issues. They are not immediatly clear. |
@d-a-v: this was with the release-2.5.0. I have not yet found out how to install the latest git. |
The first point in the main readme on the frontpage of this repository has links to documentation |
This is supposed to be fixed already in latest git, the cause was a missed configuration in the lwip compile time options. |
sorry, away from computer the next few days.
paai
…On Wed, 17 Apr 2019 22:26 Develo, ***@***.***> wrote:
This is supposed to be fixed already in latest git, the cause was a missed
configuration in the lwip compile time options.
@paai <https://github.com/paai> please test with latest git and provide
feedback.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5990 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACDYXB6S77FH4LS7RRN4VVDPQ6BWVANCNFSM4HGJY32Q>
.
|
@david: this was with the release-2.5.0. I have not yet found out how to install the latest git. |
OK, I am back. I found the documentation on how to install the 'normal' git (how else could I have installed this library to begin with), but nowhere how to install the 'latest' git as you suggest. Went to directory ~/arduino-1.8.9/hardware/esp8266com/esp8266 and issued the 'git status' and 'git pull' commands. Some information was displayed on getting espSoftwareSerial, but OTA still not working. Thanks. |
I was in a similar situation recently experiencing persistent issues with OTA updates on release-2.5.0, but testing the latest git solved the problem immediately. @paai |
@kurtovic, yes, that is what I did twice, yesterday and today. I am working on the assumption that installing 'the latest git' taking the steps as described in that link, automatically installs the very last version, that is to say that there is not somewhere a 'developers version' as opposed to a stable version. For what it is worth: when I try to update the sketch On The Air and looking at the serial output with debugging CORE+WIFI+HTTP-UPDATE+UPDATER+OTA... enabled and the loop in the sketch just printing the word "idioot", I get this: Paai |
I also have the same problem and try every combination without success. So I decide to fall back to 2.4.2. Here are my combination test: case 1: SDK 3.0.0/Core 2.5.0. No OTA port shown on ArduinoIDE. HTTP OTA failed. I saw the git version was updated 2 days ago. I will try git version again. Since my test was 2 weeks old. |
@Teerapong, could you tell me how to fall back to that version? |
If you want to fall back to 2.4.2, in the arduino IDE goto Tools -> Boards -> Boards Manager but when I installled 2.5.0 from git, I just delete the whole esp8266 git folder and restart the IDE
|
@Teerapong: YESSS! Finally someone told me how to how to change versions! Paai |
The git install and installed versions from the board manager are mutually exclusive. If you do one, then you have to uninstall the other. |
Of course. I unstalled from board manager before install git version and vice versa
|
@devyte: "syncing to the release tag"... What is the release tag and which CLI command should I give? The esp8266 board is a Robotdyn D1R2. I tried three of them, so the chance of all three being faulty is small. If I upload a sketch that contains a httpserver or -client, they work flawlessly, so the Wifi connection should be good. Tried the LOLIN(WEMOS)D1R2 and the WEMOS D1R1. The sketch is the BasicOTA example with only a Serial.println("idioot"); and delay(500); added. Totally at wits end... // #include <Arduino.h> #include <ESP8266WiFi.h> #ifndef STASSID const char* IP_host = "192.168.178.43"; const char* ssid = STASSID; void setup() { while (WiFi.waitForConnectResult() != WL_CONNECTED) { // Port defaults to 8266 // Hostname defaults to esp8266-[ChipID] // No authentication by default // Password can be set with it's md5 value as well ArduinoOTA.onStart( {
}); void loop() { |
@paii what SDK version are you using? You can see by using Serial.println (ESP.getSdkVersion()); I have not try SDK 3.0.0 with Core 2.5.0 lastest git version yet. |
Please use GIT head. I just tried OTA using the BasicOTA.ino sketch (for the first time ever) and it just worked, and crazy fast, too. I don't know what version broke it, but I know it runs under the latest head. As said before by other, you can not use the Arduino IDE installer to get this version. The directions are straightfoward, link below: |
There were issues with 2.5.0, but they have since been fixed. |
@devyte I can confirmed. This issue is resolved in the lastest git. |
Been working on this all over Eastern. I did set up a new wifi router three meters from my desk with the ESP8266 and PC and now I can sometimes upload sketches using OTA. Changing baud rates does not change things. I live out in the country side, so only four or five wifi stations are visible, three of which are mine. As I said, the boards are Robotdyn D1 R2, that always have performed satisfactorily. I tried a WEMOS Mini too, with the same results. Conclusion: for some reason the OTA upload performs badly and mostly times out before the sketch is sent. Perhaps the developers could look into this? Paai |
Left it for two years because suddenly it worked. A few months ago it broke down again. Still the same behavour, i.e. OTA update stops around 25-50%. |
Basic Infos
Platform
Settings in IDE
Problem Description
Over the last two years Ihave written several OTA based sketches on variations of the WEMOS D1R2. Never a problem.
After updating to 2.5.0 OTA stopped completely. Given the basicOTA.ino example in which I only changed the ssid and the password, it compiles fine and I can upload by serial link. Then, after resetting or even powering down, the board is visible as a network port, but uploading gives an 'no answer' or 'not responding' error. Sometimes a few bullets appear before the 'not responding'. Other sketches incorporate a small webserver, and I can access the webserver no problem, so Wifi works. Just OTA does not work.
The text was updated successfully, but these errors were encountered: