LumiNet (based on attiny84)

BillGeo On the analog is a small error that will be fixed on the next release.
You can do this: analogReference(0); in setup.
This will use the internal aref. Now its indeed on external.

bill2009, do you use a 10K resistor parallel on the reset?

As you can see on the breadbord, the reset line (pin 1 on a atmega168) is hook on a resistor and the other side of the resistor has 5V. The green line is the reset to the arduinoISP.

bill2009, do you use a 10K resistor parallel on the reset?

yes sir, brown-black-ORANGE from pin 4 of the attiny84 to ground and pin 4 goes to 10 of the driver. i'll see if i have another chip i can try to program.

Damn!
I seem to be geting the same error as Bill2009 does.

avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny84
avrdude: Yikes!  Invalid device signature.
         Double check connections and try again, or use -F to override
         this check.

BTW, pin4 (RESETpin) on the ATtiny84, is supposed to be kept high (via the 10k resistor).
OK, so if it's set low the program should reset... right?
I manually tie it to ground... and there is no reset of the program!

What't going on...

I'm going to delve into this! :smiley:

BTW, pin4 (RESETpin) on the ATtiny84, is supposed to be kept high (via the 10k resistor).
OK, so if it's set low the program should reset... right?
I manually tie it to ground... and there is no reset of the program!

that would reset the program running in the attiny84 - but there isn't one is there?

that would reset the program running in the attiny84 - but there isn't one is there?

No, there IS.
Thats the strange thing. I actually uploaded my sketch-code just fine using my Arduino-ISP and the core modification of the 0018 IDE.
And more than once for that matter.
After that... I can't remember what change I made and I get this error message.
I changed breadbords, for the bigger circuit, but other that that it seems the same to me.
(note that I get the same error using a USBtinyISP and avrdude, trying to just read the fuses.)

Could the reset pin be damaged (fuse set incorrectly.)
I just say that based on the fact that grounding the reset pin doesn't reset the code!

yes sir, brown-black-red

not to nitpick but that is 1k, maybe it is too weak

on my 84 setup I dont have a pull up resistor, works fine (keeping in mind its being powered by the arduino also, when powered externally and still connected to a ardiuno for programming yea its needed if the arduino is turned off)

I manually tie it to ground... and there is no reset of the program!

reset does not happen until it goes high again, holding the reset down enables self programing through the isp port (avrisp for example)

Quote:
yes sir, brown-black-red

not to nitpick but that is 1k, maybe it is too weak

on my 84 setup I dont have a pull up resistor, works fine (keeping in mind its being powered by the arduino also, when powered externally and still connected to a ardiuno for programming yea its needed if the arduino is turned off)

It's a brown-black-orange - I just typed it wrong. what a goof, thanks for noticing i'll fix the post.

avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny84

I get this error as well, I don't know what it is, but never the less, it programs the chip, so it can be ignored. I also get the error using avr-dude, with a other ISP programmer, so its a fault in that.

I dont get the "cant find signature", i have reprogrammed it many times now with arduinoisp, with different sketches.
But maybe it is the lockbit, when buring the bootloader, it locks the chip for programming. Of course with a normal bootloader the chip is programmed from within, not for the attiny. So set de unlock and lockbit to 0xfc in boards.txt in de attiny84 folder.
Then reburn the bootloader. It keeps the chip unlockt now.

The RESET pin is not to reset the program inside, but it resets the whole chip. If the reset is HIGH(5v) the chip is running normal. Pulling the RESET LOW(gnd), the chip stays in RESET until the pin is HIGH again.

That why there is a 10K resistor between in, Because the ISP programmer sets the port LOW, but the reset is tied to 5v, that would cause a short circuit. Now with the 10K resister there wont be.

Do you use a resistor in series with your RESET line from the ISP to pin4?
If you do, remove it (or maybe use a lower value). I did and everything seems to work again.
(I still use 10K resistors in line with the MOSI, MISO, CSK pins)

wah, seem very cool

Hi Bohne, did you manage to use the Optiboot on Luminet micros? If so, can you post it please?

Thanks.

Ive got a first version of a bootloader working.
Using Bohne's asm serial and aziemer 256 word asm bootloader.

But when i have uploaded a sketch the bootloader is gone.
The attiny84 doesnt have a bootloader section in the fuses to protect it.
So the bootloader has to fix that. But my asm skill are none existing.
Im already happy to incorporate the asm serial.
Looks like the bootloader is still 256 words (512 bytes) as the arduino bootloader is 2048 bytes :stuck_out_tongue:

I have mailed the author of the 256 word bootloader if he can help me out.
Or maybe Bohne can help with this.

in the original bootloader makefile there is this line

LDSECTION  = --section-start=.text=0x3800

by my understanding it means where in the memory to put the sketch
if you add it to the sketch makefile and adjust it to the end of your bootloader i think it should work

Hi

Since the attiny84 doesn't have UART is it possible to use V-USB like some Arduino compatible boards?

Best regards

I see that there is now an attiny84 core for the arduino-0018 IDE. Has anyone created a core for the attinyx5 devices (specifically the attiny85)? That comes in a nice 8-pin DIP/SOIC and would be great for simple designs. Thanks!

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.