Go Down

Topic: [Fixed] ATTiny programming using Arduino as ISP (Read 1 time) previous topic - next topic

Oct 31, 2013, 11:49 pm Last Edit: Nov 05, 2013, 09:35 pm by Samuele1980 Reason: 1
I want to program the ATTiny85 using my Arduino UNO as ISP. I followed this tutorial (http://www.logicaprogrammabile.it/programmare-attiny85-attiny45/) that have told me to follow this procedure:

  • Download the right library (http://code.google.com/p/arduino-tiny/downloads/list) and install it in the correct folder

  • Upload the ArduinoISP example to my Arduino UNO (using 0023 version of Arduino)

  • Connect ATTiny85 to Arduino

  • Select the correct board (ATTiny85 @ 1 Mhz)

  • Upload the "blink" example


IDE gives me this message when i try to upload the "blink" example:

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 also tried the option tool -> Burn bootloader -> w/ Arduino as ISP; Arduino gives me the same message .

What's wrong?
Thanks for the answers!
My English is very poor and probably I wrong a lot of sentences (maybe this, too...). Correct me!

kowalski

Check the wiring and try this; http://playground.arduino.cc/Main/DisablingAutoResetOnSerialConnection

Cheers!

Robin2

I used the instructions here without any problems http://hlt.media.mit.edu/?p=1695

However that link isn't working right now. Maybe it's just offline for a bit? The general website is "high-low-tech"

...R

Coding Badly

#3
Nov 01, 2013, 08:59 am Last Edit: Nov 01, 2013, 09:10 am by Coding Badly Reason: 1
Maybe it's just offline for a bit?


The change is probably more permanent...
Quote
[font=Courier New]> hlt.media.mit.edu
Server:  Wireless_Broadband_Router.home
Address:  192.168.1.1

*** Wireless_Broadband_Router.home can't find hlt.media.mit.edu: Non-existent domain[/font]

Robin2

Just as well I kept a copy of the page, then.

I assumed MIT in the domain name was this http://web.mit.edu/

...R


Robin2

Thanks @erni-berni.

I was also able to get a copy of a related page ......p=1706

...R

tyguy2

If you need the .zip file, it is attached.
Only use the attiny folder and it's contents. Don't just put attiny_master folder in the hardware folder.

Thanks to all.
I fixed the problem: it was an Arduino problem, probably I damaged my ATmega328 some months ago and i didn't remember because it worked in most cases...
My English is very poor and probably I wrong a lot of sentences (maybe this, too...). Correct me!

Coding Badly


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy