Problem with setup after flashing
Moderators: grovkillen, Stuntteam, TD-er
Problem with setup after flashing
I've tried to flash the firmware unto an esp01.
Both 120 as 140 (rc3)
After flashing i get an accespoint esp01, so far so good, when i select my ssid and enter the password i keep getting the setup failed redo setup.
I'm 100% sure my ssid and password are correctly entered, i tried to select the ssid as well entry by hand, same result.
Perheps it;s because i've got a rather long ssid because i see weird charachters behind the ssid. (ssid is about 32 characters)
Does anybody has an idea why it wont work?
I tried to use the serial interface but all i got is garbage, (tried 11500/9600/19200)
Both 120 as 140 (rc3)
After flashing i get an accespoint esp01, so far so good, when i select my ssid and enter the password i keep getting the setup failed redo setup.
I'm 100% sure my ssid and password are correctly entered, i tried to select the ssid as well entry by hand, same result.
Perheps it;s because i've got a rather long ssid because i see weird charachters behind the ssid. (ssid is about 32 characters)
Does anybody has an idea why it wont work?
I tried to use the serial interface but all i got is garbage, (tried 11500/9600/19200)
Re: Problem with setup after flashing
Hi Guys
it took me 3 years to pick fiddling with esp's up again.
Flashed ESP_Easy_mega-20191208_normal_ESP8266_1M.bin
same problem. However because there is logging i could see it would cut off the last character of my ssid. (yes it is long )
Fired up second ssid which was 1 character shorter: instant result. So my 32 character ssid would not work
now comes the fun part: i have the same batch but then with nodemcu and that one connects without a problem.
Any ideas without renaming or have 2 different ssids ?
it took me 3 years to pick fiddling with esp's up again.
Flashed ESP_Easy_mega-20191208_normal_ESP8266_1M.bin
same problem. However because there is logging i could see it would cut off the last character of my ssid. (yes it is long )
Fired up second ssid which was 1 character shorter: instant result. So my 32 character ssid would not work
now comes the fun part: i have the same batch but then with nodemcu and that one connects without a problem.
Any ideas without renaming or have 2 different ssids ?
Re: Problem with setup after flashing
Code: Select all
now comes the fun part: i have the same batch but then with nodemcu and that one connects without a problem.
Maybe there is a workaround. Try setting the SSID using serial commands (via USB cable). The command is:Any ideas without renaming or have 2 different ssids ?
Code: Select all
WifiSSID YOUR_SSID_GOES_HERE
As a last resort you could try setting the WiFi parameters using ESP.Easy.Flasher.exe when you flash the bin file. It is provided in the Mega firmware download; Be sure to use the latest Mega release.
- Thomas
Re: Problem with setup after flashing
Apparently the SSID can be 32 bytes and we have 32 bytes in the storage, so by just changing the get/set functions, I can make it work with 32 byte SSIDs and it will still be compatible with older settings.
Although when you go back to an older version with the settings using 32 byte SSID, it may crash.
Although when you go back to an older version with the settings using 32 byte SSID, it may crash.
Re: Problem with setup after flashing
I added an issue for it and it may very well be that it will be fixed quite soon as I was already working on parts of that code.
See: https://github.com/letscontrolit/ESPEasy/issues/2814
See: https://github.com/letscontrolit/ESPEasy/issues/2814
Re: Problem with setup after flashing
Ah yes but is an very old pre arduino version using lua.ThomasB wrote: ↑14 Dec 2019, 00:10I'm surprised that nodeMCU works. I looked at WebServer.ino & WebServer_ConfigPage.ino and can see that the SSID is limited to 31 chars on the web form. So your 32 char SSID won't fit in the entry box.Code: Select all
now comes the fun part: i have the same batch but then with nodemcu and that one connects without a problem.
Yes tried that as well with the same result.ThomasB wrote: ↑14 Dec 2019, 00:10Maybe there is a workaround. Try setting the SSID using serial commands (via USB cable). The command is:Any ideas without renaming or have 2 different ssids ?I don't know if this method will accept your 32 chars SSID. But it's worth a try.Code: Select all
WifiSSID YOUR_SSID_GOES_HERE
As a last resort you could try setting the WiFi parameters using ESP.Easy.Flasher.exe when you flash the bin file. It is provided in the Mega firmware download; Be sure to use the latest Mega release.
- Thomas
Current version doesn't work for me with current ssidTD-er wrote: ↑14 Dec 2019, 16:37 Apparently the SSID can be 32 bytes and we have 32 bytes in the storage, so by just changing the get/set functions, I can make it work with 32 byte SSIDs and it will still be compatible with older settings.
Although when you go back to an older version with the settings using 32 byte SSID, it may crash.
me there is no need to go backTD-er wrote: ↑14 Dec 2019, 16:43 I added an issue for it and it may very well be that it will be fixed quite soon as I was already working on parts of that code.
See: https://github.com/letscontrolit/ESPEasy/issues/2814
thank you, i know i have somewhere a github account but my laptop was dying and i hadn;t have my charger.
Re: Problem with setup after flashing
That's correct as the future fix for it has not yet left my computer for its journey to GitHubCurrent version doesn't work for me with current ssid
But if it were to be merged, then actually storing a 32 byte SSID in the settings will make that settings file unusable in older versions of ESPEasy.
Re: Problem with setup after flashing
Can i do something in the form of testing?TD-er wrote: ↑18 Dec 2019, 09:25That's correct as the future fix for it has not yet left my computer for its journey to GitHubCurrent version doesn't work for me with current ssid
But if it were to be merged, then actually storing a 32 byte SSID in the settings will make that settings file unusable in older versions of ESPEasy.
Re: Problem with setup after flashing
The last 2 weeks were quite busy for me as I am moving to another house.
So I have not been programming since 24th of December.
Right now there is nothing for you to test.
So I have not been programming since 24th of December.
Right now there is nothing for you to test.
Who is online
Users browsing this forum: Ahrefs [Bot] and 35 guests