avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] Writing fuse failed


From: Shaun Jackman
Subject: [avrdude-dev] Writing fuse failed
Date: Fri, 24 Jul 2009 00:19:21 -0700

Hi,

When attempting to write the lfuse of the AT90PWM316 with an Atmel
JTAG mkII, it fails printing the error message `***failed;' as you see
below. What does this error message mean, and what could cause this?
Reading the same fuse works, so communication is generally working.
I'm using avrdude 5.8.

Thanks,
Shaun

$ avrdude -Pusb -cjtag2isp -ppwm316 -B90 -Ulfuse:w:0xe0:m

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.16s

avrdude: Device signature = 0x1e9483
avrdude: current erase-rewrite cycle count is -50463491 (if being tracked)
avrdude: reading input file "0xe0"
avrdude: writing lfuse (1 bytes):

Writing |                                                    | 0%
0.00s ***failed;
Writing | ################################################## | 100% 0.42s

avrdude: 1 bytes of lfuse written
avrdude: verifying lfuse memory against 0xe0:
avrdude: load data lfuse data from input file 0xe0:
avrdude: input file 0xe0 contains 1 bytes
avrdude: reading on-chip lfuse data:

Reading | ################################################## | 100% 0.05s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
         0xe0 != 0xff
avrdude: verification error; content mismatch

avrdude: safemode: lfuse changed! Was e0, and is now ff
Would you like this fuse to be changed back? [y/n] n
avrdude: safemode: Fuses OK
avrdude: jtagmkII_close(): bad response to GO command: RSP_ILLEGAL_EMULATOR_MODE

avrdude done.  Thank you.




reply via email to

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