Zaczynam się dopiero uczyć także bez bicia...
Posiadam zestaw uruchomieniowy ZL2AVR oraz programator AVR taki jak tutaj
http://www.mikrosterowniki.pl/dokumenta ... _instr.pdf
Próbuje zgłębić tajniki asemblera, posiadam AVRStudio programator ustawiłem tak jak w instrukcji do programatora.
Mój programik wygląda tak
http://www.kmd2004.nasze.pl/Programowan ... wanie1.JPG
jak biorę żeby się skompilował to wszystko jest ok ale jak chce się połączyć z Atmegą to żaden z dostępnych programatorów nie chce się połączyć także zapisuje to przez avrdude
http://www.kmd2004.nasze.pl/Programowan ... wanie2.JPG
który także sobie nie bardzo radzi z tym ...
Doradźcie coś jak uruchomi tak prostą funkcję
To jest całość co wywala mi avrdude
Kod: Zaznacz cały
avrdude.exe: error: programm enable: target doesn't answer. 1
avrdude.exe: initialization failed, rc=-1
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude.exe: Device signature = 0x000000
avrdude.exe: Yikes! Invalid device signature.
avrdude.exe: Expected signature for ATMEGA8 is 1E 93 07
avrdude.exe: reading flash memory:
Reading | ################################################## | 100% 2.17s
avrdude.exe: writing output file "C:\Documents and Settings\fiddle\Pulpit\AVRStudio Moje programy\qqqq.hex"
avrdude.exe: output file C:\Documents and Settings\fiddle\Pulpit\AVRStudio Moje programy\qqqq.hex auto detected as Intel Hex
avrdude.exe: reading input file "0x00"
avrdude.exe: writing hfuse (1 bytes):
Writing | ################################################## | 100% 0.00s
avrdude.exe: 1 bytes of hfuse written
avrdude.exe: verifying hfuse memory against 0x00:
avrdude.exe: load data hfuse data from input file 0x00:
avrdude.exe: input file 0x00 contains 1 bytes
avrdude.exe: reading on-chip hfuse data:
Reading | ################################################## | 100% 0.00s
avrdude.exe: verifying ...
avrdude.exe: 1 bytes of hfuse verified
avrdude.exe: reading hfuse memory:
Reading | ################################################## | 100% 0.02s
avrdude.exe: writing output file "hfuse.dat"
avrdude.exe: reading input file "0x00"
avrdude.exe: writing lock (1 bytes):
Writing | ################################################## | 100% 0.00s
avrdude.exe: 1 bytes of lock written
avrdude.exe: verifying lock memory against 0x00:
avrdude.exe: load data lock data from input file 0x00:
avrdude.exe: input file 0x00 contains 1 bytes
avrdude.exe: reading on-chip lock data:
Reading | ################################################## | 100% 0.00s
avrdude.exe: verifying ...
avrdude.exe: 1 bytes of lock verified
"efuse" memory type not defined for part "ATMEGA8"
avrdude.exe done. Thank you.