This is the first time I have worked with anything like this outside of classes. I'm using it for a project.
Setup:
Newest version of Studio and Winavr
AVR Dragon with 40 pin zif socket
Jumpers are attached according to the pinouts in the studio help files for ATTINY85
ATTINY85 20PU
I have verified it has power by checking to see if there was voltage accross the ground and VCC and there is.
At this point I just want to get it to flash, so I copied a simple program:
#include
int main(void)
{
// Set Port B pins as all outputs
DDRB = 0xff;
// Set all Port B pins as HIGH
PORTB = 0xff;
return 1;
}
I just want to get LED's to turn on.
Problem:
When I Read Signature is says WARNING:Signature does not match selected device! even though I have the device and signature bytes on ATTINY85.
Also when I try to flash the .hex file to it I get WARNING: FLASH byte address 0x0000 is 0x00 (should be 0x0E).. FAILED!
So I don't understand why this is happening. Any help would be appreciated!