avr-chat
[Top][All Lists]
Advanced

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

[avr-chat] Can avrdude-5.3.1 handle stk500v1 and ATtiny15?


From: Erik Christiansen
Subject: [avr-chat] Can avrdude-5.3.1 handle stk500v1 and ATtiny15?
Date: Tue, 6 Mar 2007 12:41:47 +1100
User-agent: Mutt/1.5.9i

If anyone is successfully using the current avrdude with stk500v1 to
program the ATtiny15 via ISP, then it looks like I'm missing something.

Both avrdude-5.1 and avrdude-5.3.1 seem to think that the ATtiny15 has
PAGEL and BS2 signals:

$ avrdude -t -c stk500v1 -p t15

avrdude: please define PAGEL and BS2 signals in the configuration file for part
ATtiny15
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9006
avrdude>


Now PAGEL and BS are not applicable to the ATtiny15, if I have the datasheet
the right way up. (The device appears to have high and low voltage serial
programming only.) 

An experimental attempt to program via ISP, anyway:

$ avrdude -c stk500v1 -p t15 -e -U flash:w:obj/flash.srec

resulted in a segmentation fault.

On substituting "-p m16", and with my atmega16 board on the end of the
ISP cable, programming of the device _with_ PAGEL and BS succeeds.

Before I lodge a bug report on savannah, is there a cure in the wild?
(But it would at first glance appear that the current values of buf[3]
in stk500.c don't accommodate AVRs which are only serially
programmable?)

Erik





reply via email to

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