ESP8266 Developer Zone The Official ESP8266 Forum 2016-06-12T09:40:02+08:00 https://bbs.espressif.com:443/feed.php?f=16&t=2259 2016-06-12T09:40:02+08:00 2016-06-12T09:40:02+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2259&p=7279#p7279 <![CDATA[Re: ESP8266 module reset]]>
Did you download the AT bin files into flash using ESP Flash Download Tool, and selecting the corresponding Flash size ?

Statistics: Posted by ESP_Faye — Sun Jun 12, 2016 9:40 am


]]>
2016-06-07T17:48:59+08:00 2016-06-07T17:48:59+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2259&p=7244#p7244 <![CDATA[ESP8266 module reset]]>
I have 2 no. of ESP8266 module. I configure them by using AT command as follows.

Module 1 settings

Code:

    AT+CWMODE=3
    AT+CIPAP="192.168.1.0"
    AT+CWSAP="esp_1","",1,0         [Note: for testing no password is set]
    AT+CIPAP?                                                                     
       +CIPAP:ip:"192.168.1.0"
       +CIPAP:gateway:"192.168.1.0"
        +CIPAP:netmask:"255.255.255.0"
       OK
   
    AT+CWSAP?                                                                   
       +CWSAP:"esp_1","",1,0,4,0
       OK


Module 2 settings

Code:

    AT+CWMODE=3
    AT+CIPAP="192.168.2.0"
    AT+CWSAP="esp_2","",1,0         [Note: for testing no password is set]
    AT+CIPAP?                                                                     
       +CIPAP:ip:"192.168.2.0"
       +CIPAP:gateway:"192.168.2.0"
        +CIPAP:netmask:"255.255.255.0"
       OK
   
    AT+CWSAP?                                                                   
       +CWSAP:"esp_2","",1,0,4,0
       OK



Now I want to connect to Module 1 from Module 2, so I send following command from Module 2.

Code:

    AT+CWJAP="esp_1",""
      WIFI CONNECTED
      WIFI GOT IP                                                                     
      OK


Connection Ok. no problem.

Now I switch off Module 1, and send above command from module 2, my module 2 got reset with following log

Code:

   AT+CWJAP="esp_1",""
         ets Jan  8 2013,rst cause:4, boot mode:(3,7)                               
        wdt reset                       
        load 0x40100000, len 816, room 16   
        tail 0                                           
        chksum 0x8d
        load 0x3ffe8000, len 788, room 8
        tail 12
        chksum 0xcf
        ho 0 tail 12 room 4
        load 0x3ffe8314, len 288, room 12
        tail 4
        chksum 0xcf
        csum 0xcf
         
        2nd boot version : 1.2                                                       
          SPI Speed      : 40MHz                                                   
          SPI Mode       : DIO                             
          SPI Flash Size : 32Mbit                               
        jump to run user1                                   
        rlŽô                                                       
        ready


Another observation is that.

After above error I restore the setting of Module 2 to factory setting by "AT+RESTORE" command and again configure Module 2 given by above steps.

Now when I fire connect command I got some response, In this case my module is not got reset. (Note: Module 1 is still switch off)

Code:

    AT+CWJAP="esp_1",""
    +CWJAP:3                                                                     
    FAIL


So My question is why module got reset in Test case 1.
What is meaning of "rst cause:4" in error log?

Thanks in advance.

Statistics: Posted by beparas — Tue Jun 07, 2016 5:48 pm


]]>