[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-chat] avrdude: error: programm enable: target doesn't answer.
From: |
YuGiOhJCJ Mailing-List |
Subject: |
[avr-chat] avrdude: error: programm enable: target doesn't answer. |
Date: |
Fri, 25 Apr 2014 02:45:55 +0200 |
Hello,
I am encountering a problem with an attiny2313 micro-controller, avrdude-5.11.1
and my USBasp programmer.
I am unable to send a program to my attiny2313:
---
$ sudo avrdude -p t2313 -c usbasp -U flash:w:main.hex
avrdude: warning: cannot set sck period. please check for usbasp firmware
update.
avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
---
I was able to do it just before I typed this:
$ sudo avrdude -p t2313 -c usbasp -U hfuse:w:0xdb:m -U lfuse:w:0xef:m
With all my other attiny2313 micro-controllers, there are no problems.
I am able to send a program to these micro-controllers:
---
$ sudo avrdude -p t2313 -c usbasp -U flash:w:main.hex
avrdude: warning: cannot set sck period. please check for usbasp firmware
update.
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e910a
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: warning: cannot set sck period. please check for usbasp firmware
update.
avrdude: reading input file "main.hex"
avrdude: input file main.hex auto detected as Intel Hex
avrdude: writing flash (2038 bytes):
Writing | ################################################## | 100% 1.33s
avrdude: 2038 bytes of flash written
avrdude: verifying flash memory against main.hex:
avrdude: load data flash data from input file main.hex:
avrdude: input file main.hex auto detected as Intel Hex
avrdude: input file main.hex contains 2038 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.77s
avrdude: verifying ...
avrdude: 2038 bytes of flash verified
avrdude: safemode: Fuses OK
avrdude done. Thank you.
---
Do you see why my attiny2313 micro-controller does not work anymore ?
Thank you.
Best regards.
- [avr-chat] avrdude: error: programm enable: target doesn't answer.,
YuGiOhJCJ Mailing-List <=