Hallo,
ich habe vor Kurzem mit dem Programmieren von AVRs (ATmega8) angefangen
und wollte wie im AVR-GCC-Tutorial beschrieben das
Einführungsbeispiel-Programm compilieren.
Ich arbeite mit WinAVR und bekomme folgenden Fehler:
1 | > "make.exe" all
|
2 |
|
3 | -------- begin --------
|
4 | avr-gcc (WinAVR 20090313) 4.3.2
|
5 | Copyright (C) 2008 Free Software Foundation, Inc.
|
6 | This is free software; see the source for copying conditions. There is NO
|
7 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
8 |
|
9 |
|
10 | Compiling C: testprogramm.c
|
11 | avr-gcc -c -mmcu=atmega8 -I. -gdwarf-2 -DF_CPU=16000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=./testprogramm.lst -std=gnu99 -MMD -MP -MF .dep/testprogramm.o.d testprogramm.c -o testprogramm.o
|
12 |
|
13 | This application has requested the Runtime to terminate it in an unusual way.
|
14 | Please contact the application's support team for more information.
|
15 | make.exe: *** [testprogramm.o] Error 3
|
16 |
|
17 | > Process Exit Code: 2
|
18 | > Time Taken: 00:02
|
Ich habe schon alles mögliche ausprobiert, habe aber immer
Fehlermeldunge bekommen und es wurde nie eine *.hex-Datei erstellt.
Zu meinem Fehler konnte ich leider im Internet keine passende Hilfe
finden.
Die erstellte Makefile habe ich angehängt.
Wie kann ich den Fehler beheben bzw. wie bekomme ich die *.hex-Datei, um
diese auf den Mikrocontroller zu übertragen?
Für die Antworten danke ich im Voraus.
Viele Grüße,
Tobi