Forum: Mikrocontroller und Digitale Elektronik Buildproblem nach Konvertierung von AVR Studio 4 zu 6


von MoD (Gast)


Lesenswert?

Hallo,

vorweg: Bin blutiger Anfänger.

Wollte ein Projekt von nem µC Buch (liegt wahrscheinlich als Studio 4 
Version vor) ins Studio 6 importieren, dort neu builden bzw. ein Hex 
File erzeugen,
um dieses mit Ponyprog zu flashen.

Soweit hat das importieren ja funktioniert nur beim builden (F5) kommt 
folgende Meldung:


Error  1  The specified task executable location 
"C:\WinAVR-20080512\utils\bin\make.exe" is invalid. 
C:\Programme\Atmel\Atmel Studio 6.0\Vs\Compiler.targets  5  5  Blink_LED

Ist da irgendein Pfad falsch oder was ist da los und wie beheb ich das?

Viele Grüße

von MoD (Gast)


Lesenswert?

Die make.exe ist bei mir auch woanders:
C:\Programme\Atmel\Atmel Studio 6.0\make
Anbei die Details zur Output Ausgabe "Build" und "General":


------ Rebuild All started: Project: Blink_LED, Configuration: default 
AVR ------
Build started.
Project "Blink_LED.cproj" (ReBuild target(s)):
Target "PreBuildEvent" skipped, due to false condition; 
('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "CoreRebuild" in file "C:\Programme\Atmel\Atmel Studio 
6.0\Vs\Compiler.targets" from project "E:\Konvertierte AVRStudio 
Projekte vom Buch\Blink_LED\Blink_LED\Blink_LED.cproj" (target "ReBuild" 
depends on it):
  Task "RunCompilerTask"
C:\Programme\Atmel\Atmel Studio 6.0\Vs\Compiler.targets(23,5): MSB6004: 
The specified task executable location 
"C:\WinAVR-20080512\utils\bin\make.exe" is invalid.
  Done executing task "RunCompilerTask" -- FAILED.
Done building target "CoreRebuild" in project "Blink_LED.cproj" -- 
FAILED.
Done building project "Blink_LED.cproj" -- FAILED.

Build FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========


11:23:47: [WARNING] Skipped reading Build Dependency settings from 
source project. It is either invalid or not provided., ModuleName: 
ProjectImporter.Core
11:23:51: [WARNING] Skipped reading Pre/Post build event settings from 
source project. It is either invalid or not provided., ModuleName: 
ProjectImporter.Core
11:24:23: [WARNING] The device [attiny13] is not supported in ASF 
Version [] that is used in the project Blink_LED
11:24:23: [WARNING] Include Path not found : include
11:24:23: [WARNING] Include Path not found : include-fixed
11:24:23: [WARNING] Include Path not found : 
C:\WinAVR-20080512\avr\include
11:24:23: [WARNING] Include Path not found : include
11:24:23: [WARNING] Include Path not found : include-fixed
11:24:23: [WARNING] Include Path not found : 
C:\WinAVR-20080512\avr\include
11:24:23: [WARNING] Include Path not found : include
11:24:23: [WARNING] Include Path not found : include-fixed
11:24:23: [WARNING] Include Path not found : 
C:\WinAVR-20080512\avr\include
11:24:23: [WARNING] Include Path not found : include
11:24:23: [WARNING] Include Path not found : include-fixed
11:24:23: [WARNING] Include Path not found : 
C:\WinAVR-20080512\avr\include
11:24:23: [WARNING] Include file not found : 
C:\WinAVR-20080512\avr\include\avr\iotn13.h
11:25:39: [WARNING] Include Path not found : include
11:25:40: [WARNING] Include Path not found : include-fixed
11:25:40: [WARNING] Include Path not found : 
C:\WinAVR-20080512\avr\include
11:25:40: [ERROR] Failed to Retrieve the Version Information for the 
utilty C:\WinAVR-20080512\bin\avr-gcc.exe with arguments --version
11:25:40: [ERROR] Failed to Retrieve the Version Information for the 
utilty C:\WinAVR-20080512\bin\avr-gcc.exe with arguments --version
11:25:40: [ERROR] Failed to Retrieve the Version Information for the 
utilty C:\WinAVR-20080512\bin\avr-ar.exe with arguments --version
11:25:40: [ERROR] Failed to Retrieve the Version Information for the 
utilty C:\WinAVR-20080512\bin\avr-gcc.exe with arguments --version
11:29:45: [WARNING] Include Path not found : include
11:29:45: [WARNING] Include Path not found : include-fixed
11:29:45: [WARNING] Include Path not found : 
C:\WinAVR-20080512\avr\include
11:29:45: [WARNING] Include Path not found : include
11:29:45: [WARNING] Include Path not found : include-fixed
11:29:45: [WARNING] Include Path not found : 
C:\WinAVR-20080512\avr\include
11:29:45: [WARNING] Include Path not found : include
11:29:45: [WARNING] Include Path not found : include-fixed
11:29:45: [WARNING] Include Path not found : 
C:\WinAVR-20080512\avr\include
11:29:45: [WARNING] Include Path not found : include
11:29:45: [WARNING] Include Path not found : include-fixed
11:29:45: [WARNING] Include Path not found : 
C:\WinAVR-20080512\avr\include
11:29:46: [WARNING] Include file not found : 
C:\WinAVR-20080512\avr\include\avr\iotn13.h
11:49:03: [WARNING] Include Path not found : include
11:49:03: [WARNING] Include Path not found : include-fixed
11:49:03: [WARNING] Include Path not found : 
C:\WinAVR-20080512\avr\include
11:49:03: [ERROR] Failed to Retrieve the Version Information for the 
utilty C:\WinAVR-20080512\bin\avr-gcc.exe with arguments --version
11:49:03: [ERROR] Failed to Retrieve the Version Information for the 
utilty C:\WinAVR-20080512\bin\avr-gcc.exe with arguments --version
11:49:03: [ERROR] Failed to Retrieve the Version Information for the 
utilty C:\WinAVR-20080512\bin\avr-ar.exe with arguments --version
11:49:03: [ERROR] Failed to Retrieve the Version Information for the 
utilty C:\WinAVR-20080512\bin\avr-gcc.exe with arguments --version

