Welcome! Log In Create A New Profile

Advanced

Gen3 Firmware

Posted by hammartin3 
Gen3 Firmware
February 21, 2011 03:34PM
Hallo!

Ich habe mit Stoffels Hilfe versucht die Firmware auf meinem MB 1.2 upzudaten.

Dies spuckt die Arduino Software aus:

In file included from FiveD_GCode_Interpreter.cpp:11:
/pins.h:128:2: error: #error Oops! Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.
In file included from FiveD_GCode_Interpreter.cpp:9:
/hostcom.h: In member function 'void hostcom::sendMessage(bool)':
hostcom.h:306: error: 'ACCELERATION' was not declared in this scope
In file included from FiveD_GCode_Interpreter.cpp:12:
/Temperature.h: In function 'void setupThermistors()':
Temperature.h:327: error: 'temptable' was not declared in this scope
Temperature.h:330: error: 'bedtemptable' was not declared in this scope
FiveD_GCode_Interpreter.cpp: In function 'void setup()':
FiveD_GCode_Interpreter:236: error: 'Serial1' was not declared in this scope
FiveD_GCode_Interpreter.cpp: In member function 'bool intercom::talk()':
intercom:55: error: 'Serial1' was not declared in this scope
FiveD_GCode_Interpreter.cpp: In member function 'void intercom::tick()':
intercom:176: error: 'Serial1' was not declared in this scope
intercom:209: error: 'Serial1' was not declared in this scope


Warum habe ich kein Sanguino in meinen Boards? Und woher krieg ich's ??

und was moppert der da noch?! Ich habe keine Dateien weggenommen, wo muss denn "Serial1" definiert werden?

Vielen Dank für Eure Hilfe





