Mon 18 Apr 2011 07:17:00 PM UTC, original submission:
Avrdude did segfault when running the second time after after programming the DWEN fuse.
The dragon had to be reset (power cycled) to work properly afterwards, too.
markus@T60:~$ avrdude -P usb -c dragon_isp -p t85 -v -U hfuse:w:0x9D:m
avrdude: Version 5.10, compiled on Jun 30 2010 at 20:31:41
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/usr/local/avr/etc/avrdude.conf"
User configuration file is "/home/markus/.avrduderc"
Using Port : usb
Using Programmer : dragon_isp
avrdude: usbdev_open(): Found AVRDRAGON, serno: 00A2000053CF
JTAG ICE mkII sign-on message:
Communications protocol version: 1
M_MCU:
boot-loader FW version: 255
firmware version: 6.11
hardware version: 1
S_MCU:
boot-loader FW version: 255
firmware version: 6.11
hardware version: 6
Serial number: 00:a2:00:00:53:cf
Device ID: AVRDRAGON
AVR Part : ATtiny85
Chip Erase delay : 4500 us
PAGEL : P00
BS2 : P00
RESET disposition : possible i/o
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 6 4 0 no 512 4 0 4000 4500 0xff 0xff
flash 65 6 32 0 yes 8192 64 128 4500 4500 0xff 0xff
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 2 0 0 0 0 0x00 0x00
Programmer Type : DRAGON_ISP
Description : Atmel AVR Dragon in ISP mode
Vtarget : 5.0 V
SCK period : 4.00 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.15s
avrdude: Device signature = 0x1e930b
avrdude: safemode: lfuse reads as 62
avrdude: safemode: hfuse reads as DD
avrdude: safemode: efuse reads as FF
avrdude: reading input file "0x9D"
avrdude: writing hfuse (1 bytes):
Writing | ################################################## | 100% 0.15s
avrdude: 1 bytes of hfuse written
avrdude: verifying hfuse memory against 0x9D:
avrdude: load data hfuse data from input file 0x9D:
avrdude: input file 0x9D contains 1 bytes
avrdude: reading on-chip hfuse data:
Reading | ################################################## | 100% 0.05s
avrdude: verifying ...
avrdude: 1 bytes of hfuse verified
avrdude: safemode: lfuse reads as 62
avrdude: safemode: hfuse reads as 9D
avrdude: safemode: efuse reads as FF
avrdude: safemode: Fuses OK
avrdude done. Thank you.
markus@T60:~$ avrdude -c dragon_isp -P usb -p t85 -v
avrdude: Version 5.10, compiled on Jun 30 2010 at 20:31:41
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/usr/local/avr/etc/avrdude.conf"
User configuration file is "/home/markus/.avrduderc"
Using Port : usb
Using Programmer : dragon_isp
avrdude: usbdev_open(): Found AVRDRAGON, serno: 00A2000053CF
JTAG ICE mkII sign-on message:
Communications protocol version: 1
M_MCU:
boot-loader FW version: 255
firmware version: 6.11
hardware version: 1
S_MCU:
boot-loader FW version: 255
firmware version: 6.11
hardware version: 6
Serial number: 00:a2:00:00:53:cf
Device ID: AVRDRAGON
avrdude: jtagmkII_setparm(): bad response to set parameter command: RSP_FAILED
avrdude: jtagmkII_getsync(): ISP activation failed, trying debugWire
avrdude: Target prepared for ISP, signed off.
avrdude: Please restart avrdude without power-cycling the target.
Segmentation fault
|