Go Down

Topic: ATtiny13A and USBasp with arduino environment (Read 773 times) previous topic - next topic

kingtim

Hi,

As the title sais I would like to be able to program my ATtiny13A by using an USBasp programmer within the arduino IDE.

I used this article as a guide:

http://tekstop.wordpress.com/2011/12/30/programming-attiny13-using-arduino-isp-and-all-the-hacking-involved/

Most things work like they are supposed to do (the core files of the ATtiny are detected and all code can be compiled and sent to the AVR).
However functions like 'delay' don't work! When uploading the blink program the led just burns... no blinking.


I did add the extra condition in the wiring.c file as instructed by the core files but no avail:

#if defined(__AVR_ATtiny24__) || defined(..) ... [Add this] || defined(__AVR_ATtiny13__)
SIGNAL(TIM0_0VF_vect)
....


Did anyone else run into this problem of have a solution? Could it be caused by me using the USBasp instead of an arduino as ISP?

Coding Badly


You may have better luck with this core..
http://forum.arduino.cc/index.php?topic=89781.0

kingtim


Go Up