Hallo
habe noch einige Fragen beim Compelieren?
Hier ist meine nach makeall erstellte Meldung:
Warum erscheint diese Meldung:Code:Session Environment Variables: AF_AVRDIR=C:\WinAVR-20071221 AF_PROJECT=GoTurnTest AF_SOURCE_FILES=GoTurnTest\GoTurnTest.c AF_ASM_SRC_FILES= AF_PRGDIR=C:\Programme\AsuroFlash2 File GoTurnTest.c saved. Default make_all.cmd file created. Default makefile created. Make C:\Programme\AsuroFlash2>C:\WinAVR-20071221\utils\bin\make.exe all set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=C:\ASURO271\Asuro_libv271\lib/asuro.lst -IC:\Programme\AsuroFlash2\include -IC:\ASURO271\Asuro_libv271\lib\inc C:\ASURO271\Asuro_libv271\lib/asuro.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > asuro.d; \ [ -s asuro.d ] || rm -f asuro.d avr-gcc.exe: C:ASURO271Asuro_libv271lib/asuro.c: No such file or directory avr-gcc.exe: no input files set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=GoTurnTest\GoTurnTest.lst -IC:\Programme\AsuroFlash2\include -IC:\ASURO271\Asuro_libv271\lib\inc GoTurnTest\GoTurnTest.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > GoTurnTest\GoTurnTest.d; \ [ -s GoTurnTest\GoTurnTest.d ] || rm -f GoTurnTest\GoTurnTest.d avr-gcc.exe: GoTurnTestGoTurnTest.c: No such file or directory avr-gcc.exe: no input files -------- begin -------- avr-gcc --version avr-gcc (GCC) 4.2.2 (WinAVR 20071221) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. avr-gcc -c -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=GoTurnTest\GoTurnTest.lst -IC:\Programme\AsuroFlash2\include -IC:\ASURO271\Asuro_libv271\lib\inc GoTurnTest\GoTurnTest.c -o GoTurnTest\GoTurnTest.o avr-gcc -c -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=C:\ASURO271\Asuro_libv271\lib/asuro.lst -IC:\Programme\AsuroFlash2\include -IC:\ASURO271\Asuro_libv271\lib\inc C:\ASURO271\Asuro_libv271\lib/asuro.c -o asuro.o avr-gcc -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=GoTurnTest\GoTurnTest.o -IC:\Programme\AsuroFlash2\include -IC:\ASURO271\Asuro_libv271\lib\inc GoTurnTest\GoTurnTest.o asuro.o --output GoTurnTest.elf -Wl,-Map=GoTurnTest.map,--cref -IC:\Programme\AsuroFlash2\lib -LC:\ASURO271\Asuro_libv271\lib -lm -lasuro avr-objcopy -O ihex -R .eeprom GoTurnTest.elf GoTurnTest.hex avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" \ --change-section-lma .eeprom=0 -O ihex GoTurnTest.elf GoTurnTest.eep c:\WinAVR-20071221\bin\avr-objcopy.exe: --change-section-lma .eeprom=0x00000000 never used avr-objdump -h -S GoTurnTest.elf > GoTurnTest.lss Size after: GoTurnTest.elf : section size addr .text 1360 0 .bss 18 8388704 .stab 888 0 .stabstr 95 0 .debug_aranges 224 0 .debug_pubnames 451 0 .debug_info 2056 0 .debug_abbrev 1212 0 .debug_line 1872 0 .debug_frame 400 0 .debug_str 644 0 .debug_loc 553 0 Total 9773 Errors: none -------- end -------- ExitCode 0 Ready. C:\Programme\AsuroFlash2\GoTurnTest.hex is set as default flash file. Use program button to flash it to hardware.
Ich habe einen Path C:ASURO271/Asuro_libv271lib/asuro.c:Code:avr-gcc.exe: C:ASURO271Asuro_libv271lib/asuro.c: No such file or directory avr-gcc.exe: no input files
aber die Meldung besagt das ein Verzeichnis ASURO271Asuro_libv271lib gesucht und nicht gefunden wurde? wo ist dieser "/" geblieben?
Das selbe passiertIch habe einen Path C:GoTurnTest/GoTurnTest.c:Code:avr-gcc.exe: GoTurnTestGoTurnTest.c: No such file or directory avr-gcc.exe: no input files
Wie kann ich die groeße des erstellten .hex erkennen?
ist das Total 9773?Code:Size after: GoTurnTest.elf : section size addr .text 1360 0 .bss 18 8388704 .stab 888 0 .stabstr 95 0 .debug_aranges 224 0 .debug_pubnames 451 0 .debug_info 2056 0 .debug_abbrev 1212 0 .debug_line 1872 0 .debug_frame 400 0 .debug_str 644 0 .debug_loc 553 0 Total 9773
Manchmal passiert folgendes:ohne das eine Page geflasht wurde wird mir gesagt Asuro fertig zum fahren.Code:Flashing file C:\Programme\AsuroFlash2\GoTurnTest.hex Open: COM4 Building RAM... Bulding RAM OK Start Page 0 End Page 21 will occupy 1360Bytes Try connecting ASURO -- Switch on ASURO now!..........OK ! Flashing Firmware ASURO ready to start
Die groeße des zu Flashenden .hex ist doch 1360 Bytes groß?
Gruß
Juelicher







Zitieren
Lesezeichen