logo elektroda
logo elektroda
X
logo elektroda

ESP8266 does not respond to AT commands - how to get it working?

adamekamator 1302 11
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 18093856
    adamekamator
    Level 17  
    Hello colleagues if not this section please move. The problem is this, I bought on the spur of the moment such a small WIFI ESP8266 gadget and no response to AT commands, help to get it working. It starts probably fine because on the terminal I have this data.

    ets Jan  8 2013,rst cause:2, boot mode:(3,7)
    
    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 usererror user bin flag, flag = 8
    user code done
    .
  • ADVERTISEMENT
  • #2 18093959
    khoam
    Level 42  
    adamekamator wrote:
    The problem is this, I bought on the spur of the moment this little WIFI ESP6288 gadget and no response to AT commands, help get it working.
    .
    Maybe it just doesn't have the AT firmware uploaded. If it's an ESP-12E, it doesn't have to have it at all and it needs to be done.
  • ADVERTISEMENT
  • #3 18093988
    adamekamator
    Level 17  
    Buddy I'm trying to flash the software but I'm doing something wrong because it's silent I've downloaded a couple of fierwals but no response I think I'm dividing the files wrong it only responds with ESP6288 v9.5.0. AT but whatever I send it returns <00><00> sometimes three or more. and this is when I upload with XTCOM_UTIL.

    Added after 6 [minutes]: .

    Unless I don't upload it all "ESP6288-IDFAT_V2.0 I still have versions 1.7 and1.6 I upload it NODEMCU FIRMWARE PROGRAMMER and flasch_download_tools_v3.6.6
  • #4 18094010
    khoam
    Level 42  
    What communication speed do you have set in XTCOM_UTIL?
    The original AT firmware is at this link https://www.espressif.com/en/support/download/at?keys=&field_type_tid%5B%5D=14
    After unzipping the zip, there is a separate file with instructions on what files to upload and with what boot address.

    There are files (version 1.7) with boot addresses to upload (for ESP-12 with 4MB flash memory):
    Code: Ini
    Log in, to see the code
    .
  • ADVERTISEMENT
  • #5 18094017
    adamekamator
    Level 17  
    115200 baud the answer is that the sofy uploaded successfully and any response is there.
  • ADVERTISEMENT
  • #6 18094018
    khoam
    Level 42  
    adamekamator wrote:
    15200 baud response is that the sofy uploaded successfully and any response is.
    .
    Rather 115200, just because something has uploaded yet doesn't mean it has uploaded correctly. In post #4 I added information about the files and their start addresses.
  • #7 18094020
    adamekamator
    Level 17  
    I have the softy from that site you gave me I'll look in notepad for the soft file how to play it at which address.

    Added after 8 [minutes]: .

    So I just have to upload the bin file from the factory folder to address0x00000? that's how it was supposed to be 115200
  • Helpful post
    #8 18094060
    khoam
    Level 42  
    adamekamator wrote:
    So I have to upload only this bin file from the factory folder at address0x00000? yes it was supposed to be 115200
    .
    You should upload the files according to the boot addresses I wrote about in post #4.
    After unzipping the ESP8266_AT_Bin_V1.7.zip, they are located in the folders:
    .../ESP8266_AT_Bin_V1.7/ESP8266_AT_Bin_V1.7/bin/
    .../ESP8266_AT_Bin_V1.7/ESP8266_AT_Bin_V1.7/bin/at/1024+1024/
  • #9 18094113
    adamekamator
    Level 17  
    "ESP8266_AT_Bin_V1.7/ESP8266_AT_Bin_V1.7/bin/ " Mate in I don't see this batch and from this second path in 1024+1024 there are two files user 1 and user 2 both uploaded

    Added after 6 [minutes]:

    boot_v1.2 + .bin 0x00000
        user1.2048.new.5.bin 0x01000
        esp_init_data_default.bin 0x1fc000
        blank.bin 0xfe000 i 0x1fe000
    .
    This is how I will upload it and see if it runs I will upload NODEMCU

    Added after 5 [minutes]:

    And still in this NODEMC the settings are good
    BAUDRATE 11520
    Flash size 4MByte
    Flash speed 40MHz
    SPI Mode DIO

    Added after 20 [minutes]:

    Uploaded as you wrote in the 4th post and this is the effect;

    Spoiler:
    .
    ets Jan  8 2013,rst cause:2, boot mode:(3,6)
    
    
    
    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 usererror user bin flag, flag = 8
    
    user code done
    
    <00>
    
     ets Jan  8 2013,rst cause:2, boot mode:(3,4)
    
    
    
    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
    
    
    
    mismatch map 5,spi_size_map 4
    
    system_partition_table_regist fail
    .

    Added after 10 [hours] 56 [minutes]: .

    Colleagues i found a video tutorial i uploaded according to it and ESP8266 after reset from pin reports redy after sending AT it sent back AT i.e. it did echo instead of responding ok Addresses in sequence
    0x00000
    0x01000
    0x7C000
    0x7E000
    What am I doing wrong?

    Added after 16 [minutes]:

    I checked on the Puty terminal and there the bushes I him AT->řđŢ hardware is probably ok since it responds to batches ?

    Added after 1 [hour] 25 [minutes]:

    Sorry Puty also works and so would have an echo on

    Added after 2 [hours] 13 [minutes]:

    I close the topic, however, a hardware error this little wonder I plugged in such a way that I soldered a goldpin to RX iTX IO0 plus and Vcc and ground I connected the female so z3cm to connect under 3.3V on his starter board as close as possible to the inverter 5V->3,3v .I used female-female cables about 30cm to connect USB->UART TTL 5V/3.3V and the IO0 pin, but after uploading the software I left it under the ESP, which means I created strange states on this pin for the processor, making communication impossible. I am writing about this because it is an unforgivable mistake with processors to leave such antennas on the pin, especially with inverters and switching power supplies. Now Eclipsa can be fired up and run on the AVR and test if it talks over WIFI .Thank you for your interest and time .

    Added after 40 [minutes]: .

    Good thing I didn't close the topic I still have a question on how to configure because after giving the name of my WIFI router found AT+CWJAP="name", "WIFI password" it gets
    +CWJAP:3
    FAIL
    ESP8266 set up
    +CIPMODE:0
    AT+CIPMUX=1
    Where is the error in the connection router about a metre from the ESP?
  • #10 18095022
    adamekamator
    Level 17  
    "ESP8266_AT_Bin_V1.7/ESP8266_AT_Bin_V1.7/bin/ " Mate in I don't see this batch and from this second path in 1024+1024 there are two files user 1 and user 2 both uploaded

    Added after 6 [minutes]:

    boot_v1.2 + .bin 0x00000
        user1.2048.new.5.bin 0x01000
        esp_init_data_default.bin 0x1fc000
        blank.bin 0xfe000 i 0x1fe000
    .
    So I'll upload it and see if it runs I'll upload NODEMCU

    Added after 5 [minutes]:

    And still in this NODEMC the settings are good
    BAUDRATE 11520
    Flash size 4MByte
    Flash speed 40MHz
    SPI Mode DIO

    Added after 20 [minutes]:

    Uploaded as you wrote in the 4th post and this is the effect;

    Spoiler:
    .
    ets Jan  8 2013,rst cause:2, boot mode:(3,6)
    
    
    
    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 usererror user bin flag, flag = 8
    
    user code done
    
    <00>
    
     ets Jan  8 2013,rst cause:2, boot mode:(3,4)
    
    
    
    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
    
    
    
    mismatch map 5,spi_size_map 4
    
    system_partition_table_regist fail
    .

    Added after 10 [hours] 56 [minutes]: .

    Colleagues i found a video tutorial i uploaded according to it and ESP8266 after reset from pin reports redy after sending AT it sent back AT i.e. it did echo instead of responding ok Addresses in sequence
    0x00000
    0x01000
    0x7C000
    0x7E000
    What am I doing wrong?

    Added after 16 [minutes]:

    I checked on the Puty terminal and there the bushes I AT->řđŢ hardware is probably ok since it responds to batches ?

    Added after 1 [hour] 25 [minutes]:

    Sorry Puty also works and so would have an echo on

    Added after 2 [hours] 13 [minutes]:

    I close the topic, however, a hardware error this little miracle I plugged in such a way that I soldered a goldpin to RX iTX IO0 plus and Vcc and ground I connected female so z3cm to connect under 3.3V on his starter board as close as possible to the inverter 5V->3,3v .I used female-female cables about 30cm to connect USB->UART TTL 5V/3.3V and the IO0 pin, but after uploading the software I left it under the ESP, which means I caused the processor to have strange states on this pin, making communication impossible. I am writing about this because it is an unforgivable mistake with processors to leave such antennas on the pin, especially with inverters and switching power supplies. Now Eclipsa can be fired up and run on the AVR and test if it talks over WIFI .Thank you for your interest and time .

    Added after 40 [minutes]: .

    Good thing I didn't close the topic I still have a question on how to configure because after giving the name of my WIFI router found AT+CWJAP="name", "WIFI password" it gets
    +CWJAP:3
    FAIL
    ESP8266 set up
    +CIPMODE:0
    AT+CIPMUX=1
    Where is the error in connecting the router about a metre from the ESP?
  • #11 18098147
    khoam
    Level 42  
    adamekamator wrote:
    Set ESP8266
    +CIPMODE:0
    AT+CIPMUX=1
    .
    How is the CWMODE set?

    adamekamator wrote:
    The end of the game I messed up ESP after uploading the soft from the manual to version 1.6 it after reboot is still transmitting over uart and can not be stopped
    .
    I suggest clearing the flash memory completely. A useful article (in Polish) is here:
    https://blynk.pl/esp8266-z-blynk-czesto-sie-resetuje-co-robic/
  • #12 18098578
    adamekamator
    Level 17  
    set to 1 module works (a hard reset helped, i.e. disconnected from power) connects to my router useful site. As for the problems with the UART connection, it was inaccurate knowledge of the USB/TTL adapter, which works on 3.3V and I fed it with 5V, it's a wonder I didn't break it after connecting directly ESP8266->USB/TTL after uploading the software everything works nicely.

Topic summary

The discussion revolves around troubleshooting an ESP8266 module that does not respond to AT commands. The initial user reports successful booting but no response to commands. Responses suggest that the issue may stem from the absence of AT firmware, with recommendations to flash the correct firmware using tools like XTCOM_UTIL. Specific boot addresses for firmware files are provided, and users discuss settings such as baud rate (115200) and flash size (4MByte). A user eventually resolves the issue by ensuring the correct UART voltage (3.3V) and performing a hard reset, leading to successful communication with the router.
Summary generated by the language model.
ADVERTISEMENT