Go Down

Topic: LumiNet (based on attiny84) (Read 68781 times) previous topic - next topic

Osgeld

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
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

SuperCow

#241
Sep 11, 2010, 11:40 pm Last Edit: Sep 11, 2010, 11:44 pm by SuperCow Reason: 1
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.

Osgeld

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
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

bohne

Coding Badly is right.
Let's open a new googlecode project for all attiny cores. We did the same for the xmega core (http://code.google.com/p/xmegaduino/)

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.
http://www.dorkbot.de
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1236434254
http://www.luminet.cc

SuperCow

#244
Sep 12, 2010, 04:24 pm Last Edit: Sep 12, 2010, 04:27 pm by SuperCow Reason: 1
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 :)

bohne

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?
http://www.dorkbot.de
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1236434254
http://www.luminet.cc

SuperCow

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

Osgeld

#247
Sep 12, 2010, 10:12 pm Last Edit: Sep 12, 2010, 10:12 pm by Osgeld Reason: 1
since your using a soft serial in this, is it safe to assume that there might be serial functions in future releases ?
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

Coding Badly


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?

SuperCow

#249
Sep 12, 2010, 11:18 pm Last Edit: Sep 12, 2010, 11:25 pm by SuperCow Reason: 1
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 :)

Coding Badly

Quote
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.

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

moustic

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

Coding Badly

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

Yes.

My goals are...

1. Get the Google Code site started (done)

2. Make SuperCow's ATtiny84 Core as similar as possible to the Arduino 0019 Core (minus Serial).  This should provide a Tiny Core that has almost identical performance and functionality as the 0019 core.

3. Integrate the ATtiny85 Core (from the link you posted) with the ATtiny84 Core.  The end result will be a single Tiny Core that supports 84 and 85 processors.

4. Integrate RenĂ© Bohne's ATtiny2313 Core with the Tiny Core.  The end result will be a single Tiny Core that supports 2313, 84, and 85 processors.

5. Branch the Tiny Core so performance and memory optimizations (like digital*Fast and tone-to-pin output) can be applied.

Any participation (including testing) is welcome!

SuperCow

My tinyport was based on Bohne's luminet, but with clean core files from 0017. Later i ported it to 0018.
Now we have 0019, and I would have ported it to 0019.

Few month ago i put in a alot of time making a bootloader for it.
I have started again with the bootloader, using optiboot, or using mine with some tricks from optiboot.

Coding Badly

Quote
Few month ago i put in a alot of time making a bootloader for it.
I have started again with the bootloader, using optiboot, or using mine with some tricks from optiboot.

I'm curious.  Obviously, RenĂ© Bohne needs a bootloader for his work.  Does anyone else?  Are there people who want to program a Tiny who don't already have an Arduino or an ICSP?

Go Up