Go Down

Topic: ERROR IN UPLOADING PROGRAM (Read 126 times) previous topic - next topic

healthmonitoring111

Arduino: 1.8.9 (Windows 7), Board: "Arduino/Genuino Uno"

C:\Users\USER\Documents\Arduino\ASWATHY\ASWATHY.ino: In function 'void setup()':

C:\Users\USER\Documents\Arduino\ASWATHY\ASWATHY.ino:48:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

   if(esp8266.find("OK"))

                       ^

C:\Users\USER\Documents\Arduino\ASWATHY\ASWATHY.ino: In function 'void updateInfo()':

C:\Users\USER\Documents\Arduino\ASWATHY\ASWATHY.ino:78:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

   if(esp8266.find("Error"))

                          ^

C:\Users\USER\Documents\Arduino\ASWATHY\ASWATHY.ino:92:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

   if(esp8266.find(">"))

                      ^

C:\Users\USER\Documents\Arduino\ASWATHY\ASWATHY.ino: In function 'boolean connectWiFi()':

C:\Users\USER\Documents\Arduino\ASWATHY\ASWATHY.ino:119:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

   if(esp8266.find("OK"))

                       ^

C:\Users\USER\Documents\Arduino\ASWATHY\ASWATHY.ino: In function 'void panic_button()':

C:\Users\USER\Documents\Arduino\ASWATHY\ASWATHY.ino:158:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

   if(esp8266.find("Error"))

                          ^

C:\Users\USER\Documents\Arduino\ASWATHY\ASWATHY.ino:170:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

   if(esp8266.find(">"))

                      ^

Sketch uses 12630 bytes (39%) of program storage space. Maximum is 32256 bytes.
Global variables use 757 bytes (36%) of dynamic memory, leaving 1291 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x20
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x20
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x20
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x20
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x20
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x20
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x20
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x20
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x20
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x20
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

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

pert

Remove any connections to pins 0 and 1. These pins are used for communication with your computer, including uploads. Connecting anything to these pins can interfere with uploads.

Make sure you have the correct board selected from the Tools > Board menu.

Make sure you have selected the port of your Arduino board from the Tools > Port menu.

Sometimes the port will be labeled with the board name in the menu. Other times it will not. If you don't know which port is your Arduino, you can find it like this:
  • Unplug your Arduino board from the computer.
  • Tools > Port
  • Note the ports, if any, listed in the menu.
  • Close the Tools menu
  • Plug your Arduino board into the computer.
  • Tools > Port - The new port listed in the menu is your Arduino board.

Go Up