I'm trying to program my ATtiny85 with Atmel ICE but I get this error:

avrdude: stk500v2_command(): unknown status 0xcc avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check.

Does anyone know what problem is?


closed as off-topic by Chris Stratton, Sparky256, StainlessSteelRat, Bimpelrekkie, Huisman Jul 31 at 20:47

  • This question does not appear to be about electronics design within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

migrated from stackoverflow.com Jun 16 '17 at 16:22

This question came from our site for professional and enthusiast programmers.

  • \$\begingroup\$ Schematic for your board, please. \$\endgroup\$ – Brian Carlton Jun 16 '17 at 16:27
  • \$\begingroup\$ What avrdude command are you using? \$\endgroup\$ – Tom Carpenter Jun 16 '17 at 18:16
  • \$\begingroup\$ Are you providing 5V to the ATTiny? (The Atmel ICE doesn't supply power) \$\endgroup\$ – Tom Carpenter Jun 16 '17 at 18:18
  • 4
    \$\begingroup\$ I'm voting to close this question as off-topic because it has been abandoned in unanswerable condition for two years \$\endgroup\$ – Chris Stratton Jul 24 at 17:03
  • 2
    \$\begingroup\$ The two problems are that as an abandoned question it will likely never have an accepted answer. And as a terribly incomplete question it's an example of what NOT to do when asking - especially where the specific requests for clarification were ignored. \$\endgroup\$ – Chris Stratton Jul 24 at 18:13

Common causes for this:

  1. Atmel ICE doesn't supply power to the microcontroller (as Tom mentioned in comments). It has a green LED that indicates target power, but you need to supply power separately.

  2. Make sure the RESET pin is not being held high by other parts of your circuit. The Atmel ICE needs to be able to pull it low during programming.

  3. Double check connections - just as the error suggests. I've been guilty of having MISO and MOSI swapped, having a loose wire, and having the microcontroller inserted into a breadboard backward.

  4. Make sure that the fuses haven't been set to prevent writing to the microcontroller. A good example is the RSTDISBL fuse. If that has been set, you have to use a high voltage programming mode to get around it.

  5. Swap the microcontroller out for a known working one. It's possible that the one you're trying to program has died (from static, high voltage or current, etc).


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