I have come from from successes with ATtiny85 and ATmega328 to failture with ATtiny84. I can't even get a single pin to light an LED. I have a VERY simple setup. Can anyone spot a trouble area?
My fuses read as follows (l,h,e): 0x62, 0xdf, 0xff
My code is 10 lines:
#includeint main() { DDRA |= 255; // set all port A pins for output PORTA |= 255; // set all bits on port A DDRB |= (1<<PB2); PORTB |= (1<<PB2); while (1) {} }
The wiring is simple:
My USBtiny programmer is connected to the chip's 5V, GND, RESET, SCK, MOSI, & MISO pins (and avrdude raised no complaints). I have an LED connected to GND through a resistor; on its (+) lead, I have a jumper wire, which I have connected with each pin on the ATtiny84, but only the 5V pin will make the LED glow.
I have not burned a bootloader onto the chip (but I believe that it came from Sparkfun, so it should have a bootloader on it already).
Thank you for any support you may render.