Gast
#4601196
Hallo, ich möchte Mikrocontroller über Atmel Studio in Windows 10 Programmieren. Allerdings bekomme ich beim flashen eine Error-Meldung. avrdude.exe: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.03s avrdude.exe: Device signature = 0x1e910a avrdude.exe: reading input file "C:\Users\Documents\Atmel Studio\7.0\ATTINY2313_Blink\ATTINY2313_Blink\Debug\ATTINY2313_Blink.hex" avrdude.exe: writing flash (62 bytes): Writing | ################################################## | 100% 0.72s avrdude.exe: 62 bytes of flash written avrdude.exe: verifying flash memory against C:\Users\Documents\Atmel Studio\7.0\ATTINY2313_Blink\ATTINY2313_Blink\Debug\ATTINY2313_Blink.hex: avrdude.exe: load data flash data from input file C:\Users\Documents\Atmel Studio\7.0\ATTINY2313_Blink\ATTINY2313_Blink\Debug\ATTINY2313_Blink.hex: avrdude.exe: input file C:\Users\Documents\Atmel Studio\7.0\ATTINY2313_Blink\ATTINY2313_Blink\Debug\ATTINY2313_Blink.hex contains 62 bytes avrdude.exe: reading on-chip flash data: Reading | ################################################## | 100% 0.66s avrdude.exe: verifying ... avrdude.exe: verification error, first mismatch at byte 0x0000 0x10 != 0x14 avrdude.exe: verification error; content mismatch avrdude.exe: safemode: Fuses OK (E:FF, H:DF, L:64) avrdude.exe done. Thank you. Um aus AtmelStudio zu flashen, habe ich ein externes Tool hinzugefügt. Unter Command habe ich den Pfad zu AVRdude.exe. In Arguments habe ich stehen: -p t2313 -c stk500v2 -P\\.\COM4 -b115200 -D -Uflash:w:"$(ProjectDir)Debug\$(TargetName).hex":i kann mir jemand sagen, was ich falsch gemacht habe, bzw. warum es zu diesem Fehler kommt? So wie ich das sehe, wird der Controller ja beschrieben, aber falsch, da es beim lesen zum error kommt. Johannes