Mój problem dotyczy konfiguracji programatora w Eclipse.
Zrobiłem ładny programator na porcie drukarki. Wczytało atmegę8A w mkAVRCalculator.
Metodą "radosną" porównałem napisy w kalkulatorze i eclipsie i na chybił trafił ustawiłem programator STK200.
Kod:
Launching C:\WinAVR-20100110\bin\avrdude -pm8 -cstk200 -Enoreset -Uflash:w:mruganie.hex:a
Output:
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: reading input file "mruganie.hex"
avrdude: input file mruganie.hex auto detected as Intel Hex
avrdude: writing flash (66 bytes):
Writing | ################################################## | 100% 0.03s
avrdude: 66 bytes of flash written
avrdude: verifying flash memory against mruganie.hex:
avrdude: load data flash data from input file mruganie.hex:
avrdude: input file mruganie.hex auto detected as Intel Hex
avrdude: input file mruganie.hex contains 66 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.03s
avrdude: verifying ...
avrdude: 66 bytes of flash verified
avrdude done. Thank you.
avrdude finished

Czy ten zielony napis oznacza że cokolwiek już powinno zadziałać?
Niestety nie. Dioda nie miga. Co zrobić żeby zaczęła migać?
Jeszcze raz wszystko sprawdziłem. Wygląda na to że jak odepnę zasilanie to mam standard rc -1. (i znów wpiąłem i znów ten sam zielony komunikat) Dioda podpięta pod Port B1 a program napisałem taki sam jak pan Mirek.
Skróciłem program do minimum... tak aby tylko świeciła, nadal nic. Wklejałem programy z internetu, nadal nic. Jak wprowadzić program przez mkAVRCalculator?
Uruchomię ponownie kompa. Może to pomoże.
Nadal nic. Po czym poznać że Atmega jest rozwalona?
język c
Musisz się zalogować, aby zobaczyć kod źródłowy. Tylko zalogowani użytkownicy mogą widzieć kod.
Zaraz nabazgram schemat.
Do 15 nogi Atmegi8A podpięty LED. Tak się jeszcze zastanawiam: wg. mnie na nodze atmegi powinien się pojawić + "~5v".
Idę spać. Jutro dopiszę co udało mi się jeszcze posprawdzać.