Forum: Compiler & IDEs GGC: Problemme Test Projekt


von Tobiasth (Gast)


Lesenswert?

Hallo Leute, ich bin in Thema AVR ein Anfänger:
Ich habe mir zum Test, das AVR-GCC-TutorialProjekt, zu rade gezogen, und 
habe nur die Ports von B auf A umgeschrieben.

#include <avr/io.h>          // (1)
int main (void)
   {                        // (2)
   DDRA  = 0xff;             // (3)
   PORTA = 0x03;             // (4)
   while(1)
   {                      // (5a)
     /* "leere" Schleife*/;  // (5b)
   }                         // (5c)

   /* wird nie erreicht */
   return 0;                 // (6)
}
---------------------------------------------
Beim erstellen des Projektes bekomme ich folgende Fehlermeldung:

gcc plug-in: Could not insert Project data into Project tree
gcc plug-in: Error: Object file not found on expected location 
C:\Program Files (x86)\Stardock\Object 
Desktop\DeskScapes\Atmega8515\default\Atmega8515.elf
Loaded plugin AVR GCC
Loaded partfile: C:\Program Files (x86)\Atmel\AVR 
Tools\PartDescriptionFiles\ATmega8515.xml

gcc plug-in: Error: Object file not found on expected location 
C:\Users\Tobias\Documents\AVR\Atmega8515\test\default\test.elf
______________________________________________________________

Loaded plugin STK500
gcc plug-in: PlugInUtility::setupAndCheckWinAVR() Found avr-gcc at 
C:\Program Files (x86)\WinAVR-20070525\bin\avr-gcc.exe
gcc plug-in: PlugInUtility::setupAndCheckWinAVR() Found make at 
C:\Program Files (x86)\WinAVR-20070525\utils\bin\make.exe
gcc plug-in: PlugInUtility::setupAndCheckWinAVR() Found avr-gcc at 
C:\Program Files (x86)\WinAVR-20070525\bin\avr-gcc.exe
gcc plug-in: PlugInUtility::setupAndCheckWinAVR() Found make at 
C:\Program Files (x86)\WinAVR-20070525\utils\bin\make.exe
Loaded plugin AVR GCC
Loaded partfile: C:\Program Files (x86)\Atmel\AVR 
Tools\PartDescriptionFiles\ATmega8515.xml
Flash memory 8192
EEPROM memory 512
I/O memory start 0x20
I/O start 0x00
I/O stop 0x3F
SRAM size 512
SRAM start 0x60
XRAM size 65536
Temporary page buffer 64
SRAM start 0x260
gcc plug-in: CProjectTree::OnSize()
gcc plug-in: CProjectTree::OnSize()
gcc plug-in: CProjectTree::OnSize()
gcc plug-in: CProjectTree::updateControlDataFromProject() Could not find 
source file in Project datastructure
gcc plug-in: Could not insert Project data into Project tree
gcc plug-in: Error: Object file not found on expected location 
C:\Program Files (x86)\Stardock\Object 
Desktop\DeskScapes\Atmega8515\default\Atmega8515.elf
Loaded plugin AVR GCC
Loaded partfile: C:\Program Files (x86)\Atmel\AVR 
Tools\PartDescriptionFiles\ATmega8515.xml
Flash memory 8192
EEPROM memory 512
I/O memory start 0x20
I/O start 0x00
I/O stop 0x3F
SRAM size 512
SRAM start 0x60
XRAM size 65536
Temporary page buffer 64
SRAM start 0x260
gcc plug-in: CProjectTree::OnSize()
gcc plug-in: CProjectTree::OnSize()
gcc plug-in: CProjectTree::OnSize()
gcc plug-in: PlugInUtility::getExternalHeaderFiles Dependency directory 
does not exist
Loaded file: C:\Users\Tobias\Documents\AVR\Atmega8515\test\test.c
gcc plug-in: Output directory 
C:\Users\Tobias\Documents\AVR\Atmega8515\test\default\ does not exist
gcc plug-in: Created directory 
C:\Users\Tobias\Documents\AVR\Atmega8515\test\default\
gcc plug-in: make() Target successfully built
gcc plug-in: PlugInUtility::getExternalHeaderFiles Dependency directory 
does not exist
gcc plug-in: Error: Object file not found on expected location 
C:\Users\Tobias\Documents\AVR\Atmega8515\test\default\test.elf
gcc plug-in: PlugInUtility::getExternalHeaderFiles Dependency directory 
does not exist


Kann mir bitte jemand ein Tip geben was ich falsch mache.

Mit besten Dank im voraus Tobias

von let (Gast)


Angehängte Dateien:

Lesenswert?

Hmm, das sieht mir nach einer vermurksten Projektdatei aus.
Ich habe mal ein Projekt angehängt. Vielleicht geht das ja.
(Irgendwo entpacken und 'test.aps' doppelklicken. AVR-Studio
sollte dann von selbst starten. Dort dann F7 drücken und
sehen was passiert.)

von Tobiasth (Gast)


Lesenswert?

Hallo für deine Antwort , aber leider willd as nicht Funktionieren.

gcc plug-in: Error: Object file not found on expected location

Was hat es mit dem plug-in Error aufsich?

Mit besten Dank im vorraus Tobias



Loaded plugin STK500
gcc plug-in: PlugInUtility::setupAndCheckWinAVR() Found avr-gcc at 
C:\Program Files (x86)\Atmel\WinAVR-20070525\bin\avr-gcc.exe
gcc plug-in: PlugInUtility::setupAndCheckWinAVR() Found make at 
C:\Program Files (x86)\Atmel\WinAVR-20070525\utils\bin\make.exe
Loaded plugin AVR GCC
Loaded partfile: C:\Program Files (x86)\Atmel\AVR 
Tools\PartDescriptionFiles\
Flash memory
EEPROM memory
I/O memory start 0x20
I/O start
I/O stop
SRAM size
SRAM start
gcc plug-in: CProjectTree::OnSize()
gcc plug-in: CProjectTree::OnSize()
gcc plug-in: CProjectTree::OnSize()
gcc plug-in: Error: Object file not found on expected location 
C:\Users\Tobias\Downloads\Atmel\8515_test\m8515\test\default\test.elf

von let (Gast)


Lesenswert?

Diese Fehlermeldung habe ich noch nie gesehen. Aber ich habe
gehört das es beim AVR-Studio/WinAVR Probleme gibt wenn
Pfad- und/oder Dateinamen Leerzeichen enthalten. Soweit ich
weiß ist der Standardordner für WinAVR C:\WINAVR.

Vielleicht hilft es also wenn du WinAVR erst deinstallierst und
danach erneut installierst und als Ordner 'C:\WINAVR' angibst.
Bei mir liegt WinAVR jedenfalls dort (war glaube ich auch die Vorgabe).
Das AVR-Studio liegt unter C:\Programme\Atmel\ bzw. C:\Program 
Files\Atmel. Beim Studio scheint es also egal zu sein.

von Tobiasth (Gast)


Lesenswert?

Hallo let, du hast denn Nagel auf dem Kopf getroffen, neuer Pfad:
"C:\MCU\Atmel\AVR"


Danke an Euch allen :-)
Gruß Tobias

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.