Pages: [1]   Go Down
Author Topic: ATtiny13A and USBasp with arduino environment  (Read 656 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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


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

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

Awesome! That one works! Thank you.
Logged

Pages: [1]   Go Up
Jump to: