ESP8266 Connection Issues

azapps
Posts: 1
Joined: Sat Feb 06, 2016 2:38 am

ESP8266 Connection Issues

Postby azapps » Sat Feb 06, 2016 2:46 am

We're running ESP SDK IOT Demo 1.5.1 (unmodified) on Adafruit Huzzah. We have two serious problems.

1) Clients have an extremely hard time connecting to ESP AP. Our PC with WiFi can't connect, and our Raspbery Pi has to retry for almost a minute if it connects at all. True for both unencrypted / WPA2.

2) When clients do connect, we can CURL GET / POST correct WiFi STA info. But if we POST deliberately incorrect STA SSID, the ESP gets a fatal exception.

It then runs in an endless loop where it starts AP+STA, starts DHCPS, etc then gets the exception. We have to flash the chip to stop the problem, indicating that User Param (0x3C-3F000) is corrupted.

We get the same result with ESP Flash Tool 2.3 and esptool.py.python2. Pls see screenshot. Only setting changed on InitConfig to create esp_init_data_setting.bin is CrystalFreq = 26MHz. We also tried writing "blank.bin" to User Param 0x3C000-0x3E000. Didn't help.

We've wasted a week on this. When it actually works, we do NTP, REST, JSON, etc with no issues. But we keep getting these two problems.
Attachments
ESP Flash.PNG

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: ESP8266 Connection Issues

Postby ESP_Faye » Mon Feb 29, 2016 1:48 pm

Hi,

1. Do you mean that there is no station can connect to the AP module easily ? Could you try it with another module ?

2. What is the curl command you used ? We will have a try.

Or you can provide your bin files, we will download and test it.

Thanks for your interest in ESP8266 !

Who is online

Users browsing this forum: No registered users and 189 guests