avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] stk500 and tiny45


From: Galen Seitz
Subject: Re: [avr-libc-dev] stk500 and tiny45
Date: Mon, 30 Jan 2006 16:26:02 -0800

David Carr <address@hidden> wrote:

> Thanks to Joerg, Anatoly and Eric et all. I have toolchain that
> completely supports the tiny45.  I can't however convince my STK500 and
> avrdude to program the thing.  I using SCKT3400D1 and avrdude 5.1.  I
> also have a jumper from PORTE-RST to PB3.  Has anyone made this work?
> 
> Thanks,
> David Carr
> 
> I get the following output: Note that device signature is sometimes
> different.
> 
...snip...
> 
>          Programmer Type : STK500
>          Description     : Atmel STK500
>          Hardware Version: 2
>          Firmware Version: 1.15
>          Vtarget         : 5.1 V
>          Varef           : 3.4 V
>          Oscillator      : 3.686 MHz
>          SCK period      : 1.1 us
> 
> avrdude: please define PAGEL and BS2 signals in the configuration file
> for part ATtiny45
> avrdude: AVR device initialized and ready to accept instructions
> 
> Reading | ################################################## | 100% 0.01s
> 
> avrdude: Device signature = 0x0c9200
> avrdude: safemode: Verify error - unable to read lfuse properly.
> Programmer may not be reliable.
> avrdude: safemode: To protect your AVR the programming will be aborted
> 
> avrdude done.  Thank you.

It looks like the factory default config for the tiny45 results in a 1
MHz internal clock and SPI programming.  If so, you will need to
increase the SCK period to > 4 us.

galen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]