-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Chip Crashing when changing from SoftAP Mode to Station Mode #5737
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
Comments
I'm having the same problem, what was the solution? |
i didn't find one i just closed the issue cause no one replied to it....should i re-open it? |
Yeah I am trying to narrow down my code to see exactly what is causing it, but it seems to be some corruption when I switch between AP mode and STA mode. |
i think it has to do something with the way im storing the values for the SSID and the PASSWORD for the new wifi but i could be wrong |
Mine ended up being a completely different issues, so sorry to confuse you. I would suggest keep removing code until it doesn't repro and it should give you a better idea of what is actually happening. |
What was your issue i might give your solution a try |
No feedback in 8 months, and the provided sketch is far from minimal. Closing. |
Basic Infos
Platform
Settings in IDE
Problem Description
So i want to make a captive portal on my esp8266 so i can put my WiFi info and then use them to connect to my home wifi....I start with SoftAP mode i serve a page that i just put my WiFi info into then i press a button it sends the info to the chip as a JSON file i parse it then put the SSID and PASS on vars then i close the SoftAP and start a Station Mode with the into that i got but every time i try to send the data the chip crashes immediately after it receives the data and gives me this :
Exception (9):
epc1=0x40208d46 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4f575357 depc=0x00000000
ctx: cont
sp: 3ffffd50 end: 3fffffd0 offset: 01a0
ets Jan 8 2013,rst cause:2, boot mode:(1,6)
ets Jan 8 2013,rst cause:4, boot mode:(1,6)
wdt reset
The text was updated successfully, but these errors were encountered: