avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] Stuck trying to program t44 with AVR Dragon (Debian am


From: Joerg Wunsch
Subject: Re: [avrdude-dev] Stuck trying to program t44 with AVR Dragon (Debian amd64 host)
Date: Sun, 24 Aug 2008 08:32:38 +0200
User-agent: Mutt/1.5.11

As Bill Gatliff wrote:

> > Then use -vvvv (four "v"s).  This will print out the entire
> > communication log, so we can see the actual error code.

> Done, posted here:

Well, but this time, it succeeded in setting up debugWIRE mode:

avrdude: jtagmkII_setparm(): bad response to set parameter command: RSP_FAILED
avrdude: jtagmkII_getsync(): ISP activation failed, trying debugWire
avrdude: jtagmkII_setparm()
avrdude: jtagmkII_setparm(): Sending set parameter command (parm 0x03, 1 
bytes): 
avrdude: jtagmkII_send(): sending 3 bytes
avrdude: Sent: . [1b] . [02] . [00] . [03] . [00] . [00] . [00] . [0e] . [02] . 
[03] . [00] { [7b]   [20] 
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b] 
avrdude: Recv: . [02] 
avrdude: Recv: . [00] 
avrdude: Recv: . [01] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [80] 
avrdude: Recv: . [1d] 
avrdude: Recv: . [09] 
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 2 (command_sequence == 2)

Raw message:
0x80 
OK

So it appears your ATtiny44 is already fused for debugWIRE mode.  In
that case, the command you issued (temporarily, until the next power
cycle) returned it to ISP mode.  Issuing

avrdude -p t44 -c dragon_isp -P usb -U hfuse:w:0xdf:m

as the next command should permanently disable the DWEN fuse again.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

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