-
Notifications
You must be signed in to change notification settings - Fork 99
It does not store the SSID and Password in WROOM02 ESP8266 #69
Comments
Hi, I suggest you restart with the same ConfigOnSwitchFS example, but use the latest ESP_WiFiManager releases v1.7.4) with Arduino IDE, not PIO with the too old version v1.3.0 to be sure your board has no issue with LittleFS. Be sure to update your ESP8266 core to ESP8266 releases v3.0.2. Only move to PIO, which is still buggy and required more experience and knowledge to use without issue, after everything is OK with Arduino IDE. I'm closing the issue now, until you finished the test in Arduino IDE with the same environment requested in Prerequisites and repost the result to prove this is a bug caused by this library. Good Luck, |
The above build_flags can be the culprit if it's not 100% correct for your
It's better you post an issue on PIO Forum to ask for help which is the correct flags to use. |
I suggest you change to one of these to see which one is OK for you
Good Luck, |
many of you are very kind. Cheers José
Get Outlook para Android<https://aka.ms/AAb9ysg>
…________________________________
From: Khoi Hoang ***@***.***>
Sent: Monday, September 27, 2021 10:10:59 PM
To: khoih-prog/ESP_WiFiManager ***@***.***>
Cc: joseperri ***@***.***>; Author ***@***.***>
Subject: Re: [khoih-prog/ESP_WiFiManager] It does not store the SSID and Password in WROOM02 ESP8266 (#69)
I suggest you change to one of these to see which one is OK for you
1. build_flags = -Wl, -Teagle.flash.2m1m.ld
2. build_flags = -Wl, -Teagle.flash.2m64.ld
3. build_flags = -Wl, -Teagle.flash.2m128.ld
4. build_flags = -Wl, -Teagle.flash.2m256.ld
5. build_flags = -Wl, -Teagle.flash.2m512.ld
Good Luck,
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#69 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHEZ25Y224FRO3Q5WE3PU6DUEEI2HANCNFSM5EYHCT6Q>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
You're very welcome. Please post the result back here to help other users after testing if OK or not. Thanks, |
I wanted to tell you that effectively with the Arduino IDE the library works perfectly, apparently the problem is generated within the Platformio IDE. Greetings
Get Outlook para Android<https://aka.ms/AAb9ysg>
…________________________________
From: Khoi Hoang ***@***.***>
Sent: Sunday, September 26, 2021 12:21:59 AM
To: khoih-prog/ESP_WiFiManager ***@***.***>
Cc: joseperri ***@***.***>; Author ***@***.***>
Subject: Re: [khoih-prog/ESP_WiFiManager] It does not store the SSID and Password in WROOM02 ESP8266 (#69)
Hi,
I suggest you restart with the same ConfigOnSwitchFS example<https://github.com/khoih-prog/ESP_WiFiManager/tree/master/examples/ConfigOnSwitchFS>, but use the latest ESP_WiFiManager releases v1.7.4)<https://github.com/khoih-prog/ESP_WiFiManager/releases/tag/v1.7.4> with Arduino IDE, not PIO with the too old version v1.3.0 to be sure your board has no issue with LittleFS. Be sure to update your ESP8266 core to ESP8266 releases v3.0.2<https://github.com/esp8266/Arduino/releases/tag/3.0.2>.
Only move to PIO, which is still buggy and required more experience and knowledge to use without issue, after everything is OK with Arduino IDE.
I'm closing the issue now, until you finished the test in Arduino IDE with the same environment requested in Prerequisites<https://github.com/khoih-prog/ESP_WiFiManager#prerequisites> and repost the result to prove this is a bug caused by this library.
Good Luck,
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#69 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHEZ255PPW36WQ55GNMGZATUD2GVPANCNFSM5EYHCT6Q>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
FYI, the meanings of those
Please try in PIO with one of these to know if it's OK
|
Hello, good day, I wanted to warn you that I could not make it work with the WROOM-02 in Platformio but as I had mentioned it works perfectly in ARDUINO IDE, migrate the code to an ESP32 board and it works perfectly even within Platformio.
From what I have been able to detect using the ESP8266 Download Tool, the WROOM02 would be 4MB, the data detected was
flash vendor:68h: N / Aflash devID:4016hQUAD; 32Mbitcrystal:26 Mhz
I have used the
build_flags = -Wl, -Teagle.flash.4m2m.ld
inside the platformio.ini but there was no result, even with other values.
I wanted to send this information in case it is useful to another user, in my case I changed to ESP32 and the problems were solved even within the Platformio.
Again very grateful for the support provided.
José
|
Uh oh!
There was an error while loading. Please reload this page.
Software Context
Using the example code ConfigOnSwitchFS.ino over a WROOM02 Everything works normally but when I do a reset the SSID and Password data are lost.
I detail the LOG.
First start LOG
AFTER LOAD MY WIFI CREDENTIAL LOG
BUT AFTER A RESTART LOST THE SSID AND PASSWORD ANG PORTAL CAME BACK AGAIN
SUMMARY: I UNDERSTAND THAT WIFI CREDENTIALS MUST BE STORED AFTER A RESET, THE EXAMPLE IS THAT IT IS PUBLISHED. I WANT TO CLARIFY THAT SO THAT THE CONFIGURATION FILE DOES NOT ERROR, I HAVE HAD TO MODIFY THE build_flags = -Wl, -Teagle.flash.4m3m.ld INTO THE PLATFORMIO.INI BUT I DO NOT UNDERSTAND HOW IT WORKS MAYBE THE PROBLEM IS RELATED.
VERY PROBABLY I'M DOING SOMETHING WRONG I AND IT IS NOT A PROBLEM OF THE LIBRARY FOR WHICH I WILL BE VERY GRATEFUL FOR ANY COMMENTS.
GREETINGS JOSE FROM ARGENTINA
BELOW I ADD THE CORRESPONDING CODE TO THE EXAMPLE SUPPLIED WITH THE LIBRARY
The text was updated successfully, but these errors were encountered: