Witam, jestem tutaj nowy wiec przy okazji chciałbym się przywitać. Tematem wątku jest brak reakcji mikrokontrolera Atmega8 na plik wsadowy. Swój problem postaram się opisać dosyć dokładnie oraz wszystko przedstawie na zrzutach ekranu tak aby proba rozwiazania problemu nie zajeła komuś dużo czasu. Przejdę do rzeczy, posiadam programator UsbAsp i probóję zaprogramować atmege8 na płytce stykowej.
Galeria -->
https://www.dropbox.com/sh/6zld5xle77808dr/24Ab0mff1Z?m#/ Wszystko starałem się zrobić jak na tutorialu Pana Mirka, lecz moja atmega nie reaguje na wgrywanego .hex'a . W galerii umieściłem zrzuty z mkAvr Calculator, prosiłbym żeby ktoś tam zajrzał.
Dodam jeszcze ze przypadkowo na wyjściach programatora VCC i GND zrobiłem zwarcie, ale bezpiecznik już został wymieniony. Problem z tym ze atmega była wtedy podlączona do płytki stykowej. Zastanawiam się czy nie uszkodziłem atmegi po prostu i nie potrzebnie zawracam głowę na forum, ale jednak sygnatura jest prawidłowo zczytywana wiec może problem jest gdzie inndziej.
Probóje wgrać cos takiego
![Puszcza oko ;)](https://forum.atnel.pl/images/smilies/icon_e_wink.gif)
język c
Musisz się zalogować, aby zobaczyć kod źródłowy. Tylko zalogowani użytkownicy mogą widzieć kod.
Konsola z eclipse :
Cytuj:
Launching F:\avr\ToolChain\bin\avrdude -pm8 -cusbasp "-B 4" -Uflash:w:ledBlink.hex:a -Ueeprom:w:ledBlink.eep:a
Output:
avrdude: set SCK frequency to 187500 Hz
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9307
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: set SCK frequency to 187500 Hz
avrdude: reading input file "ledBlink.hex"
avrdude: input file ledBlink.hex auto detected as Intel Hex
avrdude: writing flash (102 bytes):
Writing | ################################################## | 100% 0.09s
avrdude: 102 bytes of flash written
avrdude: verifying flash memory against ledBlink.hex:
avrdude: load data flash data from input file ledBlink.hex:
avrdude: input file ledBlink.hex auto detected as Intel Hex
avrdude: input file ledBlink.hex contains 102 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.04s
avrdude: verifying ...
avrdude: 102 bytes of flash verified
avrdude: reading input file "ledBlink.eep"
avrdude: input file ledBlink.eep auto detected as Intel Hex
avrdude: writing eeprom (0 bytes):
Writing | ################################################## | 100% 0.00s
avrdude: 0 bytes of eeprom written
avrdude: verifying eeprom memory against ledBlink.eep:
avrdude: load data eeprom data from input file ledBlink.eep:
avrdude: input file ledBlink.eep auto detected as Intel Hex
avrdude: input file ledBlink.eep contains 0 bytes
avrdude: reading on-chip eeprom data:
Reading | ################################################## | 100% 0.14s
avrdude: verifying ...
avrdude: 0 bytes of eeprom verified
avrdude done. Thank you.
avrdude finished
Z góry serdecznie dziękuję.