Go Down

Topic: upload issues (Read 272 times) previous topic - next topic

TKSARSO

hi guys..
im trying to upload a code on a nodemcu board but im constantly getting error msgs. please help me out here


heres the code;

#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>


char auth[] = "84032ee45eeb4915996053f03ded2864";
char ssid[] = "VodafoneMobileWifi-A6C784";
char pass[] = "8067636675";

void setup()
{
 Serial.begin(9600);
 pinMode(D2,OUTPUT);
 pinMode(D4, OUTPUT);
 pinMode(D6,OUTPUT);
 pinMode(D8,OUTPUT);
 digitalWrite(D2,HIGH);
 digitalWrite(D4,HIGH);
 digitalWrite(D6,HIGH);
 digitalWrite(D8,HIGH);

 Blynk.begin(auth, ssid, pass);
}

void loop()
{
 Blynk.run();
}





and the error msg;

Arduino: 1.8.8 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 9600"

Sketch uses 279864 bytes (26%) of program storage space. Maximum is 1044464 bytes.
Global variables use 28872 bytes (35%) of dynamic memory, leaving 53048 bytes for local variables. Maximum is 81920 bytes.
esptool.py v2.6
2.6
esptool.py v2.6
Serial port COM11
Connecting........_____....._____....._____....._____....._____....._____....._____
Traceback (most recent call last):
 File "C:\Users\Tino\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.1/tools/upload.py", line 25, in <module>
   esptool.main(fakeargs)
 File "C:/Users/Tino/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.1/tools/esptool\esptool.py", line 2653, in main
   esp.connect(args.before)
 File "C:/Users/Tino/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.5.1/tools/esptool\esptool.py", line 468, in connect
   raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header

Invalid library found in C:\Users\Tino\Documents\Arduino\libraries\libraries: no headers files (.h) found in C:\Users\Tino\Documents\Arduino\libraries\libraries
Invalid library found in C:\Users\Tino\Documents\Arduino\libraries\tools: no headers files (.h) found in C:\Users\Tino\Documents\Arduino\libraries\tools
Invalid library found in C:\Users\Tino\Documents\Arduino\libraries\libraries: no headers files (.h) found in C:\Users\Tino\Documents\Arduino\libraries\libraries
Invalid library found in C:\Users\Tino\Documents\Arduino\libraries\tools: no headers files (.h) found in C:\Users\Tino\Documents\Arduino\libraries\tools

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

johnwasser

You seem to have a 'libraries' directory inside your 'libraries' directory.  Did you install a library incorrectly?

You seem to have a 'tools' directory inside your 'libraries' directory.  Did you install a library incorrectly?
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp

vaj4088

johnwasser is correct. It also looks like you are having trouble connecting.  There are many possible causes of this.  Did you select the correct port?  Is your cable completely plugged in? Is your cable any good? Is your Arduino any good? Etc. Etc.


Go Up