Git Product home page Git Product logo

Comments (19)

bpg168 avatar bpg168 commented on April 20, 2024 5

change the USB cable.. had the same issue, resolved after changing the cable.

from nodemcu-devkit-v1.0.

prob1995 avatar prob1995 commented on April 20, 2024 2

Same issue here... Still can't flash the firmware...

Update:
I suggest you to try a new nodemcu. Those annoying errors has gone when I use a new one.

The RX on your nodemcu may broke:

  1. I can receive some messages from nodemcu, such like "Please run file.remove("user.lua") before first use." but doesn't reply me anything when I try to send command, for example: file.remove("user.lua")
    Maybe RX issue
  2. It always stuck on "Waiting MAC" when I try to flash firmware using firmware flasher.
    Maybe RX issue
  3. "A fatal error occurred: Failed to connect to ESP8266" when I try to use esptool flashing firmware
    Maybe RX issue

from nodemcu-devkit-v1.0.

connordennison avatar connordennison commented on April 20, 2024 2

Try holding down the GPIO/reset button on your MCU, and then flash whilst still holding down. This worked for me.

from nodemcu-devkit-v1.0.

KOKONUTCREMEOG avatar KOKONUTCREMEOG commented on April 20, 2024 1

And here same issue. I operate PC Windows 10, And Android...,.But it's waiting for mac

from nodemcu-devkit-v1.0.

Joshverge avatar Joshverge commented on April 20, 2024 1

Just reconnect the usb cable keeping the flasher open
Look for log for below line ->

Note:Detect serial port changed.
Note:Auto MAP serial port.Port-->COM5

Then you should be able to flash. Looks like the tool cannot detect already connected device.

Just reconnect the usb cable keeping the flasher open
Look for log for below line ->

Note:Detect serial port changed.
Note:Auto MAP serial port.Port-->COM5

Then you should be able to flash. Looks like the tool cannot detect already connected device.

That's not the issue, it's able to detect the right com port right from the start

from nodemcu-devkit-v1.0.

ChrisHeerschap avatar ChrisHeerschap commented on April 20, 2024

Found this page when dealing with the same problem. Swapped out USB cables to no avail. A little bit more searching and I found this which wound up fixing it for me - maybe it might be helpful to others:

http://kig.re/2014/12/31/how-to-use-arduino-nano-mini-pro-with-CH340G-on-mac-osx-yosemite.html

from nodemcu-devkit-v1.0.

ShakataGaNai avatar ShakataGaNai commented on April 20, 2024

I realize this is a year later so unlikely someone still working on it... but in my case for a different board I had this same problem with RST/D0 were connected for deep sleep.

from nodemcu-devkit-v1.0.

JayPalm avatar JayPalm commented on April 20, 2024

Hey, did you ever figure this one out? I'm having pretty much the same issue on a Mac with a nodeMCU Amica board (uses a CP102 USB-UART bridge, installed the SiLab driver, etc). I have tried multiple baud rates but always get the same response: A fatal error occurred: Failed to connect to Espressif device: Timed out waiting for packet header.

I have tried multiple USB cables and multiple NodeMCUs to no avail. Really bummed right now...

from nodemcu-devkit-v1.0.

ChrisHeerschap avatar ChrisHeerschap commented on April 20, 2024

@JayPalm did you try the link I listed in my last comment?

from nodemcu-devkit-v1.0.

Parin810 avatar Parin810 commented on April 20, 2024

Facing the same issue.. Anyone found the cause of the problem? or a solution that worked..

from nodemcu-devkit-v1.0.

mrmonteith avatar mrmonteith commented on April 20, 2024

Any luck yet? I had a couple of thoughts. Mostly around possibly weak components. Do you have any sort of oscilloscope? I bought a Hantek digital one that connects to the computer and does fairly good. That would go a long ways to checking things like power supply voltages and noise on the lines. But without you can still probably locate the issue. A couple of things you can try. That is put a capacitor between 3v3 and Gnd as an extra filter. USB interfaces are notoriously noisy. There is also an Espressif forum for issues with the ESP8266 and ESP32 devices. You might post there too.

from nodemcu-devkit-v1.0.

VinayKadalagi avatar VinayKadalagi commented on April 20, 2024

Just reconnect the usb cable keeping the flasher open
Look for log for below line ->

Note:Detect serial port changed.
Note:Auto MAP serial port.Port-->COM5

Then you should be able to flash. Looks like the tool cannot detect already connected device.

from nodemcu-devkit-v1.0.

ersyncar avatar ersyncar commented on April 20, 2024

i had same issue. i change usb cable and tried different values for advanced setting on Nodemcu. and it worked by
-Baudrate 9600, -flash size 4Mbyte, -flash speed 26.7mhz, -spi mode DIO

from nodemcu-devkit-v1.0.

Joshverge avatar Joshverge commented on April 20, 2024

Same issue. Won't flash

from nodemcu-devkit-v1.0.

ersyncar avatar ersyncar commented on April 20, 2024

That's not the issue, it's able to detect the right com port right from the start

did you try by another usb cable. i had same issue and changed the cable. i tried by my printers cable and it worked :)

and i attached the picture of working settings on my ESP8266 -ESP 01

arduino
connections
nodemcu

from nodemcu-devkit-v1.0.

Joshverge avatar Joshverge commented on April 20, 2024

Okay I resolved this for me. You just need to hold down the flash button (on the board) until you see the status bar moving forward after pressing flash

from nodemcu-devkit-v1.0.

horodchukanton avatar horodchukanton commented on April 20, 2024

Mine was fixed by putting the board to an oven for two minutes. Looks like a weak components issue

from nodemcu-devkit-v1.0.

Blazer9419 avatar Blazer9419 commented on April 20, 2024

I am also having the same issue. It says “waiting mac” however my FTDI and ESP is flashing red and the ESP was also flashing blue for a couple seconds then stopped. Is there anything I am doing wrong here?
99D870D2-D4B2-4201-9E3B-251BE703811E
BB4A4BF0-F4D3-4CF5-A17C-3AF7895D4456

from nodemcu-devkit-v1.0.

TSRider85 avatar TSRider85 commented on April 20, 2024

I had the same problem but i solved it, it was my usb port. Looks like it the current of that one was to low. So try a different usb port!

from nodemcu-devkit-v1.0.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.