Thu 08 Mar 2007 06:49:10 AM UTC, original submission:
To reproduce with greatest diagnostic detail at your fingertips, run avrdude under gdb:
Note: It's also incorrect for avrdude to ask for PAGEL and BS2 signals for the ATtiny15, which does not support parallel programming.
$ gdb avrdude
(gdb) run -c stk500v1 -p t15 -e -U flash:w:obj/flash.srec
Starting program: /usr/local/bin/avrdude -c stk500v1 -p t15 -e -U flash:w:obj/flash.srec
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: erasing chip
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny15
avrdude: reading input file "obj/flash.srec"
avrdude: input file obj/flash.srec auto detected as Motorola S-Record
avrdude: writing flash (126 bytes):
Writing | | 0% 0.00s
Program received signal SIGSEGV, Segmentation fault.
0x08060cf9 in stk500_paged_write (pgm=0x8089b18, p=0x81bb2c0, m=0x81bc638, page_size=128,
n_bytes=Variable "n_bytes" is not available.
) at stk500.c:749
749 buf[i++] = Sync_CRC_EOP;
|