Go Down

Topic: <Solved> Arduino as ISP with ATTINY 84a (Read 2016 times) previous topic - next topic

Runningman

Jul 07, 2015, 09:49 pm Last Edit: Jul 22, 2015, 04:41 pm by Runningman
Hi, all!

I've been following this tutorial to a T. It simply guides the user to program an ATTINY using the Arduino Uno as an ISP. It's been pretty smooth sailing so far.

However, now that I am finally trying to upload the code to the ATTINY, I can't get away from the AVR Dude errors. I have tried resetting it at different times, removing the capacitor between RESET and GROUND, and other troubleshooting methods online and none seem to work.

I'm using a mac currently with IDE v 1.6.0

The errors:
Code: [Select]
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding


Any more troubleshooting ideas?

Thanks! - Runningman

DrAzzy

Are you using recent version of the core?

Also, make sure the Arduino as isp sketch is uploaded, and the right com port is selected, and auto reset is disabled on the uno (typically by putting 10uf cap between reset and ground)
ATTinyCore for x4/x5/x61/x7/x8/x41/1634/828/x313 megaTinyCore for the megaavr ATtinies - Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts, mosfets, awesome prototyping board in my store http://tindie.com/stores/DrAzzy

Runningman

#2
Jul 07, 2015, 11:38 pm Last Edit: Jul 07, 2015, 11:48 pm by Runningman
What is the core?

The Arduino ISP sketch is indeed uploaded, the capacitor is wired correctly, and the correct com port is selected.

DrAzzy

The Arduino-Tiny file you downloaded and extracted to the hardware folder in your sketchbook.

The core contains pin and board definitions. 1.0.x cores are not compatible with 1.6.x, and vice versa. A core that takes advantage of 1.6.x can also use submenus so you don't have to modify boards.txt, but instead pick the options from menus. (the cores linked in my sig do that, but don't have support for board manager easy installation yet)
ATTinyCore for x4/x5/x61/x7/x8/x41/1634/828/x313 megaTinyCore for the megaavr ATtinies - Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts, mosfets, awesome prototyping board in my store http://tindie.com/stores/DrAzzy

Runningman

#4
Jul 08, 2015, 05:10 am Last Edit: Jul 08, 2015, 05:16 am by Runningman
I believe I actually am using the correct core because this is the menu I get.

Would you suggest I try your cores? How might I install them?

DrAzzy

Oh, nice - that looks like a recent core, that's not the problem.
ATTinyCore for x4/x5/x61/x7/x8/x41/1634/828/x313 megaTinyCore for the megaavr ATtinies - Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts, mosfets, awesome prototyping board in my store http://tindie.com/stores/DrAzzy

Runningman

I fin dit odd that I've searched all over and that there are so many reasons for these AVR errors...

Erni

#7
Jul 14, 2015, 04:48 pm Last Edit: Jul 14, 2015, 04:49 pm by Erni
Quote
I'm using a mac currently with IDE v 1.6.0
Note there is a core for either version 1.0 ore 1.5xx

You will need the last one:

https://code.google.com/p/arduino-tiny/downloads/detail?name=arduino-tiny-0150-0020.zip

Runningman

Guys,

Thank you so much for your time. For some reason, in every tutorial I took, I managed to somehow overlook actually burning the boot loader :p

Thanks again!

Go Up