RepRap Newbie. 2x Gebrauchte Elektronik erstanden, Prusa Teile vom Wolfgang, Elektronik wehrt sich :-(
VDX
Re: Gen3 Firmware
February 21, 2011 03:41PM
... du mußt dir die Sanguino-Libraries in deine Arduino-IDE integrieren, damit du bei Boards den Sanguino anwählen kannst, was die Fehler beheben sollte.

Such durchs Forum oder in der Wiki - evtl. findest du die Sanguino-Libs auch in der Anleitung zum Makerbot ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: Gen3 Firmware
February 21, 2011 03:59PM
Juhu... Teilerfolg.


sanguino.name=Sanguino
sanguino.upload.protocol=stk500
sanguino.upload.maximum_size=63488
sanguino.upload.speed=38400
sanguino.bootloader.low_fuses=0xFF
sanguino.bootloader.high_fuses=0xDC
sanguino.bootloader.extended_fuses=0xFD
sanguino.bootloader.path=atmega644p
sanguino.bootloader.file=ATmegaBOOT_644.hex
sanguino.bootloader.unlock_bits=0x3F
sanguino.bootloader.lock_bits=0x0F
sanguino.build.mcu=atmega644
sanguino.build.f_cpu=16000000L
sanguino.build.core=sanguino
sanguino.verbose=false


in die Boards.txt eingefügt (hardware\arduino) nun kommt:

FiveD_GCode_Interpreter.cpp:3:28: error: HardwareSerial.h: No such file or directory
FiveD_GCode_Interpreter.cpp:5:22: error: WProgram.h: No such file or directory
In file included from FiveD_GCode_Interpreter.cpp:11:
/pins.h:128:2: error: #error Oops! Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.
In file included from FiveD_GCode_Interpreter.cpp:6:
/vectors.h: In function 'FloatPoint fabsv(const FloatPoint&)':
vectors.h:73: error: 'fabs' was not declared in this scope
/vectors.h: In function 'LongPoint absv(const LongPoint&)':
vectors.h:118: error: 'abs' was not declared in this scope
In file included from FiveD_GCode_Interpreter.cpp:7:
/features.h: At global scope:
features.h:222: error: 'byte' does not name a type
In file included from FiveD_GCode_Interpreter.cpp:9:
hostcom.h:84: error: 'byte' does not name a type
/hostcom.h: In member function 'void hostcom::putInit()':
hostcom.h:111: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::put(const char*)':
hostcom.h:112: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::put(const float&)':
hostcom.h:113: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::put(const long int&)':
hostcom.h:114: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::put(int)':
hostcom.h:115: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::put(double)':
hostcom.h:116: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::put()':
hostcom.h:117: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::putEnd()':
hostcom.h:118: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::putWs()':
hostcom.h:119: error: 'Serial' was not declared in this scope
/hostcom.h: At global scope:
hostcom.h:120: error: 'byte' does not name a type
/hostcom.h: In member function 'char hostcom::get()':
hostcom.h:121: error: 'Serial' was not declared in this scope
/hostcom.h: In member function 'void hostcom::sendMessage(bool)':
hostcom.h:306: error: 'ACCELERATION' was not declared in this scope
In file included from FiveD_GCode_Interpreter.cpp:10:
/intercom.h: At global scope:
intercom.h:109: error: 'byte' does not name a type
intercom.h:111: error: 'byte' does not name a type
In file included from FiveD_GCode_Interpreter.cpp:12:
/Temperature.h: In function 'void setupThermistors()':
Temperature.h:327: error: 'temptable' was not declared in this scope
Temperature.h:330: error: 'bedtemptable' was not declared in this scope
In file included from FiveD_GCode_Interpreter.cpp:15:
/extruder.h: At global scope:
extruder.h:12: error: variable or field 'newExtruder' declared void
extruder.h:12: error: 'byte' was not declared in this scope
extruder.h:171: error: 'byte' has not been declared
/extruder.h: In constructor 'extruder::extruder(char, float)':
extruder.h:209: error: 'OUTPUT' was not declared in this scope
extruder.h:209: error: 'pinMode' was not declared in this scope
extruder.h:211: error: 'digitalWrite' was not declared in this scope
/extruder.h: In member function 'void extruder::buildNumberCommand(char, int)':
extruder.h:234: error: 'itoa' was not declared in this scope
/extruder.h: In member function 'void extruder::valveSet(bool, int)':
extruder.h:248: error: 'delay' was not declared in this scope
/extruder.h: At global scope:
extruder.h:251: error: variable or field 'setCooler' declared void
extruder.h:251: error: 'byte' was not declared in this scope
/extruder.h: In member function 'int extruder::getTemperature()':
extruder.h:273: error: 'atoi' was not declared in this scope
/extruder.h: In member function 'int extruder::getBedTemperature()':
extruder.h:287: error: 'atoi' was not declared in this scope
/extruder.h: In member function 'void extruder::setDirection(bool)':
extruder.h:303: error: 'digitalWrite' was not declared in this scope
extruder.h:305: error: 'digitalWrite' was not declared in this scope
/extruder.h: In member function 'void extruder::sStep()':
extruder.h:315: error: 'digitalWrite' was not declared in this scope
extruder.h:317: error: 'digitalWrite' was not declared in this scope
/extruder.h: In member function 'int extruder::potVoltage()':
extruder.h:346: error: 'atoi' was not declared in this scope
/extruder.h: At global scope:
extruder.h:514: error: 'byte' does not name a type
In file included from FiveD_GCode_Interpreter.cpp:16:
/cartesian_dda.h: In member function 'void cartesian_dda::do_x_step()':
cartesian_dda.h:151: error: 'HIGH' was not declared in this scope
cartesian_dda.h:151: error: 'digitalWrite' was not declared in this scope
cartesian_dda.h:152: error: 'LOW' was not declared in this scope
/cartesian_dda.h: In member function 'void cartesian_dda::do_y_step()':
cartesian_dda.h:157: error: 'HIGH' was not declared in this scope
cartesian_dda.h:157: error: 'digitalWrite' was not declared in this scope
cartesian_dda.h:158: error: 'LOW' was not declared in this scope
/cartesian_dda.h: In member function 'void cartesian_dda::do_z_step()':
cartesian_dda.h:163: error: 'HIGH' was not declared in this scope
cartesian_dda.h:163: error: 'digitalWrite' was not declared in this scope
cartesian_dda.h:164: error: 'LOW' was not declared in this scope
/cartesian_dda.h: In member function 'void cartesian_dda::do_e_step()':
cartesian_dda.h:169: error: 'extruder_in_use' was not declared in this scope
/cartesian_dda.h: In member function 'bool cartesian_dda::xCanStep(long int, long int, bool)':
cartesian_dda.h:195: error: 'endstop_hits' was not declared in this scope
cartesian_dda.h:211: error: 'digitalRead' was not declared in this scope
/cartesian_dda.h: In member function 'bool cartesian_dda::yCanStep(long int, long int, bool)':
cartesian_dda.h:263: error: 'endstop_hits' was not declared in this scope
cartesian_dda.h:279: error: 'digitalRead' was not declared in this scope
/cartesian_dda.h: In member function 'bool cartesian_dda::zCanStep(long int, long int, bool)':
cartesian_dda.h:330: error: 'endstop_hits' was not declared in this scope
cartesian_dda.h:346: error: 'digitalRead' was not declared in this scope
FiveD_GCode_Interpreter.cpp: At global scope:
FiveD_GCode_Interpreter:2: error: variable or field 'setTimerResolution' declared void
FiveD_GCode_Interpreter:2: error: 'byte' was not declared in this scope
FiveD_GCode_Interpreter:6: error: variable or field 'newExtruder' declared void
FiveD_GCode_Interpreter:6: error: 'byte' was not declared in this scope
FiveD_GCode_Interpreter:22: error: variable or field 'setTimerResolution' declared void
FiveD_GCode_Interpreter:22: error: 'byte' was not declared in this scope
FiveD_GCode_Interpreter:64: error: 'byte' does not name a type
FiveD_GCode_Interpreter:139: error: 'byte' does not name a type
FiveD_GCode_Interpreter:140: error: 'byte' does not name a type
FiveD_GCode_Interpreter:143: error: 'word' does not name a type
FiveD_GCode_Interpreter:155: error: 'byte' does not name a type
FiveD_GCode_Interpreter:168: error: expected constructor, destructor, or type conversion before '(' token





RepRap Newbie. 2x Gebrauchte Elektronik erstanden, Prusa Teile vom Wolfgang, Elektronik wehrt sich :-(
Re: Gen3 Firmware
February 21, 2011 04:02PM
/pins.h:128:2: error: #error Oops! Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.


Mfg
Wolfgang
Aller Anfang war schwer - Wolfstrap Reprap-fab.org Meine Meinung

Erfahrungen kann man leider schlecht weiter geben, die muss man selber machen.
Re: Gen3 Firmware
February 21, 2011 04:04PM
Stoffel15 Wrote:
-------------------------------------------------------
> /pins.h:128:2: error: #error Oops! Make sure you
> have 'Sanguino' selected from the 'Tools ->
> Boards' menu.


Hab ich gemacht... Ist auch jetzt noch markiert... Warum beschwert er sich denn da noch?!





RepRap Newbie. 2x Gebrauchte Elektronik erstanden, Prusa Teile vom Wolfgang, Elektronik wehrt sich :-(
Re: Gen3 Firmware
February 21, 2011 04:17PM
Hast Du denn auch die zum Sanguino gehörigen Dateien eingebaut? [reprap.org]


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Gen3 Firmware
February 21, 2011 04:20PM
Vielleicht hilft dir das ja... was unten drann hängt


Mfg
Wolfgang
Aller Anfang war schwer - Wolfstrap Reprap-fab.org Meine Meinung

Erfahrungen kann man leider schlecht weiter geben, die muss man selber machen.
Attachments:
open | download - arduino.zip (27.8 KB)
VDX
Re: Gen3 Firmware
February 21, 2011 04:22PM
... oder schau dir die Installation auf Sanguino.cc an ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Sorry, you do not have permission to post/reply in this forum.