I have a problem communicating with Atmega48.
OS Linux Debian Jessie
Eclipce Version: 3.8.1
ATmega32 programmed without any problem
Atmega48
Projekt>Właściwości>AVR>Taget Hardware Load from MCU
window pops:
Could not understand the output from AVRDude.
-Either avrdude returned an error massage that is not covered by the AVR Eclipse Plugin
-or you have a newer AVRDude version with a changed output format.
In either case check yhe AVRDude return massage below and contact the AVR Eclipse Plugin maintainers to have this fixed.
https://sourceforge.net/projekts/avr-eclipse/
Przyczyna:
Could not find a valid Signature in the avrdude output
attempt programming Atmega48, results in the console:
Launching /usr/bin/avrdude -pm48 -cusbasp -PUSB -F
-Uflash:w:BLDC_stary.hex:a
Output:
avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x881611
avrdude: Expected signature for ATmega48 is 1E 92 05
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be
performed
To disable this feature, specify the -D option.
avrdude done. Thank you.
avrdude finished
Hello Stanislaw,
What is the output of avrdude if you run it from the command line? Make sure you run it from the directory where BLDC_stary.hex can be found.