-
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
any known issues in connecting to wifi in 2.5.0? #5908
Comments
This is how it behaves from boot: SDK:3.0.0-dev(c0f7b44)/Core:2.5.0=20500000/lwIP:STABLE-2_1_2_RELEASE/glue:1.1/BearSSL:6778687 connected with apfelzimtgulasch, channel 6 and after that, it goes on and on and on with status 6 (checking every second) and maybe eventually connects for 1 or 2 seconds as mentioned and disconnects again. |
A closed-source firmware update issue . |
hi thanks for your reply. do you have any reference or further information to that, under which circumstances this issue comes up? i guess it has been tried already to make espressif aware of this? do you know whether the ESP32 has the same issue? thanks again! |
see #5763 |
|
I have a working board and a non working board with 2.5.0. I don't know the
reason.
Both are reliable with git master.
It has to be noted that 2.5.0 is also quite slower.
|
very interesting. is there anything on the horizon from espressif? |
If you have a board with this behaviour, try to flash esp_init_data_default.bin and initialize RF_CAL parameter area. The file is with AT firmware. Instructions are in AT firmware reference. If you are on Windows, use Espressif Flash Download Tool. It tunes the values in the bin file. You can find AT firmware and the tool on Espressif's site. |
thanks, what kind of black magic is that? or rather: does this tune settings which are not touched usually when using the arduino framework? |
blank.bin 0x1FB000 Initializes RF_CAL parameter area. |
read the link above. |
i did read the link, but i do not quite understand. nonos-sdk is an unofficial firmware from espressif? so they are making "little" effort (because you are saying reporting doesn't make sense) + keeping the code closed source? |
Sorry, I was meaning unofficial "version" of the firmware. |
ooh ok so they've probably released newer versions which in turn haven't been implemented into the arduino core yet, apart from the master branch? do you know how to use the master branch in platformio or wheter that's even possible as they seem to have own releases? |
I've got an old project I'm dusting off. I'm experiencing exactly this. Versions 2.3.0 through 2.4.2 work fine. Versions 2.5.0, 2.5.1, 2.5.2 do not connect to wifi as a station. Do above references to master mean that maybe 2.5.3 will fix this? Either way I'm sticking with 2.4 for now. |
WPA or WEP? |
WEP in this case. |
here too #6138 (comment) |
@arantius what is your WEP password like ? (passphrase, hexkey) Can you try with, before calling
|
No feedback in a long time. Closing. |
Settings in IDE
Hi
is there any obvious reason why connecting to wifi might not work with 2.5.0 but works flawlessly with 2.4.2?
with 2.5.0, wifi status starts at 6, then jumps to 1 and stays there, sometimes after many minutes it goes to 3 (connected) for one or two seconds (2 pings or so come through) and then it disconnects again.
@ 2.4.2 it connects instantly and stays connected, no packet loss whatsoever.
I wasn't able to produce a minimal sketch yet, unfortunately which reproduces this issue. My software is quite big and uses quite some amount of resources so I'm not sure whether the issue lies there. Just curious why everything's working with 2.4.2.
DATA: [===== ] 50.6% (used 41412 bytes from 81920 bytes)
PROGRAM: [==== ] 37.3% (used 390040 bytes from 1044464 bytes)
I'm using a crapload of libraries/includes in this project, maybe it gives a clue what could be the issue. The dnx* libraries are either local "forks" or self written libraries.
I'm not doing huge operations in async callbacks, I'm not defining any json buffers globally. I don't get any exceptions or crashes.
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <ESP8266HTTPUpdate.h>
#include <ESP8266HTTPClient.h>
#include <RFM69.h>
#include <RFM69_ATC.h>
#include <Hash.h>
#include <ESPAsyncTCP.h>
#include <ESPAsyncWebServer.h>
#include <SPI.h>
#include <dnxHC5.h>
#include <dnxESPWiFi.h>
#include <ArduinoJson.h>
#include <Wire.h>
#include "dnxExtEEPROM.h"
#include <PubSubClient.h>
#include <dnxNTPClient.h>
#include <WiFiUdp.h>
#include
#include <static/index.html.h>
I'm going to release the whole source code sooner or later anyways but I'll keep trying to create a minimal sketch which raises this issue for the sake of more easier debugging.
Thanks for any advice!
edit: yes, I have deleted the flash contents with esptool.
The issue comes and goes with 2.5.0 (tried it repeatedly).
The text was updated successfully, but these errors were encountered: