SE USA
Offline
Faraday Member
Karma: 33
Posts: 3625
@ssh0le
|
 |
« Reply #240 on: September 11, 2010, 03:22:28 pm » |
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
|
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
|
|
|
|
The Netherlands
Offline
Jr. Member
Karma: 0
Posts: 62
Arduino rocks
|
 |
« Reply #241 on: September 11, 2010, 04:40:56 pm » |
version 003 is up again, I removed the file by accident. http://85.12.32.240/~superkoe/arduino/attiny84-03.zipI 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
Faraday Member
Karma: 33
Posts: 3625
@ssh0le
|
 |
« Reply #242 on: September 11, 2010, 05:31:09 pm » |
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
|
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
|
|
|
|
0
Offline
God Member
Karma: 0
Posts: 588
LumiNet rocks
|
 |
« Reply #243 on: September 12, 2010, 08:18:04 am » |
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
Jr. Member
Karma: 0
Posts: 62
Arduino rocks
|
 |
« Reply #244 on: September 12, 2010, 09:24:00 am » |
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 
|
|
|
|
« Last Edit: September 12, 2010, 09:27:12 am by SuperCow »
|
Logged
|
|
|
|
|
0
Offline
God Member
Karma: 0
Posts: 588
LumiNet rocks
|
 |
« Reply #245 on: September 12, 2010, 11:46:52 am » |
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
Jr. Member
Karma: 0
Posts: 62
Arduino rocks
|
 |
« Reply #246 on: September 12, 2010, 03:06:54 pm » |
yes, its not included, because its not finished, but i can upload my current work. its stk500 compatible
|
|
|
|
|
Logged
|
|
|
|
|
SE USA
Offline
Faraday Member
Karma: 33
Posts: 3625
@ssh0le
|
 |
« Reply #247 on: September 12, 2010, 03:12:52 pm » |
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
|
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
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 119
Posts: 10168
|
 |
« Reply #248 on: September 12, 2010, 03:42:08 pm » |
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
Jr. Member
Karma: 0
Posts: 62
Arduino rocks
|
 |
« Reply #249 on: September 12, 2010, 04:18:15 pm » |
Here is the alpha bootloader http://85.12.32.240/~superkoe/arduino/attiny84loader.rarThe 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 
|
|
|
|
« Last Edit: September 12, 2010, 04:25:10 pm by SuperCow »
|
Logged
|
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 119
Posts: 10168
|
 |
« Reply #250 on: September 13, 2010, 02:54:14 am » |
Let's open a new googlecode project for all attiny cores Done... http://code.google.com/p/arduino-tinyI'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=luminetWhich version of the IDE is it based on? Does the ZIP file contain a complete IDE or just the things that you modified?
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 119
Posts: 10168
|
 |
« Reply #252 on: September 15, 2010, 04:14:36 pm » |
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
Jr. Member
Karma: 0
Posts: 62
Arduino rocks
|
 |
« Reply #253 on: September 18, 2010, 06:22:46 pm » |
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
Shannon Member
Karma: 119
Posts: 10168
|
 |
« Reply #254 on: September 18, 2010, 10:59:26 pm » |
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
|
|
|
|
|
|