Willkommen! Anmelden Ein neues Profil erzeugen

Erweiterte Suche

TEACUP upload auf ATmega644 GEN7

geschrieben von Marcus G. 
TEACUP upload auf ATmega644 GEN7
12. November 2011 16:44
Hallo Forum,
bin schon länger fleißig am mitlesen und habe die HW meiner Prusa soweit fertig.
Gen 7 ist auch vertig gelötet und die Test SW funzt auch.

Nur wenn ich nun die Teacup aufspielen will kommt folgende Fehlermeldung (Teacup pack/branch ist von der Gen7 Wiki-Seite und die config.h ist die umbenannte config.gen7.h):

Danke schonmal für Eure Tips


In file included from /analog.h:15,
from analog.c:1:
config.h:3: error: expected identifier or '(' before '<' token
config.h:121: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
In file included from /analog.h:15,
from analog.c:1:
/config.h:272:131: error: invalid suffix "a27d21" on integer constant
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
/config.h:835:2961: error: invalid suffix "P" on integer constant
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:869: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
config.h:910: error: expected identifier or '(' before numeric constant
config.h:911: error: stray '#' in program
config.h:911: error: stray '#' in program
config.h:919: error: expected identifier or '(' before '<' token
config.h:924: error: stray '#' in program
config.h:1079: error: stray '\342' in program
config.h:1079: error: stray '\206' in program
config.h:1079: error: stray '\220' in program
config.h:1083: error: stray '\342' in program
config.h:1083: error: stray '\206' in program
config.h:1083: error: stray '\222' in program
config.h:1087: error: stray '\342' in program
config.h:1087: error: stray '\206' in program
config.h:1087: error: stray '\221' in program
config.h:1091: error: stray '\342' in program
config.h:1091: error: stray '\206' in program
config.h:1091: error: stray '\223' in program
config.h:1101: error: stray '\342' in program
config.h:1101: error: stray '\206' in program
config.h:1101: error: stray '\220' in program
config.h:1105: error: stray '\342' in program
config.h:1105: error: stray '\206' in program
config.h:1105: error: stray '\222' in program
config.h:1109: error: stray '\342' in program
config.h:1109: error: stray '\206' in program
config.h:1109: error: stray '\221' in program
config.h:1113: error: stray '\342' in program
config.h:1113: error: stray '\206' in program
config.h:1113: error: stray '\223' in program
/config.h:1157:3: error: invalid preprocessing directive #This
config.h:1157: error: stray '##' in program
config.h:1157: error: expected '=', ',', ';', 'asm' or '__attribute__' before '&' token
config.h:1158: error: stray '##' in program
config.h:1158: error: stray '##' in program
config.h:1158: error: stray '##' in program
config.h:1158: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'This'
config.h:1158: error: expected '=', ',', ';', 'asm' or '__attribute__' before '&' token
config.h:1158: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
/config.h:1176:10: error: invalid suffix "a" on integer constant
/config.h:1177:10: error: invalid suffix "b" on integer constant
/config.h:1183:11: error: invalid suffix "a" on integer constant
/config.h:1184:11: error: invalid suffix "b" on integer constant
config.h:1199: error: missing terminating ' character
config.h:1210: error: stray '`' in program
config.h:1210: error: stray '`' in program
config.h:1210: error: stray '`' in program
config.h:1213: error: stray '$' in program
config.h:1216: error: stray '`' in program
config.h:1216: error: stray '`' in program
config.h:1216: error: stray '`' in program
config.h:1216: error: expected identifier or '(' before '<' token
config.h:1232: error: stray '`' in program
config.h:1232: error: expected '=', ',', ';', 'asm' or '__attribute__' before '&' token
config.h:1232: error: stray '`' in program
config.h:1232: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'here'
In file included from analog.c:1:
/analog.h:25:2: error: #error REFERENCE undefined
In file included from /temp.h:4,
from analog.c:7:
config.h:3: error: expected identifier or '(' before '<' token
config.h:121: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
In file included from /temp.h:4,
from analog.c:7:
/config.h:272:131: error: invalid suffix "a27d21" on integer constant
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
/config.h:835:2961: error: invalid suffix "P" on integer constant
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:869: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
config.h:910: error: expected identifier or '(' before numeric constant
config.h:911: error: stray '#' in program
config.h:911: error: stray '#' in program
config.h:919: error: expected identifier or '(' before '<' token
config.h:924: error: stray '#' in program
config.h:1079: error: stray '\342' in program
config.h:1079: error: stray '\206' in program
config.h:1079: error: stray '\220' in program
config.h:1083: error: stray '\342' in program
config.h:1083: error: stray '\206' in program
config.h:1083: error: stray '\222' in program
config.h:1087: error: stray '\342' in program
config.h:1087: error: stray '\206' in program
config.h:1087: error: stray '\221' in program
config.h:1091: error: stray '\342' in program
config.h:1091: error: stray '\206' in program
config.h:1091: error: stray '\223' in program
config.h:1101: error: stray '\342' in program
config.h:1101: error: stray '\206' in program
config.h:1101: error: stray '\220' in program
config.h:1105: error: stray '\342' in program
config.h:1105: error: stray '\206' in program
config.h:1105: error: stray '\222' in program
config.h:1109: error: stray '\342' in program
config.h:1109: error: stray '\206' in program
config.h:1109: error: stray '\221' in program
config.h:1113: error: stray '\342' in program
config.h:1113: error: stray '\206' in program
config.h:1113: error: stray '\223' in program
/config.h:1157:3: error: invalid preprocessing directive #This
config.h:1157: error: stray '##' in program
config.h:1157: error: expected '=', ',', ';', 'asm' or '__attribute__' before '&' token
config.h:1158: error: stray '##' in program
config.h:1158: error: stray '##' in program
config.h:1158: error: stray '##' in program
config.h:1158: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'This'
config.h:1158: error: expected '=', ',', ';', 'asm' or '__attribute__' before '&' token
config.h:1158: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
/config.h:1176:10: error: invalid suffix "a" on integer constant
/config.h:1177:10: error: invalid suffix "b" on integer constant
/config.h:1183:11: error: invalid suffix "a" on integer constant
/config.h:1184:11: error: invalid suffix "b" on integer constant
config.h:1199: error: missing terminating ' character
config.h:1210: error: stray '`' in program
config.h:1210: error: stray '`' in program
config.h:1210: error: stray '`' in program
config.h:1213: error: stray '$' in program
config.h:1216: error: stray '`' in program
config.h:1216: error: stray '`' in program
config.h:1216: error: stray '`' in program
config.h:1216: error: expected identifier or '(' before '<' token
config.h:1232: error: stray '`' in program
config.h:1232: error: expected '=', ',', ';', 'asm' or '__attribute__' before '&' token
config.h:1232: error: stray '`' in program
config.h:1232: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'here'
In file included from /temp.h:18,
from analog.c:7:
/config.h:272:131: error: invalid suffix "a27d21" on integer constant
In file included from /temp.h:18,
from analog.c:7:
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
/config.h:835:2961: error: invalid suffix "P" on integer constant
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:911: error: stray '#' in program
config.h:911: error: stray '#' in program
config.h:924: error: stray '#' in program
config.h:1079: error: stray '\342' in program
config.h:1079: error: stray '\206' in program
config.h:1079: error: stray '\220' in program
config.h:1083: error: stray '\342' in program
config.h:1083: error: stray '\206' in program
config.h:1083: error: stray '\222' in program
config.h:1087: error: stray '\342' in program
config.h:1087: error: stray '\206' in program
config.h:1087: error: stray '\221' in program
config.h:1091: error: stray '\342' in program
config.h:1091: error: stray '\206' in program
config.h:1091: error: stray '\223' in program
config.h:1101: error: stray '\342' in program
config.h:1101: error: stray '\206' in program
config.h:1101: error: stray '\220' in program
config.h:1105: error: stray '\342' in program
config.h:1105: error: stray '\206' in program
config.h:1105: error: stray '\222' in program
config.h:1109: error: stray '\342' in program
config.h:1109: error: stray '\206' in program
config.h:1109: error: stray '\221' in program
config.h:1113: error: stray '\342' in program
config.h:1113: error: stray '\206' in program
config.h:1113: error: stray '\223' in program
/config.h:1157:3: error: invalid preprocessing directive #This
config.h:1157: error: stray '##' in program
config.h:1158: error: stray '##' in program
config.h:1158: error: stray '##' in program
config.h:1158: error: stray '##' in program
/config.h:1176:10: error: invalid suffix "a" on integer constant
/config.h:1177:10: error: invalid suffix "b" on integer constant
/config.h:1183:11: error: invalid suffix "a" on integer constant
/config.h:1184:11: error: invalid suffix "b" on integer constant
config.h:1199: error: missing terminating ' character
config.h:1210: error: stray '`' in program
config.h:1210: error: stray '`' in program
config.h:1210: error: stray '`' in program
config.h:1213: error: stray '$' in program
config.h:1216: error: stray '`' in program
config.h:1216: error: stray '`' in program
config.h:1216: error: stray '`' in program
config.h:1232: error: stray '`' in program
config.h:1232: error: stray '`' in program
In file included from analog.c:7:
temp.h:41: error: expected ')' before 'index'
temp.h:42: error: expected ')' before 'index'
temp.h:46: error: expected ')' before 'index'
In file included from analog.c:22:
config.h:3: error: 'DOCTYPE' undeclared here (not in a function)
config.h:3: error: expected ',' or ';' before 'html'
config.h:121: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
In file included from analog.c:22:
/config.h:272:131: error: invalid suffix "a27d21" on integer constant
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
/config.h:835:2961: error: invalid suffix "P" on integer constant
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:834: error: stray '#' in program
config.h:869: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
config.h:910: error: expected identifier or '(' before numeric constant
config.h:911: error: stray '#' in program
config.h:911: error: stray '#' in program
config.h:919: error: expected identifier or '(' before '<' token
config.h:924: error: stray '#' in program
config.h:1079: error: stray '\342' in program
config.h:1079: error: stray '\206' in program
config.h:1079: error: stray '\220' in program
config.h:1083: error: stray '\342' in program
config.h:1083: error: stray '\206' in program
config.h:1083: error: stray '\222' in program
config.h:1087: error: stray '\342' in program
config.h:1087: error: stray '\206' in program
config.h:1087: error: stray '\221' in program
config.h:1091: error: stray '\342' in program
config.h:1091: error: stray '\206' in program
config.h:1091: error: stray '\223' in program
config.h:1101: error: stray '\342' in program
config.h:1101: error: stray '\206' in program
config.h:1101: error: stray '\220' in program
config.h:1105: error: stray '\342' in program
config.h:1105: error: stray '\206' in program
config.h:1105: error: stray '\222' in program
config.h:1109: error: stray '\342' in program
config.h:1109: error: stray '\206' in program
config.h:1109: error: stray '\221' in program
config.h:1113: error: stray '\342' in program
config.h:1113: error: stray '\206' in program
config.h:1113: error: stray '\223' in program
/config.h:1157:3: error: invalid preprocessing directive #This
config.h:1157: error: stray '##' in program
config.h:1157: error: expected '=', ',', ';', 'asm' or '__attribute__' before '&' token
config.h:1158: error: stray '##' in program
config.h:1158: error: stray '##' in program
config.h:1158: error: stray '##' in program
config.h:1158: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'This'
config.h:1158: error: expected '=', ',', ';', 'asm' or '__attribute__' before '&' token
config.h:1158: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
/config.h:1176:10: error: invalid suffix "a" on integer constant
/config.h:1177:10: error: invalid suffix "b" on integer constant
/config.h:1183:11: error: invalid suffix "a" on integer constant
/config.h:1184:11: error: invalid suffix "b" on integer constant
config.h:1199: error: missing terminating ' character
config.h:1210: error: stray '`' in program
config.h:1210: error: stray '`' in program
config.h:1210: error: stray '`' in program
config.h:1213: error: stray '$' in program
config.h:1216: error: stray '`' in program
config.h:1216: error: stray '`' in program
config.h:1216: error: stray '`' in program
config.h:1216: error: expected identifier or '(' before '<' token
config.h:1232: error: stray '`' in program
config.h:1232: error: expected '=', ',', ';', 'asm' or '__attribute__' before '&' token
config.h:1232: error: stray '`' in program
config.h:1232: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'here'
analog.c: In function 'analog_init':
analog.c:49: error: 'REFERENCE' undeclared (first use in this function)
analog.c:49: error: (Each undeclared identifier is reported only once
analog.c:49: error: for each function it appears in.)
analog.c:60: error: 'AIO0_DDR' undeclared (first use in this function)
analog.c: In function '__vector_24':
analog.c:93: error: 'REFERENCE' undeclared (first use in this function)
Re: TEACUP upload auf ATmega644 GEN7
12. November 2011 17:57
Naja, die ersten zehn Zeilen hätten auch gereicht. smiling smiley

