Zaczynając swoją przygodę z mikrokontrolerami po obejrzeniu wielu poradników chciałem zaprogramować swój pierwszy program. Eclipse odmawiał mi posłuszeństwa dlatego postanowiłem przetestować Atmel Studio 6.1 użyłem poradnika aby skonfigurować programator pod Atmel Studio. Napisałem również swój pierwszy prograrm:
miał on mrygać diodą led (takie "hello world") ale po odpaleniu skofigurowanego USBasp wyświetla mi się taki komunikat:
Siedzę już nad tym kilka godzin próbuje szukać w internecie nawet był podobny temat gdzie wystarczyło zdefiniowac taktowanie procesora i to mi też nie pomogło bo miałem zdefiniowany od poczatku.
b-blog.pl/usbasp-i-avr-atmel-studio/
Code: c
miał on mrygać diodą led (takie "hello world") ale po odpaleniu skofigurowanego USBasp wyświetla mi się taki komunikat:
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude.exe: Device signature = 0x1e9307
avrdude.exe: erasing chip
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
avrdude.exe: reading input file "”G:\Dropbox\Projekt\Atmel\Mryganie2\Mryganie2\Debug\Mryganie2.hex”"
avrdude.exe: error opening ”G:\Dropbox\Projekt\Atmel\Mryganie2\Mryganie2\Debug\Mryganie2.hex”: Invalid argument
avrdude.exe: input file ”G:\Dropbox\Projekt\Atmel\Mryganie2\Mryganie2\Debug\Mryganie2.hex” auto detected as invalid format
avrdude.exe: can't open input file ”G:\Dropbox\Projekt\Atmel\Mryganie2\Mryganie2\Debug\Mryganie2.hex”: Invalid argument
avrdude.exe: read from file '”G:\Dropbox\Projekt\Atmel\Mryganie2\Mryganie2\Debug\Mryganie2.hex”' failed
avrdude.exe: safemode: Fuses OK (H:FF, E:D9, L:E4)
avrdude.exe done. Thank you.
Siedzę już nad tym kilka godzin próbuje szukać w internecie nawet był podobny temat gdzie wystarczyło zdefiniowac taktowanie procesora i to mi też nie pomogło bo miałem zdefiniowany od poczatku.