some 8266 after long connect

alexchang
Posts: 52
Joined: Mon Apr 06, 2015 5:47 pm

some 8266 after long connect

Postby alexchang » Tue Jul 14, 2015 6:07 pm

some 8266 after long connect will lose connection with ap, and won't get ip anymore, message should be like below:
reconnect
f 0, scandone
reconnect
f -240, scandone
reconnect
f 0, scandone
reconnect
f -240, scandone
reconnect
f 0, scandone
reconnect
f -240, scandone
reconnect
f 0, scandone
reconnect
f -240, scandone

What can we do with that?

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

Re: some 8266 after long connect

Postby ESP_Faye » Wed Jul 15, 2015 11:11 am

Hi,

Which SDK are you using, SDK without OS or RTOS SDK ?

How long the connection is before this happen ?

Could you offer the capture packets ?

Could you offer more details of your test steps, we will have a try.

alexchang
Posts: 52
Joined: Mon Apr 06, 2015 5:47 pm

Re: some 8266 after long connect

Postby alexchang » Wed Jul 15, 2015 5:54 pm

SDK is 1.1.2 without OS.

We let those devices do full day test, sometimes happen.
Reboot does not help.

Harold L.
Posts: 26
Joined: Thu Dec 18, 2014 3:24 pm

Re: some 8266 after long connect

Postby Harold L. » Thu Jul 16, 2015 1:30 am

I've met the same problem, and made much tests. Details are in my post: http://bbs.espressif.com/viewtopic.php?f=7&t=541 , I've seen the same log when the problem happens.

What's more, during our long time tests(2 months), I found it also happens by chance when my AP restarted (Which was scheduled once per week)

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

Re: some 8266 after long connect

Postby ESP_Faye » Fri Jul 17, 2015 4:44 pm

Hi,Harold,

Sorry for the late reply, are you using ESP-01 ?

Could you try it with another module ?

We are working on this issue now,but we can‘t duplicate this problem ..

We will keep testing and checking our source code,I’ll let you know if there is any update.

Harold L.
Posts: 26
Joined: Thu Dec 18, 2014 3:24 pm

Re: some 8266 after long connect

Postby Harold L. » Tue Jul 21, 2015 11:46 am

Espressif_Faye wrote:Hi,Harold,

Sorry for the late reply, are you using ESP-01 ?

Could you try it with another module ?

We are working on this issue now,but we can‘t duplicate this problem ..

We will keep testing and checking our source code,I’ll let you know if there is any update.


I'm using our own PCB board, there are about 10pcs working at the same time, for more than 2 months. As I was saying, all of them worked perfectly until upgrade from SDK 0.9.4 to SDK 1.1.0. But I found another thing that may relate to the problem, new-SDK seems to scan for all channels before it was finally connected, but old-SDK would not (ESP8266 running SDK 0.9.4 could not connect at all if I change the channel of my AP!)

What's more, SDK 1.1.0 would scan for all channels during startup, but it will fail and print those logs if CPU is busy during startup, as I've said in my post.

zljin
Posts: 4
Joined: Thu Jun 25, 2015 3:24 pm

Re: some 8266 after long connect

Postby zljin » Wed Aug 05, 2015 8:11 am

we alse have the same problem, it happened 9 times one night.

SDK VERSION: V1.2.0 3rd July.

blubb
Posts: 116
Joined: Mon Jun 22, 2015 5:35 am

Re: some 8266 after long connect

Postby blubb » Wed Aug 05, 2015 5:33 pm

Debug libs have been posted here:
viewtopic.php?f=7&t=541&start=10#p3040
These create detailed logs. Send those to Espressif.

Who is online

Users browsing this forum: No registered users and 65 guests