Developing for ATtinyxx on Arduino?

What would be required to develop ATtiny13 using the Arduino Diecimila? Adapting the IC is straightforward: a small "daughter board" to plug into the 28-pin socket on the Diecimila board and the ATtiny13 would plug into that. All that's required is power, ground, and the serial pins that allow downloading.

A bootloader, of course. Anyone up for the task?

What else is needed?

Thanks, Dave

The problem is, the arduino bootloader is the same size or larger than the available memory on the tiny. The bootlaoder would be a serious challenge.

I'd like to see the Arduino environment ported, but skip the bootloader and require a programmer.

The little 8 pin is the most interesting to me, as I don't see a huge amount of difference between the 20 pin tiny2313 and the 28 pin ATmega8/168.

-j

I'd like to see the Arduino environment ported, but skip the bootloader and require a programmer.-j

With the Arduino 0011 IDE, you can use the environment now without a bootloader. see: http://www.arduino.cc/en/Hacking/Programmer

It works great with a parallel programmer, functions just like the serial upload but faster and no space needed for the bootloader. But squeezing Arduino runtime code into the aptly named 'tiny' ram and program space would be a challenge.

With the Arduino 0011 IDE, you can use the environment now without a bootloader. see: http://www.arduino.cc/en/Hacking/Programmer

...

But squeezing Arduino runtime code into the aptly named 'tiny' ram and program space would be a challenge.

I was going to suggest doing it without the bootloader and ask if that would work.

Does Arduino runtime code have that much overhead? I guess it does seem to like even the simplest sketch ends up needing 3-4k.

Anyway, what about using the ATTINY45 or ATTINY85 with Arduino. The TINY85 has 8k, just like the MEGA8.

With the Arduino 0011 IDE, you can use the environment now without a bootloader. see: http://www.arduino.cc/en/Hacking/Programmer

It works great with a parallel programmer, functions just like the serial upload but faster and no space needed for the bootloader. But squeezing Arduino runtime code into the aptly named 'tiny' ram and program space would be a challenge.

Would this programmer work with Arduino 0011 IDE? It's compatible with AVR studio, fwiw:

http://www.sparkfun.com/commerce/product_info.php?products_id=12

Or can you recommend a serial programmer?

Since the program I plan to use is 30 lines, max, space won't be a problem. (It's a battery charger: charge, pause, read voltage, loop or end.)

Thanks, Dave

There's a Tiny programmer made from an Arduino somewhere on the web....

http://www.electronicsweekly.com/blogs/gadget-freak/2007/11/arduino-avr-in-system-programmer-isp.html http://spiffie.org/electronics/archives/microcontrollers/A%20High-Volume%20Atmega%20Arduino%20Programmer%20and%20Tester.html

I was also thinking of using it......but with the trial version of bascom AVR, fits the attiny2313 memory !

There's a Tiny programmer made from an Arduino somewhere on the web....

Cool. Note that in the comments, after the article, he has a pointer to a beta version that supports fuse burning in the Tiny series!

Now, if I could only figure out how to get AVRdude installed... See separate post, if you'd like to help me.

Dave

I'm doing like you, digging around and trying to find out how it works....

Never used AVRdude on it's own, but the Arduino GUI does use it no ?

http://www.electronicsweekly.com/blogs/gadget-freak/2007/11/arduino-avr-in-system-programmer-isp.html

What is necessary to use this as a burner for any & all AVRs? In its current form, can it burn mega8 and 816 as well as tiny’s?

Thanks,
Dave