Pages: [1]   Go Down
Author Topic: [Fixed] ATTiny programming using Arduino as ISP  (Read 422 times)
0 Members and 1 Guest are viewing this topic.
Italy
Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
« Last Edit: November 05, 2013, 03:35:15 pm by Samuele1980 » Logged

My English is very poor and probably I wrong a lot of sentences (maybe this, too...). Correct me!

Sweden
Offline Offline
Sr. Member
****
Karma: 6
Posts: 372
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Cheers!
Logged

UK
Offline Offline
Faraday Member
**
Karma: 47
Posts: 3521
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 176
Posts: 12285
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Maybe it's just offline for a bit?

The change is probably more permanent...
Quote
> 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
« Last Edit: November 01, 2013, 03:10:54 am by Coding Badly » Logged

UK
Offline Offline
Faraday Member
**
Karma: 47
Posts: 3521
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Cologne
Offline Offline
Sr. Member
****
Karma: 7
Posts: 472
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You will find a copy also on webarchive
http://web.archive.org/web/20130829061538/http://hlt.media.mit.edu/?p=1695
Logged

UK
Offline Offline
Faraday Member
**
Karma: 47
Posts: 3521
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks @erni-berni.

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

...R
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 22
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

* attiny-master.zip (4.31 KB - downloaded 12 times.)
Logged

Italy
Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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...
Logged

My English is very poor and probably I wrong a lot of sentences (maybe this, too...). Correct me!

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 176
Posts: 12285
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Thank you for the follow-up.
Logged

Pages: [1]   Go Up
Jump to: