Pages: 1 ... 15 16 [17] 18 19   Go Down
Author Topic: LumiNet (based on attiny84)  (Read 52673 times)
0 Members and 1 Guest are viewing this topic.
SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged


The Netherlands
Offline Offline
Jr. Member
**
Karma: 0
Posts: 62
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
« Last Edit: September 11, 2010, 04:44:25 pm by SuperCow » Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged


0
Offline Offline
God Member
*****
Karma: 1
Posts: 588
LumiNet rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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


The Netherlands
Offline Offline
Jr. Member
**
Karma: 0
Posts: 62
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley
« Last Edit: September 12, 2010, 09:27:12 am by SuperCow » Logged

0
Offline Offline
God Member
*****
Karma: 1
Posts: 588
LumiNet rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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


The Netherlands
Offline Offline
Jr. Member
**
Karma: 0
Posts: 62
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

since your using a soft serial in this, is it safe to assume that there might be serial functions in future releases ?
« Last Edit: September 12, 2010, 03:12:58 pm by Osgeld » Logged


Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 199
Posts: 12768
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


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

The Netherlands
Offline Offline
Jr. Member
**
Karma: 0
Posts: 62
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley
« Last Edit: September 12, 2010, 04:25:10 pm by SuperCow » Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 199
Posts: 12768
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 76
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 199
Posts: 12768
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

The Netherlands
Offline Offline
Jr. Member
**
Karma: 0
Posts: 62
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 199
Posts: 12768
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: 1 ... 15 16 [17] 18 19   Go Up
Jump to: