I am fairly new to all of this and I'm still trying to get my bearings, but I've exhausted every outlet that I have come across--to no avail.

I bought the Olimexino 32U4 Leonard-like board (https://www.olimex.com/dev/olimexino-32u4.html) and I've been trying to use it as a ISP to bootload/program a couple of Attiny85s but I keep getting the dreaded out of sync error whenever i try to burn the bootloader/upload a sketch. I've updated to the latest Tiny cores as well as the modified ArduinoISP.ino sketch but the error remains.

In addition, I've been unable to get any output on my serial monitor when using this sketch: http://www.gammon.com.au/forum/?id=11633

I've checked and rechecked my pins--MISO, MOSI, SCK all come from the dedicated pins and RESET is connected to D10 while 5V and GND are attached to the rails. When I load the sketch, an LED i attached to the MOSI pin lights up but then I'm stuck after that.

Hi!I get your same error trying to upload a sketch into an attiny2313 through an Arduino Leonardo...it's about a week that I'm trying to solve this problem!Initially I tought that there was a problem with the attiny, wrongly configured/initialized, but yesterday I try the same procedure reported here http://blog.makezine.com/2011/10/10/how-to-shrinkify-your-arduino-projects/ on my friend Arduino Duemilanove and it worked smoothly.

Moreover I tried to bypass the IDE and use avrdude on shell with the following command:

It is the same result obtained if the pins from the Arduino are not connected to the attiny, but they are!

So there is something wrong using the Leonardo, maybe some pin mapping is changed or there is a paritucular baudrate to use.I tried also to change some values in the avrduce.conf file and use directly the icsp pins from the arduino obtaining always same error.

I hope that someone more expert can help us with this unsolved problem :-s

not sure if this is the right place to post this. First I want to thank PeterHV forposting his update of the arduino-1.0.1 code to make the Leonardo work as an ISP.This got me started!

In the meantime I switched to IDE 1.0.3 and first everything worked fine using theLeonardo as ISP. After uploading different sketches to check out serial communicationon the leonardo I couldn't get the Leonardo to work as an ISP again. avrdude alwaysreturned 'Yikes! Invalid device signature.'. After fiddling around for some time with the connections I came again around this thread and checked the changes PeterHV suggested for 1.0.1 andcompared it to 1.0.3. Everything there besides the change in USBCore.cpp

if (USB_Available(CDC_RX)) --> while (USB_Available(CDC_RX))

So I changed this and: Voila! this made it work again!

Not sure if this change wasn't commited to version 1.0.3 by accident or deliberately.But given the problems the old version could cause it may be worthwhile to changeit in the upcoming versions.

In what direction did you have to change the code to make it work? In 1.0.3, it Should be if (USB_Available(CDC_RX)) or you have an infinite loop. I checked github, the change was comitted. I also just extracted arduino-1.0.3-linux32.tgz again and USBCore.cpp also contains if (USB_Available(CDC_RX)).

the change was the following: In my old version there was a "IF" which I changed to"WHILE". This got me recovering from the problem that I couldn't read the device signatureof the ATtiny on the breadboard and for a while things worked perfect.

Now in the meantime I started to play around with an ATmega8 and subsequently I ranin the problem that during uploading the error 'avrdude: stk500_recv(): programmer is not responding' (and the yellow LED stayed 'on' which is consistent with being in an infinite loop). Remembering that I did the above change I reverted back to 'IF' and again things started to work fine. So the 'IF' seems to be the right thing.

My conclusion from this is:(1) The 'IF' in the 1.0.3 IDE is correct!(2) There my be instances where a 'WHILE' is needed to recover from a certain state because the whole thing started when I was playing around with the RX/TX interface and then reverted to the leonardo as an ISP programer.