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



_______________________________________________
AVR-chat mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to