Gast
#3581767
Hallo, ich habe ein problem den ich nicht mehr selber lösen kann. Aus diesem Grund bitte ich um eure Hilfe. Ich will mein DCF Projek auf mein ATmega8 flashen. flashen fuktioniert, (obwohl es recht lange dauert für seine größe). Aber die verifizierung schlägt fehl. mit einem merkwürdiges verhalten. Ich flashe mit STK500. eigenartig ist noch eines: wenn ich einen kleinen Projekt flashe funktioniert anscheinend alles... Kann es an der größe des Projekts liegen? wobei es nicht zu groß ist siehe die Ausgabe von "avr-size"... Habe ich mein STK500 zerschossen?? hir mal die ausgaben: /projects/dcf77/src$ avr-size --mcu=atmega8 -C main.hex AVR Memory Usage ---------------- Device: atmega8 Program: 0 bytes (0.0% Full) (.text + .data + .bootloader) Data: 0 bytes (0.0% Full) (.data + .bss + .noinit) ##################### Jetzt der Flashvorgang ############# avrdude -p atmega8 -P /dev/ttyS0 -c stk500v2 -U flash:w:main.hex avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.09s 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 "main.hex" avrdude: input file main.hex auto detected as Intel Hex avrdude: writing flash (1972 bytes): Writing | ################################################## | 100% 56.72s avrdude: 1972 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 1972 bytes avrdude: reading on-chip flash data: Reading | | 0% 0.00savrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout Reading | ###### | 12% 12.12savrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout Reading | ############# | 25% 24.23savrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout Reading | ################### | 38% 36.35savrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout Reading | ########################## | 51% 48.47savrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout Reading | ################################ | 64% 60.59savrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout Reading | ####################################### | 77% 72.71savrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout Reading | ############################################# | 90% 84.83savrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout Reading | ################################################## | 100% 94.83s avrdude: verifying ... avrdude: verification error, first mismatch at byte 0x0054 0x31 != 0x40 avrdude: verification error; content mismatch avrdude: safemode: Fuses OK avrdude done. Thank you. make: *** [program] Fehler 1 grüße Khan