Go Down

Topic: Can't Upload Sketch please help. (Read 520 times) previous topic - next topic

arduinounofanclub

Code: [Select]
Arduino: 1.8.8 (Windows 10), Board: "Arduino/Genuino Uno"

In file included from C:\Users\HP\Documents\Arduino\libraries\MFRC522-1.4.3\src\MFRC522Extended.cpp:8:0:

C:\Users\HP\Documents\Arduino\libraries\MFRC522-1.4.3\src\MFRC522Extended.h: In constructor 'MFRC522Extended::MFRC522Extended(uint8_t)':

C:\Users\HP\Documents\Arduino\libraries\MFRC522-1.4.3\src\MFRC522Extended.h:81:44: warning: 'MFRC522::MFRC522(byte)' is deprecated: use MFRC522(byte chipSelectPin, byte resetPowerDownPin) [-Wdeprecated-declarations]

  MFRC522Extended(uint8_t rst) : MFRC522(rst) {};

                                            ^

In file included from C:\Users\HP\Documents\Arduino\libraries\MFRC522-1.4.3\src\MFRC522Extended.h:10:0,

                 from C:\Users\HP\Documents\Arduino\libraries\MFRC522-1.4.3\src\MFRC522Extended.cpp:8:

C:\Users\HP\Documents\Arduino\libraries\MFRC522-1.4.3\src\MFRC522.h:337:2: note: declared here

  MFRC522(byte resetPowerDownPin);

  ^

C:\Users\HP\Documents\Arduino\libraries\MFRC522-1.4.3\src\MFRC522.cpp: In member function 'bool MFRC522::MIFARE_SetUid(byte*, byte, bool)':

C:\Users\HP\Documents\Arduino\libraries\MFRC522-1.4.3\src\MFRC522.cpp:1853:7: warning: 'bool MFRC522::MIFARE_OpenUidBackdoor(bool)' is deprecated: will move to extra class in next version [-Wdeprecated-declarations]

  if (!MIFARE_OpenUidBackdoor(logErrors)) {

       ^

C:\Users\HP\Documents\Arduino\libraries\MFRC522-1.4.3\src\MFRC522.cpp:1709:6: note: declared here

 bool MFRC522::MIFARE_OpenUidBackdoor(bool logErrors) {

      ^

C:\Users\HP\Documents\Arduino\libraries\MFRC522-1.4.3\src\MFRC522.cpp:1853:39: warning: 'bool MFRC522::MIFARE_OpenUidBackdoor(bool)' is deprecated: will move to extra class in next version [-Wdeprecated-declarations]

  if (!MIFARE_OpenUidBackdoor(logErrors)) {

                                       ^

C:\Users\HP\Documents\Arduino\libraries\MFRC522-1.4.3\src\MFRC522.cpp:1709:6: note: declared here

 bool MFRC522::MIFARE_OpenUidBackdoor(bool logErrors) {

      ^

C:\Users\HP\Documents\Arduino\libraries\MFRC522-1.4.3\src\MFRC522.cpp: In member function 'bool MFRC522::MIFARE_UnbrickUidSector(bool)':

C:\Users\HP\Documents\Arduino\libraries\MFRC522-1.4.3\src\MFRC522.cpp:1882:2: warning: 'bool MFRC522::MIFARE_OpenUidBackdoor(bool)' is deprecated: will move to extra class in next version [-Wdeprecated-declarations]

  MIFARE_OpenUidBackdoor(logErrors);

  ^

C:\Users\HP\Documents\Arduino\libraries\MFRC522-1.4.3\src\MFRC522.cpp:1709:6: note: declared here

 bool MFRC522::MIFARE_OpenUidBackdoor(bool logErrors) {

      ^

C:\Users\HP\Documents\Arduino\libraries\MFRC522-1.4.3\src\MFRC522.cpp:1882:34: warning: 'bool MFRC522::MIFARE_OpenUidBackdoor(bool)' is deprecated: will move to extra class in next version [-Wdeprecated-declarations]

  MIFARE_OpenUidBackdoor(logErrors);

                                  ^

C:\Users\HP\Documents\Arduino\libraries\MFRC522-1.4.3\src\MFRC522.cpp:1709:6: note: declared here

 bool MFRC522::MIFARE_OpenUidBackdoor(bool logErrors) {

      ^

Sketch uses 7760 bytes (24%) of program storage space. Maximum is 32256 bytes.
Global variables use 260 bytes (12%) of dynamic memory, leaving 1788 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=0xcf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xcf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xcf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xcf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xcf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xcf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xcf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xcf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xcf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xcf
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.


Thank you in advance

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 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.


If the Tools > Port menu is grayed or the port of your Arduino does not appear on the menu:
  • Make sure your USB cable is fully inserted into the Arduino board and the computer.
  • You may need to install the driver for the USB-serial chip on your Arduino.
  • You may be using a charge-only or defective USB cable. Try a different cable or test your cable on another device to confirm that it works for data.
  • Using a USB 3.0 port on your computer may cause problems. Try a USB 2.0 port.

Go Up