[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #33114] Segfault after setting the DWEN fuse with Dra
From: |
Markus Baertschi |
Subject: |
[avrdude-dev] [bug #33114] Segfault after setting the DWEN fuse with Dragon |
Date: |
Mon, 18 Apr 2011 19:17:01 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.43 Safari/534.24 |
URL:
<http://savannah.nongnu.org/bugs/?33114>
Summary: Segfault after setting the DWEN fuse with Dragon
Project: AVR Downloader/UploaDEr
Submitted by: markus_b
Submitted on: Mon 18 Apr 2011 09:17:00 PM CEST
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: Markus
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
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.
address@hidden:~$ 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.
address@hidden:~$ 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
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?33114>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avrdude-dev] [bug #33114] Segfault after setting the DWEN fuse with Dragon,
Markus Baertschi <=