[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-chat] Programming ATtiny26- ' failed' message.
From: |
Royce Pereira |
Subject: |
[avr-chat] Programming ATtiny26- ' failed' message. |
Date: |
Wed, 4 Feb 2009 00:14:38 +0530 |
Hi,
I am trying to program an AT-tiny26 using AVRdude under Windows.
I always get a 'failed' message while programming hfuse & lock bits.
The flash gets programmede properly though & the chips functions OK.
My programmer is USBASP.
I am pasting below the output of avrdude.
Can anyone explain the error messages? Thanks.
-----------------------------------------------------------
D:\AVR-GCC code\Trimurti\micro-cntr>avrdude -p t26 -u -V -U
cro-cntr.hex -U
eeprom:w:calib.hex:i -U lfuse:w:0xE3:m -U hfuse:w:0xF6:m -U
lock:w:0xFC:m
found 4 busses
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.03s
avrdude: Device signature = 0x1e9109
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be
performed
To disable this feature, specify the -D option.
avrdude: current erase-rewrite cycle count is 2088599167 (if being tracked)
avrdude: erasing chip
avrdude: reading input file "micro-cntr.hex"
avrdude: input file micro-cntr.hex auto detected as Intel Hex
avrdude: writing flash (1740 bytes):
Writing | ################################################## | 100% 14.53s
avrdude: 1740 bytes of flash written
avrdude: reading input file "calib.hex"
avrdude: writing eeprom (4 bytes):
Writing | ################################################## | 100% 0.06s
avrdude: 4 bytes of eeprom written
avrdude: reading input file "0xE3"
avrdude: writing lfuse (1 bytes):
Writing | ################################################## | 100% 0.00s
avrdude: 1 bytes of lfuse written
avrdude: reading input file "0xF6"
avrdude: writing hfuse (1 bytes):
Writing | ***failed;
################################################## | 100% 0.09s
avrdude: 1 bytes of hfuse written
avrdude: reading input file "0xFC"
avrdude: writing lock (1 bytes):
Writing | ***failed;
################################################## | 100% 0.11s
avrdude: 1 bytes of lock written
avrdude done. Thank you.
--Royce
-------------------------------------------------------------------------------------------------------------------------
HELP SAVE TREES. Please don't print this e-mail unless you really need to.
--------------------------------------------------------------------------------------------------------------------------
- [avr-chat] Programming ATtiny26- ' failed' message.,
Royce Pereira <=