duino-coin icon indicating copy to clipboard operation
duino-coin copied to clipboard

NODEMCU upload error

Open s1ashtv opened this issue 5 years ago • 10 comments

ssss im having this error when i upload the esp8266 code into my nodemcu despite it is readable in the IDE,. is there like a driver that is needed to be installed before uploading the code?. Thanks in advance for the answers

s1ashtv avatar May 14 '21 02:05 s1ashtv

if it's esp8266, does it use a ch340g chip? and if yes, do you have that driver installed in your computer?

ghost avatar May 14 '21 03:05 ghost

yes it is already installed, got the driver from the arduino forums

s1ashtv avatar May 14 '21 04:05 s1ashtv

This is not an error related to us, but maybe something from this will help:

  • https://forum.arduino.cc/t/esp-8266-timed-out-waiting-for-packet-header/597634/8
  • https://www.reddit.com/r/esp8266/comments/d1z42x/cant_upload_to_esp8266_esptoolfatalerror_timed/
  • https://randomnerdtutorials.com/solved-failed-to-connect-to-esp32-timed-out-waiting-for-packet-header/

revoxhere avatar May 14 '21 06:05 revoxhere

ill take a look at it, hope they works, thanks @revoxhere

s1ashtv avatar May 14 '21 06:05 s1ashtv

I know that error mostly from esp01/s. But if it's a NODEMCU u can hold the flash button pressed, while you connect it to the USB. That way it stays in flash mode till reset

D4NS4M avatar May 14 '21 06:05 D4NS4M

I know that error mostly from esp01/s. But if it's a NODEMCU u can hold the flash button pressed, while you connect it to the USB. That way it stays in flash mode till reset

tried that already and the output is still the same

s1ashtv avatar May 14 '21 06:05 s1ashtv

that already and the output is still same

Just upload it via arduino ide. That script is not working for me too, maybe i can fix it.

BastelPichi avatar May 14 '21 06:05 BastelPichi

that already and the output is still same

Just upload it via arduino ide. That script is not working for me too, maybe i can fix it.

uploaded it on the arduino ide and that the image above the post is the error im getting upon uploading the code

s1ashtv avatar May 14 '21 09:05 s1ashtv

My Nano's have the same .....-----.... thing and I have to press a button on the board to enable it to write

xscode avatar May 14 '21 10:05 xscode

try this:

  1. press FLASH button until "uploading the code" appears in Arduino IDE, then release it.
  2. if it doesn't work, immediately try to compile/upload again

uiisse avatar May 15 '21 06:05 uiisse