0

The problem occurred while testing a ping program with the ethercard examples from github.

Now no program will upload. It will say uploading.... and gets stuck there. The error message below appears:

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

WARNING: Category '' in library UIPEthernet is not valid. Setting to 'Uncategorized'

Sketch uses 1,030 bytes (3%) of program storage space. Maximum is 32,256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xdf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xdf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xdf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xdf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xdf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xdf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xdf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xdf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xdf
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xdf
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"
  enabled in File > Preferences.
  • ensure that it is connected to the correct port (worked with me) – steve Nov 23 '17 at 18:58
  • Other thing to try, if you are using a different board try plugging in a genuine Uno or true clone, setting the board and port, uploading a sketch, then start over with your board. That has helped me. Seems that some boards don't reset the usb properly after a problem. ...or maybe it's just voodoo. – haresfur Dec 2 at 20:46
0
  1. Remove the ethercard, return to the basic board.
  2. Disconnect the Arduino from the host.
  3. Reboot the host computer.
  4. Reconnect the Arduino.
  5. Upload the Blink example.

This should sort things out, well it did when it happened to me.

0

I'm having the same issue on my Macbook Pro. It happens randomly. The only solution i found is disconnecting the USB cable from the PC wait for a few mins and reconnect it again (possibly using another USB port). It worked for me!

0

When you get this error, they have several things to check :

  • Is my board reconised by Windows ?
  • Is my board model is the right one ?
  • Is the serial port is the right one ?
  • Is my cable damaged ?

Generally the upload problem is easy to fix.

If your board is a custom one

  • bootload problem
  • crystal problem.
  • reset not triggered properly ? (try to push it when arduino ide say "uploading sketch")
0

Disconnect everything to Arduino, Plug in your Arduino to your computer - check for the Serial port, Check for your Arduino Model, select programmer as USBasp, open up BLink sketch from Examples and HIT upload.

if you don't see your Arduino in Tools>Port then it should be the problem of USB cable, Computer USB port or "DRIVERS"

  • No, do not select USBasp unless that is what you are using - the asker clearly isn't. – Chris Stratton Sep 22 '17 at 17:29
-2

If you have the Arduino Uno with removable chip then try to remove the IC. Then plug it again and check the power on the IC with a multimeter on pin 7 (+ positive) and pin 8 (- negative). If you are getting 5V there then you need to try to upload a simple blink sketch. If you are not getting the appropriate voltage then you can try to use a different wire to upload the sketch.

enter image description here

  • This is unlikely to help. There are better places to measure power, such as the 5v pin on the shield connector. – Chris Stratton Sep 22 '17 at 17:30

Not the answer you're looking for? Browse other questions tagged or ask your own question.