Closed GoogleCodeExporter closed 8 years ago
Download updated...
http://code.google.com/p/arduino-tiny/downloads/list
Please download, install, try again, and report back with the results.
Original comment by arduino....@gmail.com
on 27 Dec 2011 at 9:47
I got a good compile after using the 22 zip file. I haven't uploaded to the
chip yet.
Thanks.
Original comment by wes.wort...@gmail.com
on 27 Dec 2011 at 7:58
Rats. The file should be named "arduino-tiny-0100-0009.zip". I'll fix that
tonight.
Thank you for the follow-up. I'm glad the compile worked.
Please report back with the upload results.
Original comment by arduino....@gmail.com
on 27 Dec 2011 at 8:02
Its getting closer.
It compiled I tried to upload with Programmer set to "Arduino as ISP"
Tools: Board set to ATTINY @ 1MHZ.
Error:
Binary sketch size: 748 bytes (of a 8192 byte maximum)
avrdude: please define PAGEL and BS2 signals in the configuration file for part
ATtiny85
avrdude: please define PAGEL and BS2 signals in the configuration file for part
ATtiny85
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x64
avrdude: stk500_cmd(): programmer is out of sync
-----------------
IF I change the board to 8MHZ I get:
Binary sketch size: 748 bytes (of a 8192 byte maximum)
avrdude: please define PAGEL and BS2 signals in the configuration file for part
ATtiny85
avrdude: please define PAGEL and BS2 signals in the configuration file for part
ATtiny85
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x64
avrdude: stk500_cmd(): protocol error
----------------
With Tools: Programmer set to USBTinyISP I got this error
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
Any ideas?
Original comment by wes.wort...@gmail.com
on 28 Dec 2011 at 2:23
> avrdude: please define PAGEL and BS2 signals in the configuration file for
part ATtiny85
> avrdude: please define PAGEL and BS2 signals in the configuration file for
part ATtiny85
...can be ignored.
> avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x64
http://arduino.cc/forum/index.php/topic,84095.msg631631.html#msg631631
http://arduino.cc/forum/index.php/topic,84095.msg632561.html#msg632561
...or switch to Arduino 0023.
> avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
Can't help with that one.
Original comment by arduino....@gmail.com
on 28 Dec 2011 at 3:43
Still trying to get an upload: I found the below:
http://amanica.blogspot.com/
Solution1:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1286589145
"I think I found one myself.
the problem is that the init request is sent 3 times but only one answer is
expected, the following patch should fix":
bilibao@nbarizzi2:~/ELE/arduino-0022$ diff -u
examples/ArduinoISP/ArduinoISP.pde /home/bilibao/sketchbook/fixed/fixed.pde
--- examples/ArduinoISP/ArduinoISP.pde 2010-12-24 23:12:25.000000000 +0100
+++ /home/bilibao/sketchbook/fixed/fixed.pde 2011-01-12 01:10:41.373212997
+0100
@@ -54,7 +54,7 @@
pinMode(9, OUTPUT);
pulse(9, 2);
}
-
+int initSent=0;
int error=0;
int pmode=0;
// address for reading and writing, set by 'U' command
@@ -399,7 +399,8 @@
uint8_t ch = getch();
switch (ch) {
case '0': // signon
- empty_reply();
+ if(! initSent) empty_reply();
+ initSent = 1;
break;
case '1':
if (getch() == CRC_EOP) {
I applied the patch above manually and hurray I got a different error!
Error2:
Binary sketch size: 688 bytes (of a 8192 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x15
avrdude: please define PAGEL and BS2 signals in the configuration file for part
ATtiny85
avrdude: please define PAGEL and BS2 signals in the configuration file for part
ATtiny85
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x11
avrdude: stk500_cmd(): programmer is out of sync
Solution2:
Get the following version of the ArduinoISP and apply the patch from solution 1
again.
http://mega-isp.googlecode.com/files/ArduinoISP.04.zip
(found the solution here)
My tiny is now happily blinking away, at last.
I sommer reported this as a bug too, so it may stand a chance of getting fixed.
Original comment by wes.wort...@gmail.com
on 1 Jan 2012 at 11:46
> Get the following version of the ArduinoISP and apply the patch from solution
1 again.
Are you certain that the patch from solution 1 made a difference?
Did you try using ArduinoISP.04.zip without applying the patch?
Original comment by arduino....@gmail.com
on 5 Jan 2012 at 9:14
I didn't do the items in the post above I just found that solution with Google.
I thought It could be my Windows 7 laptop, so I installed version 22 on an XP
laptop with 22 zip file. I misplaced my 10Uf cap and had to use a 4uf, anyway
under these conditions it all worked. Blinky Blinky. On the Vista 7 I can flash
a Arduino Deum... just fine. I'm excited to try out some designs. I want to use
every pin for output next. I have a Christmas nutcracker I can animate with two
servos and a ATTINY85. I have even thought about interfacing a TLC5490 to a
ATTINY85. This chip is so cheap I can just go wild. I have an set of MSP430s
but I know that is going to be difficult since it lacks the library files of
the Arduino.
BTW I will clean up all the files and try again with Windows7. I also have a
Ubuntu 11 box to get working on this. I'm happy to do something that helps the
Ardunio community. Our new puppy has a cough so I'll need to get him to the vet
today and then I work second shift so It will be awhile until I try again.
Original comment by wes.wort...@gmail.com
on 5 Jan 2012 at 2:28
Thank you.
No worries on when you can work again on this stuff. The puppy and your job
are obviously much higher priority!
Original comment by arduino....@gmail.com
on 5 Jan 2012 at 7:10
I can confirm I have the same problem identical to OP
Original comment by TuxI...@gmail.com
on 29 Feb 2012 at 4:53
@TuxIT09: Which of the two downloads are you using?
Original comment by arduino....@gmail.com
on 29 Feb 2012 at 5:13
I went back to version 22 files and IDE program. Everything works. One of my
current project is to get servos to work on a tiny.
Original comment by wes.wort...@gmail.com
on 29 Feb 2012 at 1:02
Same problem as OP using Arduino 1.0, ATtiny85 board definitions hosted at
https://github.com/damellis/attiny/zipball/Arduino1 and instructions listed at
http://hlt.media.mit.edu/?p=1695
Going to try Arduino 0022 and board definitions found at
http://hlt.media.mit.edu/wp-content/uploads/2011/06/attiny45_85.zip with their
old instructions: http://hlt.media.mit.edu/?p=1229
Original comment by aaronerb...@gmail.com
on 6 Mar 2012 at 1:08
@aaronerbeck: The core hosted here is not the same as the one you've referenced
nor is it the one available from the MIT site. The one you've referenced is
not meant to work with Arduino 1.0.
Original comment by arduino....@gmail.com
on 6 Mar 2012 at 1:36
Yup. The above steps work just fine for me. I have my ATtiny blinking. Sucks
that the build broke but i am glad I got it working even if it took using the
older (perfectly good) IDE.
Original comment by aaronerb...@gmail.com
on 6 Mar 2012 at 2:17
My appologies for posting in the wrong forum. I googled my error and found
this thread. Perhaps the root of the error is similar. Perhaps others will
like to use my solution.
Original comment by aaronerb...@gmail.com
on 6 Mar 2012 at 2:24
No need to apologize. But, while you are here, you may as well download this
core and give it a try.
Original comment by arduino....@gmail.com
on 6 Mar 2012 at 2:30
Just to confirm that this patch is working for me ( Arduino Uno, Arduino 022
and ATTyny45 ).
And I DID NOT USE any capacitor for reset! I have used only six wires to
connect with microcontroller.
Original comment by duleorlo...@gmail.com
on 2 Apr 2012 at 4:41
Original comment by arduino....@gmail.com
on 31 Jul 2012 at 7:09
Original issue reported on code.google.com by
wes.wort...@gmail.com
on 27 Dec 2011 at 12:27