Ganz offensichtlich sind die Dateien auf dem Weg zu Deiner Festplatte durcheinander gebracht worden. Das war neulich auch wo anders der Fall. Möglicherweise ein Entpack-Programm, das irgend etwas "in Ordnung" bringen will.

Einfach mal den Inhalt von ein paar Dateien mit dem hier vergleichen: [github.com] Die Webseite von Github stellt das richtig dar und im Editor der Arduino IDE sollte das genauso aussehen.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: TEACUP upload auf ATmega644 GEN7
12. November 2011 18:13
Wollte nur sicher stellen, dass auch alle Daten enthalten sind wenn jemand rein schaut.
Nicht das ich Stückchen für Stücken die infos poste ;-)

Danke schonmal, also einfach nochmals die/den Teacup runter laden und ausprobieren.

Gruß Marcus
Re: TEACUP upload auf ATmega644 GEN7
12. November 2011 18:15
Das heisst, offensichtlich ist das Problem ja nur mit der Datei config.h. Mit welchem Texteditor hast Du die denn editiert?

Weisst Du, so Programmierer können sich manchmal nicht vorstellen, dass es Leute gibt, die das mit Word zu machen versuchen. Von den bei Windows mitgelieferten Programmen ist Wordpad das beste für solche Zwecke.

Deswegen sollte vermutlich auch die "Simple Installation"-Anleitung geändert werden. Editieren in der Arduino IDE ist noch sicherer. Doch dann wieder: die Arduino IDE macht keinen Zeilenumbruch, also sind all die nützlichen Kommentare in einer einzigen ewig langen Zeile.

Muss mich wohl die Tage mal hinsetzen und die Kommentare alle umbrechen, dass das auch in der IDE gut aussieht. Sind ja nur rund 500 Kommentare auf 10 Dateien verteilt smiling smiley


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: TEACUP upload auf ATmega644 GEN7
12. November 2011 18:34
Also geändert habe ich bis dato noch NIX.

Wollte nur schaun ob ich die Teacup auf den ATmega bekomme.

Angeschaut habe ich mir den config.h im Wordpad und im Arduino IDE, da ist auch der cutout der Fehlerbeschreibung her.

analog.c und temp.h ist auch dazwischen.
In diesem Forum dürfen leider nur registrierte Teilnehmer schreiben.

Klicke hier, um Dich einzuloggen