Hi,

I had posted this issue a year ago, but got no reply. In the meantime,
I was using AVR studio for programming, so I forgot about this.

Now I'm returning to avrdude, and I again encountered curious problem .

My avrdude command line is:

>avrdude -p t26 -u   -U  micro-cntr.hex   -U hfuse:w:0xF6:m   -U lfuse:w:0xE1:m 
>  -U lock:w:0x3c:m

While writing hfuse, I get this error message :

avrdude: reading input file "0xF6"
avrdude: writing hfuse (1 bytes):

Writing |  ***failed;
################################################## | 100% 0.19s

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

Reading | ################################################## | 100% 0.03s

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

I checked the datasheet, and 0xF6 should be correct (unprogrammed fuses are 1).
AVR studio too has no problem writing (and reading ) hfuse as 0xF6 .

So what could be the problem ?

Thanks,

--Royce


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to