@Codingbadly: just a side note, but this is now my favorite way of developing apps for the Tiny.

Mine, too.

Quote

Excellent work

Thanks. Got some other goodies in the pipe: Arduino ISP version that better supports ISP development. Dramatically improved Tiny Tuner. Addition of fast*Digital. Support for ATtiny13 and ATtiny4313. But, work is getting in the way.

Quote

and wholehearted thanks for sharing

You are quite welcome. And, if you're interested, I suspect we can find a way for you to give back.

Quote

It's really enabled me to make a lot more crazy devices with my tinys without having to resort to AVR studio

Don't be shy...http://arduino.cc/forum/index.php/board,29.0.html

rleyland

Using the Arduino ISP programmer I got the annoying messages from avrdude asking to define PAGEL and BS2. Since the ATtinyX5 family doesn't have these pins, and I guess we don't actually need them, I defined them in AVRDUDE.CONF to be pins/ports that don't exist - no more error messages.

# PAGEL and BS2 defined by --RL so we don't get a warning error from avrdude n/a on attiny85 pagel = 0xD0; # these don't exist on the ATtinyX5 series bs2 = 0xD1; # these don't exist on the ATtinyX5 series

You can find AVRDUDE.CONF in

arduino-0022\hardware\tools\avr\etc

gijs

i trying to get my attiny85 to run at 8mhz. but i cant get it to work..

when i upload the blink sketch at 1mhz it will blink like it is supposed to. but when i upload it at 8mhz it will blink much slower. so i assume the attiny thinks it is running at 8mhz but it is actually running at 1mhz..

i read somewhere in this threat that you need to set the fuse buts by burning the bootloader. but this is not working for me, when i do i get this error message

avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85avr_read(): error reading address 0x0000 read operation not supported for memory "lock"avrdude: failed to read all of lock memory, rc=-2

moustic

Sometimes ago, while searching info about Attiny and RGB Leds, I found this code which does PWM software on 3 pin with the timer0.I don't remember where I found this code and the author did not write his name on it.

brainbooster

@Coding Badly what about the incoming structural changes in the arduino ide?i mean the arduino.h instead of wprogram.h and the external pins file etc....We are building a "large family" arduino ide called ArduOpen ( a kind of arduino on steroids) and we would like to include your core, beside the arduino-extras and the original one, so we need to know what you are planning to do.

@Coding Badly what about the incoming structural changes in the arduino ide? i mean the arduino.h instead of wprogram.h and the external pins file etc....

I've been following progress on the Developer's List. From what I can tell, the only required change is to rename "WProgram.h" to "Arduino.h".

Quote

We are building a "large family" arduino ide called ArduOpen ( a kind of arduino on steroids) and we would like to include your core, beside the arduino-extras and the original one, so we need to know what you are planning to do.

Sounds good.

My policy is to deliver an update as soon as possible after a release of the Arduino IDE. I believe the Arduino crew is targeting Sep 15. Usually, I perform a complete review and, when possible, ensure the Tiny Core is "highly compatible". This time around I probably won't have time to do that until mid-October. So, just after the Arduino 1.0 release, I plan to make just enough changes so the Tiny Core, as it is now, can be used with the new IDE.

The intent is to make it easier to port the Standard Core to other processors. Unfortunately, the idea falls considerably short with the Tiny processors. In the short term, I intend to mostly ignore / workaround the feature.

Quote

can i try to patch myself the core files, just to see if it can work in the new ide?

Please do. And please let me know how you progress or if you get stuck.

brainbooster

brainbooster

@Coding Badly i did the 1st experiment with arduino 1 beta 3 and the modded arduinotiny and i succeded in compile the blink example for the attiny85 at 1mhz as selected board XD.i'm not at home now so i can't try to upload the sketch, but i would say that a big step has been done i'm planning to allot some time in the weekend to do further tests...stay tuned

jds

For using Arduino as ISP, I need to disable Auto Reset capabilities. Therefore I inserted 110 ohms (330 ohms / 3) resistor between Reset-pin and 5V-pin. This resistor should be above 110 ohms and below 124 in accordance with this document: DisablingAutoResetOnSerialConnection.

Is it correct that this resistor goes between +5V (from Arduino pin with 5V) and reset pin on ATTiny?