Hallo Osser,
ich habe eine neues (und altes) Problem.
Weiter oben in Thread wurde schon einmal die Fehlermeldung ExitCode 259 angesprochen.
Diese Fehlermeldung habe ich gelegentlich ebenfalls beim Compilieren erhalten. Meine Lösung bestand bislang darin, den Compiliervorgang ein zweites Mal durchzuführen, meist mit Erfolg.
Jetzt häufen sich diese Meldungen und ich habe das mal ein wenig näher unter die Lupe genommen.
AF meldet:
Remote process time out elapsed!
ExitCode 259
... und beendet scheinbar den Compiliervorgang.
Im Hintergrung arbeitet der Compiler aber fleißig weiter und erzeugt eine korrekte .hex-Datei. Diese lässt sich dann auch flashen. In einem Dateimanager kann man den laufenden Compiliervorgang beobachten obwohl AF schon längst eine Fehlermeldung ausgegeben hat.
Der ExitCode 259 steht für "No more data availible".
Meine Vermutung:
AF wartet auf Daten vom Compiler und verliert ziemlich schnell die Geduld, weil irgendeine TimeOut-Variable im Programm zu knapp bemessen ist.
Kann das sein???
Analoges passiert beim Löschen überflüssiger Dateien.
Gruß Ulli
P.S.
Hier ist noch einmal die vollständige Fehlermeldung:
Code:Asuro Flash (Alias Eierlegendewollmilchsau) V1.7.10.99 (c) O.O. Müller 2009 User has admin rights. Processor branding Intel(R) Pentium(R) M processor 1300MHz, OS WINXP Hello Administrator on 2723-2FG, have fun :) Selected flash driver is RS232 Programmer >Session Environment Variables: AF_AVRDIR=%AF_PRGDIR%\Compiler AF_PROJECT=Project1 AF_SOURCE_FILES= AF_ASM_SRC_FILES= AF_PRGDIR=F:\Programme\Asuro\WinAVR AF_PRJDIR=F:\Programme\Asuro\WinAVR >Ready. >Session Environment Variables: AF_AVRDIR=F:\Programme\Asuro\WinAVR\Compiler AF_PROJECT=Project1 AF_SOURCE_FILES=new.c wfl.c AF_ASM_SRC_FILES= AF_PRGDIR=F:\Programme\Asuro\WinAVR AF_PRJDIR=C:\test File new.c saved. File wfl.c saved. File wfl.h saved. >Default make_all.cmd file created. >Default makefile created. Make set -e; avr-gcc -MM -mmcu=attiny2313 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=wfl.lst -IF:\Programme\Asuro\WinAVR\include wfl.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > wfl.d; \ [ -s wfl.d ] || rm -f wfl.d set -e; avr-gcc -MM -mmcu=attiny2313 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=new.lst -IF:\Programme\Asuro\WinAVR\include new.c \ | sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > new.d; \ [ -s new.d ] || rm -f new.d -------- begin -------- avr-gcc --version avr-gcc (WinAVR 20081205) 4.3.2 Copyright (C) 2008 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. Size before: Project1.elf : section size addr .text 424 0 .debug_aranges 64 0 .debug_pubnames 158 0 .debug_info 1157 0 .debug_abbrev 403 0 .debug_line 859 0 .debug_frame 224 0 .debug_str 237 0 .debug_loc 192 0 Total 3718 avr-gcc -c -mmcu=attiny2313 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=new.lst -IF:\Programme\Asuro\WinAVR\include new.c -o new.o Remote process time out elapsed! C:\test>F:\Programme\Asuro\WinAVR\Compiler\utils\bin\make.exe all ExitCode 259 >Ready. Starting extern flasher avrdude.exe: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.00s avrdude.exe: Device signature = 0x1e910a avrdude.exe: erasing chip avrdude.exe: reading input file "F:\Eigene Dateien\Eigene Programme\C++\Würfel\Würfel 1\Project1.hex" avrdude.exe: input file F:\Eigene Dateien\Eigene Programme\C++\Würfel\Würfel 1\Project1.hex auto detected as Intel Hex avrdude.exe: writing flash (424 bytes): Writing | ################################################## | 100% 1.03s avrdude.exe: 424 bytes of flash written avrdude.exe: verifying flash memory against F:\Eigene Dateien\Eigene Programme\C++\Würfel\Würfel 1\Project1.hex: avrdude.exe: load data flash data from input file F:\Eigene Dateien\Eigene Programme\C++\Würfel\Würfel 1\Project1.hex: avrdude.exe: input file F:\Eigene Dateien\Eigene Programme\C++\Würfel\Würfel 1\Project1.hex auto detected as Intel Hex avrdude.exe: input file F:\Eigene Dateien\Eigene Programme\C++\Würfel\Würfel 1\Project1.hex contains 424 bytes avrdude.exe: readinExitCode 0Code:g on-chip flash data: Reading | ################################################## | 100% 0.98s avrdude.exe: verifying ... avrdude.exe: 424 bytes of flash verified avrdude.exe done. Thank you.







Zitieren

Lesezeichen