ATTiny support in 1.6.0

Has anyone ported the ATTiny board definitions to Version 1.6.0? I was using the MIT High-Low Tech board definitions, but they don't work now that I upgraded.

Hi Keith

I have compiled successfully (though not yet tried uploading and running) using this core, which is based on the "Attiny" core:

http://www.leonardomiliani.com/en/2014/aggiornato-il-core-attiny-per-lide-1-5-8-di-arduino/

There is a document in the zip file with installation instructions.

Regards

Ray

I use and recommend this link: Google Code Archive - Long-term storage for Google Code Project Hosting.

Ray (another!)

Thanks, Hackscribble, I'll try your suggestions later today.

mrburnette, those core definitions don't work in IDE 1.6.0 anymore. I have already tried them.

keithrussell:
mrburnette, those core definitions don't work in IDE 1.6.0 anymore. I have already tried them.

"Don't work"?

Sorry. By "don't work" I meant the IDE 1.6.0 does not recognize the old core and board definitions, and does not load them into the Tools>Board menu.

Either that or you failed to follow the instructions...

If this is an example of your helpfulness, Coding Badly, then please do not send any more advice my way. I can do without it.

keithrussell:
If this is an example of your helpfulness, Coding Badly, then please do not send any more advice my way. I can do without it.

In which case, @keithrussell, you will need to keep your eyes closed really really tight for the second part of this post. I certainly don't want my mentioning your failure to follow the instructions to offend you any further.

I downloaded and installed 1.6 to computer that had never had Arduino installed.

I downloaded the appropriate Tiny Core file (the one listed for 1.5) to that same computer then followed the README instructions to install it.

Everything went perfectly.

If anyone has any other problems with Tiny Core and 1.6 please let me know.

(Do note that the downloads and instructions are different for 1.5.x (which is what you want for 1.6 as well), than they were for 1.0.x !)

I just downloaded IDE 1.6 and the Google Code Archive - Long-term storage for Google Code Project Hosting. core and installed it all without problem by following the included instructions in README

The ATtiny files here should work: https://github.com/damellis/attiny/tree/ide-1.5.x. Let me know if they don't.

I just haven't had a chance to update the High-Low Tech tutorials but I'll try to do so soon.

I updated the tutorial: http://highlowtech.org/?p=1695. Let me know if you have any trouble.

I appreciate it when someone lets me know that something can be done, when I have been having problems and may have reached the conclusion that it cannot be done.

Please keep in mind that in text there is no body language, or tone of voice, or facial expressions. And that people often type off a response without a lot of extra words added. -And- that studies have shown that people tend to be very bad at judging the emotional intent of text-only email, while being inordinately confident that they can.

@mellis, if I can make a suggestion, the standard ArduinoISP sketch is written for LEDs to be connected to pins 7 (programming), 8 (error), and 9 (heartbeat). Since your tutorial is targeting individuals that are new to programming chips you should encourage their use. I know for myself that a lot of my difficulties stemmed from disabling the reset properly and not knowing whether or not ArduinoISP was actually running on the Uno (etc.). Those LEDs clarify that issue.

And thanks for writing the tutorial. You got me started, at least :slight_smile:

Yes , i can confirm that Google Code Archive - Long-term storage for Google Code Project Hosting. working fine with 1.6.0 IDE. Only one thing must be changed :
In Arduino\sketchbook\hardware\tiny\avr\platform.txt originally stated :

Default "compiler.path" is correct, change only if you want to overidde the initial value

#compiler.path={ide.path}/tools/avr/bin/..

And that must be changed to :

compiler.path={runtime.ide.path}/hardware/tools/avr/bin/

We can also override compiler flags for Attiny only if we wish, that it's great feature.

P.S.
And just discovered that EEPROM folder must be copied from :

Arduino\arduino-1.6.0\hardware\arduino\avr\libraries\

to :

Arduino\sketchbook\hardware\tiny\avr\libraries\

I change platform.txt, board.txt and add some libraries ( EEPROM - copied from \avr\libraries) for arduino-tiny originall lib. and add some option to change gcc optimisation flags from IDE directly :

Uploading and Burn Bootloader ( change fuse settings ) works fine from IDE.

This is the boards i include

Only ATtiny85 is modified - you can change others in board.txt - if you do that new one must be like modified one because there is some changes in in new IDE 1.6.0 board.txt options for example no more bootloader.path option just :

bootloader.file=empty/empty85at1.hex

and some others.

Just extract in sketchbook/hardware folder. This is for Arduino IDE 1.6.0 only. Has no effect on 1.0.x version ( they work as did before update )

tiny_for_1.6.0_IDE.zip (86.6 KB)

Thanks!

Hi can any one help me to add trinket support to the new ide 1.6.0 ive tryed and it moans about uploading parametres arent set or somthing of that nature,thanks

Adafruit is usually pretty proactive about such things...

https://forums.adafruit.com/viewtopic.php?f=52&t=67018&p=340144#p340144