attiny45
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 35
- Joined: Mon Sep 24, 2007 11:55 am
If it's a DIP-style ATtiny45, make a minimalist target board.
-
- Posts: 35
- Joined: Mon Sep 24, 2007 11:55 am
Aha. Are you perchance making LED fireflies?
In any case, get a Pomona 5250 SOIC test clip and a copy of the ATtiny45 datasheet. Wiring up the clip to connect the appropriate pins is straightforward.
I *do* recommend making an adapter cable for the clip rather than soldering it directly to the ribbon cable coming from the USBtinyISP.
In any case, get a Pomona 5250 SOIC test clip and a copy of the ATtiny45 datasheet. Wiring up the clip to connect the appropriate pins is straightforward.
I *do* recommend making an adapter cable for the clip rather than soldering it directly to the ribbon cable coming from the USBtinyISP.
- caitsith2
- Posts: 217
- Joined: Thu Jan 18, 2007 11:21 pm
The ATtiny45 is identical in pinout to ATtiny25 and ATtiny85. (just different flash sizes.)
Pin 1 = Reset
Pin 2 = XTAL1 (if external oscillator is required) (Fuses are set by default to use internal oscillator.)
Pin 3 = XTAL2 (if external oscillator is required)
Pin 4 = Gnd
Pin 5 = Mosi
Pin 6 = Miso
Pin 7 = Sck
Pin 8 = Vcc.
Finally, if you only have USBTinyISP available, Never EVER set the debugwire, reset disable or ISP disable fuses, if you wish to be able to program the chip again.
Pin 1 = Reset
Pin 2 = XTAL1 (if external oscillator is required) (Fuses are set by default to use internal oscillator.)
Pin 3 = XTAL2 (if external oscillator is required)
Pin 4 = Gnd
Pin 5 = Mosi
Pin 6 = Miso
Pin 7 = Sck
Pin 8 = Vcc.
Finally, if you only have USBTinyISP available, Never EVER set the debugwire, reset disable or ISP disable fuses, if you wish to be able to program the chip again.
-
- Posts: 5
- Joined: Sun Dec 02, 2007 9:30 pm
Yes I am trying to make the led fireflies.
I got the Pomona 5250 SOIC and wired it up and i can read the attiny45v but cant write. I am not sure what file I need to upload to the chip. I tried the firefly.hex and the song1a.h file
This is what my cmd.exe looks like
C:\user\matuli>avrdude -c usbtiny -p attiny45 -u flash:w:firefly.hex
avrdude: AVR device initialized and ready to accept instructions
Reading : ######################### : 100% 0.01s
avrdude: Device signature = 0x1e9206
avrdude done. thank you.
C\Users\matuli>
I put the hex file in the C: dir
I got the Pomona 5250 SOIC and wired it up and i can read the attiny45v but cant write. I am not sure what file I need to upload to the chip. I tried the firefly.hex and the song1a.h file
This is what my cmd.exe looks like
C:\user\matuli>avrdude -c usbtiny -p attiny45 -u flash:w:firefly.hex
avrdude: AVR device initialized and ready to accept instructions
Reading : ######################### : 100% 0.01s
avrdude: Device signature = 0x1e9206
avrdude done. thank you.
C\Users\matuli>
I put the hex file in the C: dir
Please be positive and constructive with your questions and comments.