206Views9Replies

Author Options:

Help programming attiny85v with arduino mega? Answered

Alright so I followed the high-low tech tutorial to the letter, however I can't program the attiny85v. I currently don't have a filter capacitor (looking for one to use in my board box), however I've read that it isn't necessary. So anyways, I hit upload ad this is what I get.

avrdude: stk500_getsync(): not in sync: resp=0x00

I also tried jumping GND and reset with a wire and I get the same thing, so what's going on?

9 Replies

user
quatch (author)2013-03-29

A side note, that isn't a filter capacitor, that is to disable the autoreset sent by the IDE (FTDI RTS line), through a capacitive coupler that turns it into a quick drop to 0v.

Thats why it is 10uF instead of 0.1, it needs to smooth out the drop while the coupling 0.1uF cap charges.

Select as Best AnswerUndo Best Answer

user
XOIIO (author)quatch2013-03-29

Ahh, ok

if only the darn thing worked now lol.

Select as Best AnswerUndo Best Answer

user
quatch (author)XOIIO2013-03-29

Getting bootloaders on chips has to be the most frustrating part of this whole hobby.

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)2013-03-29

Hard to tell. Beg, steal or borrow an oscilloscope.
It would help if you cited the tutorial to which you refer.

Select as Best AnswerUndo Best Answer

user
XOIIO (author)steveastrouk2013-03-29

OK couple things, I found a filter cap, I get a new error.

avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85
avrdude: stk500_program_enable(): protocol error, expect=0x14, resp=0x50
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

I've followed instructions from both these sources

https://www.instructables.com/id/Program-an-ATtiny-with-Arduino/?ALLSTEPS

http://hlt.media.mit.edu/?p=1706

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)XOIIO2013-03-29


"avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85"

and have you ?

Select as Best AnswerUndo Best Answer

user
XOIIO (author)steveastrouk2013-03-29

Nope, I haven't seen that mentioned anywhere.

How exactly would I configure them?

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)XOIIO2013-03-29

Which version of Arduino are you using ?

Select as Best AnswerUndo Best Answer

user
XOIIO (author)steveastrouk2013-03-29

Hmm I guess it didnt post last time.

Arduino mega 2650, software 1.0.3

Select as Best AnswerUndo Best Answer