Hi, hat evtl. jemand die Firmware v 1.2 für STK500? Ich wollte WinAVR Benutzen, das geht leider mit der neusten Firmware nicht. So, wie ich es verstanden habe. ------------------ #include <math.h> #include <avr/io.h> #define PB1 1 //############################################################ int main() { DDRB=0b11111111; //sind Ausgänge PORTB |= (1 << PB1); } -------------------- Wenn ich auf Programm gehe, bekomme ich folgende Fehlermeldung: > "make.exe" program avrdude -p atmega8515 -P com1 -c stk500 -U flash:w:main.hex avrdude: please define PAGEL and BS2 signals in the configuration file for part ATMEGA8515 avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.01s avrdude: Device signature = 0x1e9301 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: please define PAGEL and BS2 signals in the configuration file for part ATMEGA8515 avrdude: reading input file "main.hex" avrdude: input file main.hex auto detected as Intel Hex avrdude: writing flash (110 bytes): Writing | ################################################## | 100% 0.09s avrdude: 110 bytes of flash written avrdude: verifying flash memory against main.hex: avrdude: load data flash data from input file main.hex: avrdude: input file main.hex auto detected as Intel Hex avrdude: input file main.hex contains 110 bytes avrdude: reading on-chip flash data: Reading | ################################################## | 100% 0.03s avrdude: verifying ... avrdude: verification error, first mismatch at byte 0x0000 0x10 != 0xff avrdude: verification error; content mismatch avrdude done. Thank you. make.exe: *** [program] Error 1 > Process Exit Code: 2 > Time Taken: 00:02
Das STK hat jetzt (AVRStudio 4.irgendwas) Protkoll V2. Das soll AVRDude eigentlich können...
Ich hab mir jetzt avrdude 5 Beta gesaugt und die FIles in den richtigen Ordner kopiert. Trotzdem bekomme ich die gleiche Felermeldung..
Tausche mal im Optionsstring des avrdude den Teil "-c stk500" auf "-c stk500v2". Wenn der Dude neu genug ist, klappt das dann. Gruß, Holm
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.