logo elektroda
logo elektroda
X
logo elektroda

Difficulties programming ESP8266 V3 module with NodeMcu Flasher and CH340 controller

rafnocul12 1518 28
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 19680611
    rafnocul12
    Level 5  
    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 42  
    Show port settings.
  • #3 19680645
    rafnocul12
    Level 5  
    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 42  
    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  
    Difficulties programming ESP8266 V3 module with NodeMcu Flasher and CH340 controller Difficulties programming ESP8266 V3 module with NodeMcu Flasher and CH340 controller .
  • Helpful post
    #6 19680690
    khoam
    Level 42  
    What information appears in the 'Log' tab in Flashers?
  • #7 19680697
    rafnocul12
    Level 5  
    Difficulties programming ESP8266 V3 module with NodeMcu Flasher and CH340 controller .
  • #8 19680698
    bubu1769
    Level 42  
    In my opinion, the baudrate needs to be set to 115200 can even be 9600.
  • ADVERTISEMENT
  • #9 19680701
    rafnocul12
    Level 5  
    I set it up like this and it doesn't work
  • #10 19680707
    bubu1769
    Level 42  
    And still try SPI Mode on the DOUT.
  • #11 19680712
    khoam
    Level 42  
    From the logs it appears that the flasher does not detect ESP. What is the board? Did you connect the USB/UART converter to the ESP yourself? Is GPIO 0 shorted to ground before starting the programming process?
  • #12 19680717
    bubu1769
    Level 42  
    The V3 has an integrated converter.
    Plugging in DPIO0 should not be necessary.
  • #13 19680723
    rafnocul12
    Level 5  
    I am sending you the Allegro auction number from where I bought:

    9522204513


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


    So should I press it before programming ?
  • ADVERTISEMENT
  • #16 19680735
    khoam
    Level 42  
    rafnocul12 wrote:
    So I have to push it in before programming ?
    .
    Yes.
  • #17 19680737
    rafnocul12
    Level 5  
    I pressed it did not help
  • #18 19680742
    bubu1769
    Level 42  
    Are you set to 9600 bps?
  • #19 19680744
    rafnocul12
    Level 5  
    bubu1769 wrote:
    You are set to 9600 bps?
    .

    115200
  • #20 19680745
    khoam
    Level 42  
    Can you replace it with a different USB cable? Preferably one that is not used for charging your mobile phone.
  • #21 19680750
    rafnocul12
    Level 5  
    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
    khoam
    Level 42  
    Which USB port are you powering the board from?

    bubu1769 wrote:
    Are you set to 9600 bps?
    .
    It doesn't matter. The bootloader, in programming mode, "negotiates" the speed with the flasher at startup. Only later is this speed (for data transfer), which is specified in the flasher configuration, set in the ESP.
  • #23 19680770
    rafnocul12
    Level 5  
    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
    khoam
    Level 42  
    rafnocul12 wrote:
    On the back of the esp it says CH340G is this the same as CH340?
    .
    In this case, yes. Other CH340s are not mounted in these boards.

    I was referring to the physical USB interface in the comp.
  • #25 19680806
    rafnocul12
    Level 5  
    I have CH340 downloaded on my computer then I need to download CH340G?
  • #26 19680810
    khoam
    Level 42  
    rafnocul12 wrote:
    I have downloaded CH340 on my computer then I need to download CH340G?
    .
    There are no separate drivers for CH340G, but common drivers for the CH340 family. Where did you download the driver from?
  • #28 19681017
    bubu1769
    Level 42  
    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  
    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.
Summary generated by the language model.
ADVERTISEMENT