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