[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] stk500 and tiny45
From: |
David Carr |
Subject: |
Re: [avr-libc-dev] stk500 and tiny45 |
Date: |
Mon, 30 Jan 2006 22:51:31 -0600 |
User-agent: |
Mozilla Thunderbird 1.0.7 (X11/20051013) |
Galen,
Thanks for the help. I was able to get it working after increasing the
SCK period per your sugguestion. Up until now I've been using uisp with
my STK500 but I was impressed by the performance of avrdude.
Thanks,
David Carr
Galen Seitz wrote:
>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
>
>