Hi I recently got a stk500 and played around with different simple code and they work fine.
but somehow after I uploaded this code:
D:\>avrdude -c usbtiny -p at90s8515 -U flash:w:test.
hex
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
And I find this, my chip could be lock out, and it said it can be fix with STK500, but I don't know how to do it exactly.
but somehow after I uploaded this code:
the chip stop working, avrdude give:#include <avr/io.h>
int main(void)
{
// Set Port B pins as all outputs}
DDRB = 0xff;
// Set all Port B pins as HIGH
PORTB = 0xff;
return 1;
D:\>avrdude -c usbtiny -p at90s8515 -U flash:w:test.
hex
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
And I find this, my chip could be lock out, and it said it can be fix with STK500, but I don't know how to do it exactly.