von René B. (reneb)


Lesenswert?

Mit AVR Studio 5 und 6 hat sich einiges am Compiler geändert. In V4 lief 
alles noch über WinAVR. Besorg dir das letzte Studio 4 (4.19?). Hier im 
Forum sind viele solche Probleme bekannt. Bleib lieber bei Studio 4 und 
wenn du die zurechtfindest, solltest du sowieso zur Entwicklung auf 
eClipse umsteigen. Bessere Umgebung, selber Compiler (WinAVR).

von MoD (Gast)


Lesenswert?

Dachte mir wenn ich mich ins Studio einarbeite dann ins aktuelle.
Es muss doch möglich sein Studio 4 Projekte in Studio 6 zum laufen zu 
bringen.

von Klaus (Gast)


Lesenswert?

Scjon mal mit Import versucht?

von MoD (Gast)


Lesenswert?

Jop, das meinte ich mit importieren war erfolgreich.

Hab jetzt ein neues Projekt erstellt und den C-Code aus der Buchdatei 
dann hineinkopiert. Das geht. Interessanterweise sieht die Hexdatei 
anders aus als die alte originale von der Buch-CD - wenngleich beide 
Programme gleich lang sind.

Schön wäre jetzt nur noch eine funktionierende "Import" Funktion, ohne 
jedesmal ein neues Projekt anlegen zu müssen.

von MoD (Gast)


Lesenswert?

Andere Sache wäre noch:

Wenn ich einen Debug Run mache und den Simulator als Target device
auswähle, warum kann ich dann nicht unter output view den Ausgang 
"blinken" sehen?

von MoD (Gast)


Lesenswert?

Hm, gibts keinen Studio 6 Benutzer der das weiß??

von Johann L. (gjlayde) Benutzerseite


Lesenswert?

René B. schrieb:

> Mit AVR Studio 5 und 6 hat sich einiges am Compiler geändert.

Die obigen Probleme habe nix, und zwar garnix, mit dem Compiler 
(avr-gcc) zu tun. So weit kommt der Build-Prozess überhapt nicht.

Die Probleme liegen in AS5/AS6, der Installation der Tools, der 
Hilfsprogramme, der Umgebungsvariablen und/oder in den Makefiles.

von René B. (reneb)


Lesenswert?

Hast Recht, nicht der Compiler sondern Aufrufstruktur und Anbindung der 
Toolchain macht Ärger.

von STK500-Besitzer (Gast)


Lesenswert?

Moin,
ich bin auch mit einem neuen System auf AVRStudio 6 umgesteigen und 
suche jetzt eine Möglichkeit,den alten Make.exe-Eintrag zu erneuern.
Wo könnte man nähere Informationen dazu finden?
Wirklich brauchbare Informationen hat google nicht ausgespuckt 
(vielleicht habe ich auch nach den falschen Wörten suchen lassen).

Vielen Dank im Vorraus

von Entwickler (Gast)



Lesenswert?

Tach,

da ich selbst nach meiner letzten Konvertierung mal wieder vergessen 
habe, wie das Problem zu lösen ist, schreibe ich mir wahrscheinlich hier 
selbst ein Memo. Außerdem bin ich nicht der Meinung, daß Netz müßte vor 
redundanten Infos sicher gemacht werden (und in Datenblättern steht das 
auch nicht!)

Zur Sache: Konvertiere ich AtmelStudio 4 auf 6, klappt das eigentlich 
bei mir rebungslos und ohne es zu verstehen muß noch Toolchain Flavour 
auf NATIV gesetzt werden. sonst kramt er sich den alten Pfad wieder raus 
und verursacht o.g. Problem. Bilder sprechen bessere Worte....

Bestens

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.