Gast
#2901762
Hallo, ich will mich in das Thema Mikrocontroller einarbeiten und hab mir dazu einen USBASP-Programmer von betemcu und einen ATmega168-20PU gekauft. Mit Atmel Studio 6.0 hab ich ein kleines C-Programm erstellt um mit einer LED zu blinken. Das Hex-File hab ich mit avrdude 5.11.1 und den USBASP-Programmer in den ATmega168-20PU geschrieben (siehe Anhang). Es schaut alles gut aus, aber das Programm funktioniert nicht (die LED blinkt nicht). Nach vielen rumprobieren (alkoholfrei) hab ich den eXtreme Burner - AVR zum brennen benutzt. Damit geht das Programm problemlos. Ich kann also mit meinem USBASP die Hex-Files mit eXtreme Burner - AVR brennen, mit avrdude geht es aber nicht. MFG egonotto Anhang: gekürzte Ausgabe von avrdude: " C:\WinAVR-20100110\bin>avrdude -c usbasp -p m168 -U eeprom:w:GccApplication1.hex avrdude: warning: cannot set sck period. please check for usbasp firmware update . avrdude: Device signature = 0x1e9406 avrdude: reading input file "GccApplication1.hex" avrdude: input file GccApplication1.hex auto detected as Intel Hex avrdude: writing eeprom (228 bytes): Writing | ################################################## | 100% 2.67s avrdude: 228 bytes of eeprom written avrdude: verifying eeprom memory against GccApplication1.hex: avrdude: load data eeprom data from input file GccApplication1.hex: avrdude: input file GccApplication1.hex auto detected as Intel Hex avrdude: input file GccApplication1.hex contains 228 bytes avrdude: reading on-chip eeprom data: Reading | ################################################## | 100% 0.07s avrdude: verifying ... avrdude: 228 bytes of eeprom verified avrdude: safemode: Fuses OK avrdude done. Thank you. "