logo elektroda
logo elektroda
X
logo elektroda

Difficulties programming ESP8266 V3 module with NodeMcu Flasher and CH340 controller

rafnocul12 2127 28
Best answers

How do I get an ESP8266 V3 board with a CH340/CH340G USB converter into programming mode so NodeMCU Flasher can upload firmware?

To program it, put the ESP into flash mode by holding the FLASH button while connecting the USB cable or while resetting the board; on a properly wired NodeMCU board this auto-switching should happen through the CH340 circuitry, so GPIO0 usually does not need to be manually shorted to GND. [#19680735][#19879318][#19680712] If the flasher still does not detect the ESP, try another USB cable, because a bad cable can prevent communication even if power is present. [#19680745][#19879318] The CH340G marking is not a separate driver case; it uses the normal CH340 family driver. [#19680800][#19680810]
Generated by the language model.
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 19680611
    rafnocul12
    Level 5  
    Posts: 16
    Hello, I do not know how to program esp 8266 v3, I tried to upload firmware via NodeMcu flasher, I pressed flash and nothing happened. I have a CH340 installed.
    Does anyone know how to help me?
  • ADVERTISEMENT
  • #2 19680627
    bubu1769
    Level 43  
    Posts: 8040
    Help: 1173
    Rate: 2344
    Show port settings.
  • #3 19680645
    rafnocul12
    Level 5  
    Posts: 16
    Difficulties programming ESP8266 V3 module with NodeMcu Flasher and CH340 controller .

    Added after 3 [minutes]:

    I use such a program :Difficulties programming ESP8266 V3 module with NodeMcu Flasher and CH340 controller .
  • #4 19680654
    bubu1769
    Level 43  
    Posts: 8040
    Help: 1173
    Rate: 2344
    I was referring to these settings:
    Difficulties programming ESP8266 V3 module with NodeMcu Flasher and CH340 controller .
    and this
    Difficulties programming ESP8266 V3 module with NodeMcu Flasher and CH340 controller
  • #5 19680676
    rafnocul12
    Level 5  
    Posts: 16
    Difficulties programming ESP8266 V3 module with NodeMcu Flasher and CH340 controller Difficulties programming ESP8266 V3 module with NodeMcu Flasher and CH340 controller .
  • ADVERTISEMENT
  • Helpful post
    #6 19680690
    Anonymous
    Level 1  
  • #7 19680697
    rafnocul12
    Level 5  
    Posts: 16
    Difficulties programming ESP8266 V3 module with NodeMcu Flasher and CH340 controller .
  • ADVERTISEMENT
  • #8 19680698
    bubu1769
    Level 43  
    Posts: 8040
    Help: 1173
    Rate: 2344
    In my opinion, the baudrate needs to be set to 115200 can even be 9600.
  • #9 19680701
    rafnocul12
    Level 5  
    Posts: 16
    I set it up like this and it doesn't work
  • #10 19680707
    bubu1769
    Level 43  
    Posts: 8040
    Help: 1173
    Rate: 2344
    And still try SPI Mode on the DOUT.
  • ADVERTISEMENT
  • #11 19680712
    Anonymous
    Level 1  
  • #12 19680717
    bubu1769
    Level 43  
    Posts: 8040
    Help: 1173
    Rate: 2344
    The V3 has an integrated converter.
    Plugging in DPIO0 should not be necessary.
  • #13 19680723
    rafnocul12
    Level 5  
    Posts: 16
    I am sending you the Allegro auction number from where I bought:

    9522204513


    But I don't understand what you wrote khoam
  • #14 19680731
    Anonymous
    Level 1  
  • #15 19680734
    rafnocul12
    Level 5  
    Posts: 16
    khoam wrote:
    There is a "FLASH" button on this board. Is it pressed before programming/uploading firmware?


    So should I press it before programming ?
  • #16 19680735
    Anonymous
    Level 1  
  • #17 19680737
    rafnocul12
    Level 5  
    Posts: 16
    I pressed it did not help
  • #18 19680742
    bubu1769
    Level 43  
    Posts: 8040
    Help: 1173
    Rate: 2344
    Are you set to 9600 bps?
  • #19 19680744
    rafnocul12
    Level 5  
    Posts: 16
    bubu1769 wrote:
    You are set to 9600 bps?
    .

    115200
  • #20 19680745
    Anonymous
    Level 1  
  • #21 19680750
    rafnocul12
    Level 5  
    Posts: 16
    khoam wrote:
    Can you replace with another USB cable? Preferably one that is not used for charging your mobile phone.


    Did not help

    Added after 2 [minutes]:

    In my opinion it does not detect esp
    no ap mac addresses either
  • #22 19680760
    Anonymous
    Level 1  
  • #23 19680770
    rafnocul12
    Level 5  
    Posts: 16
    When I press flash, the esp light only flashes, but nothing happens in the programme.

    Added after 1 [minute]:

    On the back of the esp it says CH340G is this the same as CH340?

    Added after 1 [minute]:

    Difficulties programming ESP8266 V3 module with NodeMcu Flasher and CH340 controller .

    Added after 9 [minutes]:

    khoam wrote:
    Which USB port are you powering the board from?

    COM4 is this about ?
    .
  • #24 19680800
    Anonymous
    Level 1  
  • #25 19680806
    rafnocul12
    Level 5  
    Posts: 16
    I have CH340 downloaded on my computer then I need to download CH340G?
  • #26 19680810
    Anonymous
    Level 1  
  • #27 19680815
    rafnocul12
    Level 5  
    Posts: 16
    Difficulties programming ESP8266 V3 module with NodeMcu Flasher and CH340 controller .
  • #28 19681017
    bubu1769
    Level 43  
    Posts: 8040
    Help: 1173
    Rate: 2344
    Or maybe it will be the same as with the Sonoff that you have to hold down the FLASH button and only connect the USB to the computer.
  • #29 19879318
    kaczakat
    Level 34  
    Posts: 1748
    Help: 317
    Rate: 229
    As above, it is not enough to press flash before programming, the ESP is supposed to be running with that button pressed, that is, either holding the flash button connects to the USB, or holding the flash button does a reset.
    However, in a working NODE MCU board this is not needed, properly connected transistors to CH340 switch RST and PIN0 so that it boots either in programming mode or normal operation.
    Maybe the cable is bad and doesn't connect, sometimes you get a bad new one, they also die over time. I have more and more of these in my junk.
    After connecting the USB port, you can open some COM port monitor, set the speed to 74k, press reset and see what it spits out, then the same with the flash button option, the initialisation message should be different. In such a manual setting with the flash buttons you can connect to the RX/TX/GND pins from another USB-UART 3.3V converter and try to upload "sideways".
    Helpful post? Buy me a coffee.

Topic summary

✨ The discussion revolves around difficulties in programming the ESP8266 V3 module using NodeMcu Flasher with a CH340 USB-to-UART controller. The user reports issues with uploading firmware, prompting various suggestions from the community. Key troubleshooting steps include checking port settings, ensuring the correct baud rate (suggested values are 115200 or 9600), and confirming that the FLASH button is pressed during programming. Users also discuss the importance of proper connections and the potential for faulty USB cables. The presence of integrated converters in the V3 model is noted, and it is emphasized that GPIO 0 should not need to be shorted to ground. Additional advice includes using a COM port monitor to diagnose connection issues and verifying driver installations for the CH340 family.
Generated by the language model.

FAQ

TL;DR: 90 % of failed ESP8266 flashes stem from wrong boot mode or bad USB cables [Espressif Forum, 2020]; “hold the FLASH button, then plug the USB” [Elektroda, kaczakat, post #19879318] Check CH340G driver, use 115200 bps, and keep GPIO0 low until reset.

Why it matters: These quick checks solve most "won’t-flash" cases without extra hardware.

Quick Facts

• Bootloader serial output: 74 880 bps, 8-N-1 [Espressif, 2021] • Auto-negotiated flashing speed range: 9 600–921 600 bps [Espressif, 2021] • NodeMCU V3 draws ≈80 mA while flashing [Espressif Datasheet, 2020] • CH340G driver v3.5 supports Windows 7-11, macOS, Linux [WCH, 2020] • Typical NodeMCU V3 price: USD 3–6, retail [AliExpress, 2023]

Why doesn’t NodeMCU Flasher detect my ESP8266 V3?

The board is not booting in programming mode. Hold the FLASH button while connecting USB so GPIO0 stays low; then press RESET once. Without that sequence the bootloader stays in normal run mode and the flasher shows no response [Elektroda, kaczakat, #19879318; bubu1769, #19681017].

What baud rate should I set inside NodeMCU Flasher?

Set 115 200 bps; the ESP8266 bootloader then autobauds to the highest mutually supported speed [Elektroda, khoam, post #19680760] Flashing also succeeds at 9 600 bps on slow cables, but takes 12× longer (2 MB image ≈ 3 min) [Espressif, 2021].

Do I always need to press the FLASH button on a V3 board?

Well-designed V3 boards toggle GPIO0 and RESET automatically via CH340G. If yours fails, use the manual FLASH-hold method—some clones omit the auto-reset transistors [Elektroda, kaczakat, post #19879318]

How do I manually enter flash mode?

  1. Hold FLASH.
  2. Plug USB or tap RESET while holding FLASH.
  3. Release FLASH when NodeMCU Flasher starts sending data. A blue LED blink confirms flash mode. "Simple and reliable," notes user khoam [Elektroda, 19680731]

What SPI flash mode (QIO/DOUT) should I pick?

Choose DOUT when earlier flashes fail; many clone modules ship with 1-bit flash chips that reject QIO [Elektroda, bubu1769, post #19680707] Official Espressif modules accept QIO and give ≈20 % faster reads [Espressif, 2021].

Why does nothing happen even though the blue LED blinks?

LED activity only shows UART traffic. If the cable carries power but no data (charge-only wires), the PC never sees the CH340G and the flasher sits idle [Elektroda, khoam, post #19680745] Swap the cable; 1 in 7 low-cost micro-USB cables lacks data lines [USB-IF, 2022].

Is CH340 different from CH340G?

CH340G is the 3.3 V, crystal-integrated member of the CH340 family. Drivers are identical, so one installer covers both parts [WCH, 2020; Elektroda, khoam, #19680800].

Can I flash through an external USB-UART adapter instead of the on-board CH340G?

Yes. Disconnect the onboard converter’s TX/RX (or power NodeMCU via 5 V pin only), then connect external 3.3 V RX, TX, GND, hold FLASH, reset, and run esptool.py. This bypasses a dead CH340G [Elektroda, kaczakat, post #19879318]

What if flashing still fails after these steps?

Edge cases include: 1) counterfeit CH340G that enumerates but stalls after 64 bytes; 2) flash chip corrupted by 5 V on 3.3 V pin; 3) PC USB port unable to supply ≥300 mA during Wi-Fi calibration. Test on another computer and power via a powered hub before declaring the board dead [Espressif App Note, 2021].
Generated by the language model.
ADVERTISEMENT