logo elektroda
logo elektroda
X
logo elektroda

ESP8266-07 - why can't I connect to the ESP8266-07 via UART flasher?

m72 8331 18
Best answers

How do I wire an ESP8266-07 so a UART flasher can connect to it?

You need the ESP-07 boot pins set for flashing: cross TX/RX, power it from 3.3 V, connect EN/CH_PD to 3.3 V, GPIO0 to GND, GPIO15 to GND, and GPIO2 to 3.3 V; otherwise the flasher will get no response because the chip is not in programming mode [#16967035][#15034023][#16978742] In normal run mode, GPIO0 and GPIO2 must be pulled up to 3.3 V while GPIO15 stays grounded [#16967035] If it is still silent, try a simple terminal and AT+RST, because the UART speed may be 115200, 9600, or another value depending on the firmware [#14676661]
Generated by the language model.
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 14676376
    m72
    Level 12  
    Posts: 398
    Rate: 28
    Hello, I have purchased an ESP8266 model 07
    ESP8266-07 - why can't I connect to the ESP8266-07 via UART flasher?
    I can't bloody find a wiring diagram for it so I'm relying on wiring diagrams from other varieties of ESP8266.
    On the drawing I've drawn how I've connected it, in green there are elements connected alternatively e.g. (GPIO0 - for flashing, reset once with a resistor once without, CH_PD to 3.3v once directly once through a resistor).
    I tried to establish a connection using ESP8266Flasher, ESP FLASH DOWNOLAD TOOL and XTCOM_UTIL.
    The matter is that e.g. in the first one there is no bauderate9600 at all
    and when trying to connect I get something like this
    ESP8266-07 - why can't I connect to the ESP8266-07 via UART flasher?
    and the program itself starts with an error
    ESP8266-07 - why can't I connect to the ESP8266-07 via UART flasher?

    other programs similarly, they try to connect but zero response from the module.
    I noticed a dependency, that when I send a character from the terminal, the blue LED on the module lights up only when nothing is connected to CH_PD, as if contrary to the schematic !
    ESP8266-07 - why can't I connect to the ESP8266-07 via UART flasher?

    USB-> RS-232 (3.3v) adapter, original, not homemade, 100% working, because I use it all the time.

    What is wrong ?
  • ADVERTISEMENT
  • #2 14676661
    QuadMan
    Level 14  
    Posts: 53
    Help: 11
    Rate: 3
    Hello,
    "Pinology" you have got right, ESP-07 certainly has the leads as you have drawn.
    But:
    1.Reset is active high state, so don't connect it at all ( or give it to ground).
    2.TXd and Rxd are the physical signals of the module, I hope you connected this adapter "crosswise".
    3. Leave GPIO0 unconnected, low state on it is only needed for programming 0 it is internally pulled up to Vcc.
    4. You may have set different speed of internal UART: 115200, 9600, or some other: depending on firmware. Give AT+RST - the module should respond.
    5. For your first attempts, use either a terminal, some simple one like Putty for example, or ESP8286Config - quite a friendly software.

    Regards, QuadMna.
  • ADVERTISEMENT
  • #3 14677032
    m72
    Level 12  
    Posts: 398
    Rate: 28
    Even if the bauderats were set wrongly, anything should appear in the terminal at the greeting, even some bushes, unfortunately there is total silence.
    And still when I transmit something from the computer to the module (without the CH_PD connected, which surprises me the most) the blue diode flashes but there is no response.
    When I connect CH_PD to + as it should be according to the diagram, the diode does not flash, COM in the computer starts to whirr, the port is disconnected and in the realterm the "RING" light starts to flash as in the picture.
    ESP8266-07 - why can't I connect to the ESP8266-07 via UART flasher?
  • ADVERTISEMENT
  • #4 14677494
    Nagus
    Level 27  
    Posts: 757
    Help: 99
    Rate: 97
    Quote:
    I can't bloody find a wiring diagram for it so I'm relying on wiring diagrams from other varieties of ESP8266.

    You are searching poorly...
    esp8266-esp-0712-full-io-breadboard-adapter

    Quote:
    Reset is active high state, so don't connect it at all ( or put it to ground).

    High? Since when? The Chinese vulture on resistors, so the RST must be externally pulled up to +.[/quote]
  • ADVERTISEMENT
  • #5 14677894
    slx
    Level 19  
    Posts: 146
    Help: 41
    Rate: 16
    A certain series of ESP-07s had a badly soldered quartz (rotated by 90°).
    This was supposed to apply, only to those with blue antennas. But who knows, maybe this one has it too.
    ESP8266-07 - why can't I connect to the ESP8266-07 via UART flasher?
  • #6 14678350
    m72
    Level 12  
    Posts: 398
    Rate: 28
    I have unsoldered it. Am I to understand that my quartz is even more badly soldered ? :D

    ESP8266-07 - why can't I connect to the ESP8266-07 via UART flasher?


    ps.
    Quote:
    Marnie looking for ....
    esp8266-esp-0712-full-io-breadboard-adapter

    where is the wiring diagram ?
  • #7 14678474
    QuadMan
    Level 14  
    Posts: 53
    Help: 11
    Rate: 3
    Welcome back.

    Nagus wrote:
    ....High? Since when? The Chinese vulture on resistors, so the RST must be externally pulled up to +.


    You are 100% correct, I got something wrong with that RST, sorry for the confusion. Except that in my case there is a pull-up resistor to Vcc.

    Regards, QuadMan.
  • #9 15034023
    marexsc
    Level 15  
    Posts: 222
    Help: 3
    Rate: 56
    Maybe the programmer is to blame, I had a weird one for a while, I thought I had bad modules, it programmed the first 10% of the software, until I bought a USB TTL pl2303 (the model in the transparent shrink-wrap).As for this programmer, there are problems with the drivers in win8 for that in win7 it works perfectly.

    The connection as far as the Nodemcu software and the Nodemcu-flasher programme are concerned (I do not know about the others) is 99%:

    Power supply max 3.6V
    RX--TX
    TX--RX
    CH-PD -- 3,3V(I didn't use any resistors)
    Gpio0 -- GND

    Gpio15 -- I didn't connect
    RST -- I did not connect

    If this way doesn't work write me to check in person this afternoon.
  • #10 16955910
    tijo_tomek
    Level 12  
    Posts: 32
    Rate: 13
    m72 wrote:
    Hello, I have purchased an ESP8266 model 07
    ESP8266-07 - why can't I connect to the ESP8266-07 via UART flasher? Hello
    I can't bloody find a wiring diagram for it so I'm relying on wiring diagrams from other varieties of ESP8266.
    On the drawing I've drawn how I've connected it, in green there are elements connected alternatively e.g. (GPIO0 - for flashing, reset once with resistor once without, CH_PD to 3.3v once directly once through a resistor).
    I tried to establish a connection using ESP8266Flasher, ESP FLASH DOWNOLAD TOOL and XTCOM_UTIL.
    The matter is that e.g. in the first one there is no bauderate9600 at all
    and when trying to connect I get something like this
    ESP8266-07 - why can't I connect to the ESP8266-07 via UART flasher?
    and the program itself starts with an error
    ESP8266-07 - why can't I connect to the ESP8266-07 via UART flasher?

    other programs similarly, they try to connect but zero response from the module.
    I noticed a dependency, that when I send a character from the terminal, the blue LED on the module lights up only when nothing is connected to CH_PD, as if contrary to the schematic !
    ESP8266-07 - why can't I connect to the ESP8266-07 via UART flasher?

    USB-> RS-232 (3.3v) adapter, original, not homemade, 100% working, because I work on it all the time.

    What is wrong ?


    Hello!!!
    Mate instead of connecting the Reset connect +3,3 on GPIO2...it starts immediately!!!
  • #11 16955970
    oskar777

    Level 26  
    Posts: 1264
    Help: 76
    Rate: 243
    I used this Chinese diagram and it certainly worked the version with the white antenna.
    ESP8266-07 - why can't I connect to the ESP8266-07 via UART flasher?

    Greetings
    Company Account:
    Oskar-info
    Gidzińskiego 24/1, Warszawa, 02-293 | Tel.: 501XXXXXX (Show) | Company Website: http://oskar-info.pl
  • #12 16956014
    tijo_tomek
    Level 12  
    Posts: 32
    Rate: 13
    ESP8266-07 - why can't I connect to the ESP8266-07 via UART flasher?
    and I of this
  • #13 16963497
    krzbor
    Level 29  
    Posts: 1737
    Help: 40
    Rate: 1046
    I recommend using the adapter: ESP8266-07 - why can't I connect to the ESP8266-07 via UART flasher? It allows easy prototyping (2.54 mm spacing) on a contact board. It is also easy to mount such a circuit on a universal board. In addition, the adapter pulls up CH_PD to VCC and GPIO15 to ground.
  • #14 16967035
    m.biruta
    Level 16  
    Posts: 479
    Help: 2
    Rate: 32
    The ESP8266-07 is quite specific when it comes to connecting. I also waged war with it for probably two days, but finally got it right. The best thing is that how to connect in a specific mode is not too much on the net. So yes: 07 is connected differently if you want to program and differently if you want it to work with already uploaded soft. In programming mode, the software will load and run, but after a reset, the program will not get up but the chip will wait for the software to load.

    If you want to upload the soft, you connect:
    (ESP) RX -------- TX (FT232)
    (ESP) TX -------- RX (FT232)
    (ESP) GND ------- GND (FT232)
    (ESP) VCC ------- VCC 3.3V (FT232)
    (ESP) EN -------- VCC 3.3V (FT232)
    (ESP) GPIO0 ----- GND (FT232)
    (ESP) GPIO15 ---- GND (FT232)

    If you want to run in normal mode i.e. run the program from memory:
    (ESP) GND ------- GND
    (ESP) GPIO15 ---- GND
    (ESP) VCC ------- VCC 3.3V
    (ESP) EN -------- VCC 3.3V
    (ESP) GPIO0 ----- VCC 3.3V
    (ESP) GPIO2 ----- VCC 3.3V

    Obviously the EN (i.e. CH_PD) should be connected via a resistor, although give it directly to start with, as I found it could go crazy with a resistor.
  • #16 16977940
    tijo_tomek
    Level 12  
    Posts: 32
    Rate: 13
    m.biruta wrote:
    ESP8266-07 is quite specific when it comes to connecting. I also waged war with it for probably two days, but finally got it right. The best thing is that how to connect in a specific mode is not too much on the net. So yes: 07 is connected differently if you want to program and differently if you want it to work with already uploaded soft. In programming mode, the software will load and run, but after a reset, the program will not get up but the chip will wait for the software to load.

    If you want to upload the soft, you connect:
    (ESP) RX -------- TX (FT232)
    (ESP) TX -------- RX (FT232)
    (ESP) GND ------- GND (FT232)
    (ESP) VCC ------- VCC 3.3V (FT232)
    (ESP) EN -------- VCC 3.3V (FT232)
    (ESP) GPIO0 ----- GND (FT232)
    (ESP) GPIO15 ---- GND (FT232)

    If you want to run in normal mode i.e. run the program from memory:
    (ESP) GND ------- GND
    (ESP) GPIO15 ---- GND
    (ESP) VCC ------- VCC 3.3V
    (ESP) EN -------- VCC 3.3V
    (ESP) GPIO0 ----- VCC 3.3V
    (ESP) GPIO2 ----- VCC 3.3V

    Obviously the EN (i.e. CH_PD) should be connected via a resistor, although give it directly to start with, as I found it could go crazy with a resistor.


    Flashing without 3.3V on GPIO2 doesn't get things going....
  • #17 16978742
    m.biruta
    Level 16  
    Posts: 479
    Help: 2
    Rate: 32
    That's right, you still need VCC on GPIO02!
  • #18 16984063
    Arek1984
    Level 16  
    Posts: 432
    Help: 7
    Rate: 110
    krzbor wrote:
    I recommend using the adapter: ESP8266-07 - why can't I connect to the ESP8266-07 via UART flasher? It allows easy prototyping (2.54 mm spacing) on a contact board. It is also easy to mount such a circuit on a universal board. In addition, the adapter pulls up CH_PD to VCC and GPIO15 to ground.


    And in addition, there is space on the back for the HT7333 regulator.
  • #19 18474197
    Anonymous
    Level 1  
ADVERTISEMENT