LumiNet (based on attiny84)

Yes, I am successfully using a core originally developed for the attiny45 - it works very well on the 85. I'll update on my progreass here but have a look at this thread

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1274820597/44

short: update Arduino0019 with LumiNet support is available (only for Max OS X) at the luminet.cc homepage.

I did not have time for optiboot, but hope to test it soon...

does anyone have the 18 version from supercow, links are dead

PS: pro tip, if your webhost uses an IP address as its point of entry, dont bother

By "18 version" do you mean the "attiny84-0.1.zip" file?

If so then I have a copy. Send me a PM with your email address and I'll get it to you tonight.

well the links point to attiny84-03.zip but at this point I would take any of them

OK

Coding Badly emailed me the v1 core for arduino 18, and Bill2009 emailed me what appears to be the v3 of the same thing

you can find them both @

http://www.cheesefactory.us/arduinocores/

thanks guys!

so, I wonder if we could set up something in the playground with the cores, board files, schematics and examples. Can we host things there or just point to them - I don't have a hosting service anywhere or i would offer.

For the core files, I'd REALLY prefer they were hosted in the same way the Arduino core is hosted: Google Code. The Arduino download is even hosted there: http://arduino.googlecode.com/files/arduino-0019.zip .

I have a small window of time available right now. My (overambitious) plan is to...

  • Carefully review and test R.Wiersma's last known ATtiny84 core fixing any problems I find
  • Bring this core up-to-date with Arduion 0019 (Print changes, String addition, etcetera)
  • Enhance Tone to output directly timer-to-pin when possible (the quality of the sound in this case is MUCH better in my opinion)
  • Change the core to (optionally) use a variation of digitalFast* (in my case, this reduces the size of the compiled Sketch making it more likely I can use a "smaller" tiny)
  • Build a unified ATtiny core that supports 84, 85, 2313, and the smaller variants

I am willing to share any or all of my work (using Google Code ;)) if anyone is interested.

I think google code would be the best place and I would be interested in your mods to the core, though I dont know how good I would be as I am really not all that familiar with the whole core process nor AVRGCC though I am slowly learning

version 003 is up again, I removed the file by accident.
http://85.12.32.240/~superkoe/arduino/attiny84-03.zip
I haven't worked on it any more, but I do almost have a working bootloader based on asm serial, and its still very small, 512 bytes

So far the bootloader works, but there is an extra pin needed to enable the bootloader.

thanks supercow, sorry if I sounded pissy, but I have been working on something that has eaten a lot of effort based on the 84 and to find it not there was devastating at the time

Coding Badly is right.
Let's open a new googlecode project for all attiny cores. We did the same for the xmega core (Google Code Archive - Long-term storage for Google Code Project Hosting.)

But I also want to make sure that the modified LumiNet IDEs can be found there, because attiny support and LumiNet belong together.

I somehow lost track of what you guys are doing with attiny and optiboot. Is there a working optiboot bootloader for attiny84 out at the moment or are you having problems?
I would love to use optiboot with LumiNet, for programming by infection (the distributed bootloader) but never had the time to really get started.

mine atiny84 bootloader is not based on optiboot, but on a other bootloader that is written in asm

I included the asmserial from your infection to it.

It works, but it has no bootloader section, so i have to include a few lines in my sketch, when a certain pin changes state, then i jump to the bootloader section, and wait for serial. or jump back when a timeout occurs, or the upload was successful.

but a c coded bootloader of the same size would be better, i dont like asm :slight_smile:

SuperCow, I checked your .zip file.
the source code of the bootloader is not included. Where can I find it? Is it a stk500-compatible bootloader for attiny84?

yes, its not included, because its not finished, but i can upload my current work.
its stk500 compatible

since your using a soft serial in this, is it safe to assume that there might be serial functions in future releases ?

Very good question, Osgeld. I have a few ideas on how to address Serial on tinies that don't have hardware support. I'm hoping there's some dicussion around the ideas. Would you mind if we move to a more appropriate section like Hardware / Development?

Here is the alpha bootloader
http://85.12.32.240/~superkoe/arduino/attiny84loader.rar

The bootloader works on the first upload with the IDE
Second time upload the chip goes to the bootloader, but fails halfway uploading.

Everything is in ASM so its very hard to debug, this project is on a dead end for me.

I will look to the optiboot, and see if I am more successful.

About serial support, its not very hard to implement. There already some nice soft serials library around, it just has to be changed for the attiny84.

The serial used for the bootloader works aswell, but it doesn't have buffers etc, so you can miss incoming characters.

edit
I just see optiboot already is made support for the attiny84
Lets see if it works 2 :slight_smile:

Let's open a new googlecode project for all attiny cores

Done...
http://code.google.com/p/arduino-tiny

I'll try to get the '84 core source files uploaded this week.

But I also want to make sure that the modified LumiNet IDEs can be found there, because attiny support and LumiNet belong together.

Is this the latest modified Windows IDE...
http://hci.rwth-aachen.de/tiki-download_wiki_attachment.php?attId=759&page=luminet

Which version of the IDE is it based on?

Does the ZIP file contain a complete IDE or just the things that you modified?

should it be possible to have the core given in this link :
http://hlt.media.mit.edu/wiki/pmwiki.php?n=Main.ArduinoATtiny4585
added on the google project ??