Coder Social home page Coder Social logo

Comments (19)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 16, 2024

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 [email protected] on 27 Dec 2011 at 9:47

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 16, 2024
I got a good compile after using the 22 zip file. I haven't uploaded to the 
chip yet.
Thanks.  

Original comment by [email protected] on 27 Dec 2011 at 7:58

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 16, 2024

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 [email protected] on 27 Dec 2011 at 8:02

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 16, 2024
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 [email protected] on 28 Dec 2011 at 2:23

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 16, 2024

> 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 [email protected] on 28 Dec 2011 at 3:43

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 16, 2024
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 [email protected] on 1 Jan 2012 at 11:46

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 16, 2024
> 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 [email protected] on 5 Jan 2012 at 9:14

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 16, 2024
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 [email protected] on 5 Jan 2012 at 2:28

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 16, 2024

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 [email protected] on 5 Jan 2012 at 7:10

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 16, 2024
I can confirm I have the same problem identical to OP

Original comment by [email protected] on 29 Feb 2012 at 4:53

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 16, 2024
@TuxIT09: Which of the two downloads are you using?

Original comment by [email protected] on 29 Feb 2012 at 5:13

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 16, 2024
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 [email protected] on 29 Feb 2012 at 1:02

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 16, 2024
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 [email protected] on 6 Mar 2012 at 1:08

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 16, 2024
@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 [email protected] on 6 Mar 2012 at 1:36

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 16, 2024
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 [email protected] on 6 Mar 2012 at 2:17

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 16, 2024
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 [email protected] on 6 Mar 2012 at 2:24

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 16, 2024
No need to apologize.  But, while you are here, you may as well download this 
core and give it a try.

Original comment by [email protected] on 6 Mar 2012 at 2:30

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 16, 2024
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 [email protected] on 2 Apr 2012 at 4:41

from arduino-tiny.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 16, 2024

Original comment by [email protected] on 31 Jul 2012 at 7:09

  • Changed state: Fixed

from arduino-tiny.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.