Willkommen! Anmelden Ein neues Profil erzeugen

Erweiterte Suche

Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem

geschrieben von eZ_Bolek 
Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
08. June 2020 11:25
Hallo!

Ich habe einen 3D-Drucker mit 2 Extrudern und dem Megatronics v3.0 Board geschenkt bekommen.
Seit ein paar Tagen versuche ich Marlin 1.1.9 auf dem Board zu installieren, leider komme ich nicht weit, da die Arduino IDE die Firmware prüft und für fehlerhaft befindet.
Ich bi kein Experte was arduino angeht, eher ein Anfänger der zumindest weißt was die Sketches sind und wie das Ganze mehr oder weniger funktioniert.
Die Codes überfordern mich völlog.

Ich habe also die Marlin v1.1.9 Firmware runtergeladen und in der IDE geöffnet.

Unter dem Eintrag "Configuration.h" habe ich wie notwendig den Eintrag geändert:

// The following define selects which electronics board you have.
// Please choose the name from boards.h that matches your setup

#ifndef MOTHERBOARD
#define MOTHERBOARD BOARD_MEGATRONICS_3 (Das grün Markierte ist mein Board)


Mein Mainboard ist definitiv kompatibel, zumidest steht es so im Eintrag "boards.h" der Marlin Firmware.
Der Fehler kommt nicht wenn ich die Firmware unverändert lasse für meinen Anycubic i3 Mega und dort läuft die Firmware tadellos.







Wenn ich nun den Sketch überprüfen lasse kommen folgenden Fehler auf:



Arduino: 1.8.12 (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch\MarlinConfig.h:42:0,

from sketch\AnycubicSerial.cpp:34:

SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

^~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\SdBaseFile.cpp:30:

SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

^~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\Sd2Card.cpp:29:

SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

^~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\Marlin.h:35,

from sketch\Marlin_main.cpp:259:

SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

^~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\MarlinSerial.cpp:36:

SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

^~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\M100_Free_Mem_Chk.cpp:49:

SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

^~~~~

In file included from sketch\HAL.h:33:0,

from sketch\MarlinConfig.h:39,

from sketch\Marlin.h:35,

from sketch\Marlin_main.cpp:259:

fastio.h:82:41: error: pasting "DIO" and "-" does not give a valid preprocessing token

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~

fastio.h:72:14: error: pasting "DIO" and "-" does not give a valid preprocessing token

if (V) SBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \

^

sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^~~~~~~~~

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~

fastio.h:72:35: error: pasting "DIO" and "-" does not give a valid preprocessing token

if (V) SBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \

^

sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^~~~~~~~~

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~

fastio.h:73:14: error: pasting "DIO" and "-" does not give a valid preprocessing token

else CBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \

^

sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^~~~~~~~~

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~

fastio.h:73:35: error: pasting "DIO" and "-" does not give a valid preprocessing token

else CBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \

^

sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^~~~~~~~~

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~

fastio.h:77:23: error: pasting "DIO" and "-" does not give a valid preprocessing token

uint8_t port_bits = DIO ## IO ## _WPORT; /* Get a mask from the current port bits */ \

^

sketch\fastio.h:82:103: note: in expansion of macro '_WRITE_C'

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^~~~~~~~

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~

fastio.h:79:3: error: pasting "DIO" and "-" does not give a valid preprocessing token

DIO ## IO ## _RPORT = port_bits & _BV(DIO ## IO ## _PIN); /* Atomically toggle the output port bits */ \

^

sketch\fastio.h:82:103: note: in expansion of macro '_WRITE_C'

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^~~~~~~~

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~

fastio.h:79:41: error: pasting "DIO" and "-" does not give a valid preprocessing token

DIO ## IO ## _RPORT = port_bits & _BV(DIO ## IO ## _PIN); /* Atomically toggle the output port bits */ \

^

sketch\fastio.h:82:103: note: in expansion of macro '_WRITE_C'

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^~~~~~~~

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~

In file included from sketch\HAL.h:33:0,

from sketch\MarlinConfig.h:39,

from sketch\Marlin.h:35,

from sketch\Marlin_main.cpp:259:

fastio.h:87:35: error: pasting "DIO" and "-" does not give a valid preprocessing token

#define _SET_OUTPUT(IO) SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN)

^

sketch\fastio.h:99:31: note: in expansion of macro '_SET_OUTPUT'

#define SET_OUTPUT(IO) _SET_OUTPUT(IO)

^~~~~~~~~~~

sketch\Marlin_main.cpp:15335:5: note: in expansion of macro 'SET_OUTPUT'

SET_OUTPUT(CONTROLLER_FAN_PIN); //Set pin used for driver cooling fan

^~~~~~~~~~

fastio.h:87:54: error: pasting "DIO" and "-" does not give a valid preprocessing token

#define _SET_OUTPUT(IO) SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN)

^

sketch\fastio.h:99:31: note: in expansion of macro '_SET_OUTPUT'

#define SET_OUTPUT(IO) _SET_OUTPUT(IO)

^~~~~~~~~~~

sketch\Marlin_main.cpp:15335:5: note: in expansion of macro 'SET_OUTPUT'

SET_OUTPUT(CONTROLLER_FAN_PIN); //Set pin used for driver cooling fan

^~~~~~~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\SdFatUtil.cpp:29:

SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

^~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\AnycubicTFT.cpp:27:

SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

^~~~~

In file included from sketch\HAL.h:33:0,

from sketch\MarlinConfig.h:39,

from sketch\Marlin.h:35,

from sketch\Marlin_main.cpp:259:

sketch\Marlin_main.cpp: In function 'void controllerFan()':

fastio.h:82:41: error: 'DIO' was not declared in this scope

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~

pins.h:413:32: error: unable to find numeric literal operator 'operator""_RPORT'

#define CONTROLLER_FAN_PIN -1

^

sketch\fastio.h:82:48: note: in definition of macro '_WRITE'

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^~

sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~

sketch\Marlin_main.cpp:14676:13: note: in expansion of macro 'CONTROLLER_FAN_PIN'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~~~~~~~~~~~~~~

In file included from sketch\MarlinConfig.h:27:0,

from sketch\Marlin.h:35,

from sketch\Marlin_main.cpp:259:

pins.h:413:32: error: unable to find numeric literal operator 'operator""_WPORT'

#define CONTROLLER_FAN_PIN -1

^

sketch\macros.h:76:19: note: in definition of macro 'SBI'

#define SBI(n,b) (n |= _BV(b))

^

sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^~~~~~~~~

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~

sketch\Marlin_main.cpp:14676:13: note: in expansion of macro 'CONTROLLER_FAN_PIN'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~~~~~~~~~~~~~~

pins.h:413:32: error: unable to find numeric literal operator 'operator""_PIN'

#define CONTROLLER_FAN_PIN -1

^

sketch\macros.h:74:23: note: in definition of macro '_BV'

#define _BV(b) (1 << (b))

^

sketch\fastio.h:72:10: note: in expansion of macro 'SBI'

if (V) SBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \

^~~

sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^~~~~~~~~

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~

sketch\Marlin_main.cpp:14676:13: note: in expansion of macro 'CONTROLLER_FAN_PIN'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~~~~~~~~~~~~~~

pins.h:413:32: error: unable to find numeric literal operator 'operator""_WPORT'

#define CONTROLLER_FAN_PIN -1

^

sketch\macros.h:77:19: note: in definition of macro 'CBI'

#define CBI(n,b) (n &= ~_BV(b))

^

sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^~~~~~~~~

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~

sketch\Marlin_main.cpp:14676:13: note: in expansion of macro 'CONTROLLER_FAN_PIN'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~~~~~~~~~~~~~~

pins.h:413:32: error: unable to find numeric literal operator 'operator""_PIN'

#define CONTROLLER_FAN_PIN -1

^

sketch\macros.h:74:23: note: in definition of macro '_BV'

#define _BV(b) (1 << (b))

^

sketch\fastio.h:73:10: note: in expansion of macro 'CBI'

else CBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \

^~~

sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^~~~~~~~~

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~

sketch\Marlin_main.cpp:14676:13: note: in expansion of macro 'CONTROLLER_FAN_PIN'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~~~~~~~~~~~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\I2CPositionEncoder.cpp:31:

SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

^~~~~

In file included from sketch\HAL.h:33:0,

from sketch\MarlinConfig.h:39,

from sketch\Marlin.h:35,

from sketch\Marlin_main.cpp:259:

pins.h:413:32: error: unable to find numeric literal operator 'operator""_WPORT'

#define CONTROLLER_FAN_PIN -1

^

sketch\fastio.h:77:30: note: in definition of macro '_WRITE_C'

uint8_t port_bits = DIO ## IO ## _WPORT; /* Get a mask from the current port bits */ \

^~

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~

sketch\Marlin_main.cpp:14676:13: note: in expansion of macro 'CONTROLLER_FAN_PIN'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~~~~~~~~~~~~~~

pins.h:413:32: error: unable to find numeric literal operator 'operator""_RPORT'

#define CONTROLLER_FAN_PIN -1

^

sketch\fastio.h:79:10: note: in definition of macro '_WRITE_C'

DIO ## IO ## _RPORT = port_bits & _BV(DIO ## IO ## _PIN); /* Atomically toggle the output port bits */ \

^~

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~

sketch\Marlin_main.cpp:14676:13: note: in expansion of macro 'CONTROLLER_FAN_PIN'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~~~~~~~~~~~~~~

In file included from sketch\MarlinConfig.h:27:0,

from sketch\Marlin.h:35,

from sketch\Marlin_main.cpp:259:

pins.h:413:32: error: unable to find numeric literal operator 'operator""_PIN'

#define CONTROLLER_FAN_PIN -1

^

sketch\macros.h:74:23: note: in definition of macro '_BV'

#define _BV(b) (1 << (b))

^

sketch\fastio.h:82:103: note: in expansion of macro '_WRITE_C'

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^~~~~~~~

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\Marlin_main.cpp:14676:7: note: in expansion of macro 'WRITE'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~

sketch\Marlin_main.cpp:14676:13: note: in expansion of macro 'CONTROLLER_FAN_PIN'

WRITE(CONTROLLER_FAN_PIN, speed);

^~~~~~~~~~~~~~~~~~

sketch\AnycubicTFT.cpp: In member function 'void AnycubicTFTClass:confused smileyetup()':

AnycubicTFT.cpp:104:13: error: 'FIL_RUNOUT_PIN' was not declared in this scope

pinMode(FIL_RUNOUT_PIN,INPUT);

^~~~~~~~~~~~~~

sketch\Marlin_main.cpp: In function 'void setup()':

fastio.h:87:35: error: 'DIO' was not declared in this scope

#define _SET_OUTPUT(IO) SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN)

^

sketch\macros.h:76:19: note: in definition of macro 'SBI'

#define SBI(n,b) (n |= _BV(b))

^

sketch\fastio.h:99:31: note: in expansion of macro '_SET_OUTPUT'

#define SET_OUTPUT(IO) _SET_OUTPUT(IO)

^~~~~~~~~~~

sketch\Marlin_main.cpp:15335:5: note: in expansion of macro 'SET_OUTPUT'

SET_OUTPUT(CONTROLLER_FAN_PIN); //Set pin used for driver cooling fan

^~~~~~~~~~

pins.h:413:32: error: unable to find numeric literal operator 'operator""_DDR'

#define CONTROLLER_FAN_PIN -1

^

sketch\macros.h:76:19: note: in definition of macro 'SBI'

#define SBI(n,b) (n |= _BV(b))

^

sketch\fastio.h:99:31: note: in expansion of macro '_SET_OUTPUT'

#define SET_OUTPUT(IO) _SET_OUTPUT(IO)

^~~~~~~~~~~

sketch\Marlin_main.cpp:15335:5: note: in expansion of macro 'SET_OUTPUT'

SET_OUTPUT(CONTROLLER_FAN_PIN); //Set pin used for driver cooling fan

^~~~~~~~~~

sketch\Marlin_main.cpp:15335:16: note: in expansion of macro 'CONTROLLER_FAN_PIN'

SET_OUTPUT(CONTROLLER_FAN_PIN); //Set pin used for driver cooling fan

^~~~~~~~~~~~~~~~~~

pins.h:413:32: error: unable to find numeric literal operator 'operator""_PIN'

#define CONTROLLER_FAN_PIN -1

^

sketch\macros.h:74:23: note: in definition of macro '_BV'

#define _BV(b) (1 << (b))

^

sketch\fastio.h:87:31: note: in expansion of macro 'SBI'

#define _SET_OUTPUT(IO) SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN)

^~~

sketch\fastio.h:99:31: note: in expansion of macro '_SET_OUTPUT'

#define SET_OUTPUT(IO) _SET_OUTPUT(IO)

^~~~~~~~~~~

sketch\Marlin_main.cpp:15335:5: note: in expansion of macro 'SET_OUTPUT'

SET_OUTPUT(CONTROLLER_FAN_PIN); //Set pin used for driver cooling fan

^~~~~~~~~~

sketch\Marlin_main.cpp:15335:16: note: in expansion of macro 'CONTROLLER_FAN_PIN'

SET_OUTPUT(CONTROLLER_FAN_PIN); //Set pin used for driver cooling fan

^~~~~~~~~~~~~~~~~~

In file included from sketch\HAL.h:33:0,

from sketch\MarlinConfig.h:39,

from sketch\AnycubicTFT.cpp:27:

fastio.h:82:41: error: 'DIOFIL_RUNOUT_PIN_RPORT' was not declared in this scope

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\AnycubicTFT.cpp:105:5: note: in expansion of macro 'WRITE'

WRITE(FIL_RUNOUT_PIN,HIGH);

^~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\Max7219_Debug_LEDs.cpp:38:

SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

^~~~~

In file included from sketch\MarlinConfig.h:27:0,

from sketch\AnycubicTFT.cpp:27:

fastio.h:72:14: error: 'DIOFIL_RUNOUT_PIN_WPORT' was not declared in this scope

if (V) SBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \

^

sketch\macros.h:76:19: note: in definition of macro 'SBI'

#define SBI(n,b) (n |= _BV(b))

^

sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^~~~~~~~~

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\AnycubicTFT.cpp:105:5: note: in expansion of macro 'WRITE'

WRITE(FIL_RUNOUT_PIN,HIGH);

^~~~~

fastio.h:72:35: error: 'DIOFIL_RUNOUT_PIN_PIN' was not declared in this scope

if (V) SBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \

^

sketch\macros.h:74:23: note: in definition of macro '_BV'

#define _BV(b) (1 << (b))

^

sketch\fastio.h:72:10: note: in expansion of macro 'SBI'

if (V) SBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \

^~~

sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^~~~~~~~~

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\AnycubicTFT.cpp:105:5: note: in expansion of macro 'WRITE'

WRITE(FIL_RUNOUT_PIN,HIGH);

^~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\G26_Mesh_Validation_Tool.cpp:27:

SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

^~~~~

fastio.h:73:14: error: 'DIOFIL_RUNOUT_PIN_WPORT' was not declared in this scope

else CBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \

^

sketch\macros.h:77:19: note: in definition of macro 'CBI'

#define CBI(n,b) (n &= ~_BV(b))

^

sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^~~~~~~~~

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\AnycubicTFT.cpp:105:5: note: in expansion of macro 'WRITE'

WRITE(FIL_RUNOUT_PIN,HIGH);

^~~~~

fastio.h:73:35: error: 'DIOFIL_RUNOUT_PIN_PIN' was not declared in this scope

else CBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \

^

sketch\macros.h:74:23: note: in definition of macro '_BV'

#define _BV(b) (1 << (b))

^

sketch\fastio.h:73:10: note: in expansion of macro 'CBI'

else CBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \

^~~

sketch\fastio.h:82:81: note: in expansion of macro '_WRITE_NC'

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^~~~~~~~~

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\AnycubicTFT.cpp:105:5: note: in expansion of macro 'WRITE'

WRITE(FIL_RUNOUT_PIN,HIGH);

^~~~~

In file included from sketch\HAL.h:33:0,

from sketch\MarlinConfig.h:39,

from sketch\AnycubicTFT.cpp:27:

fastio.h:77:23: error: 'DIOFIL_RUNOUT_PIN_WPORT' was not declared in this scope

uint8_t port_bits = DIO ## IO ## _WPORT; /* Get a mask from the current port bits */ \

^

sketch\fastio.h:82:103: note: in expansion of macro '_WRITE_C'

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^~~~~~~~

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\AnycubicTFT.cpp:105:5: note: in expansion of macro 'WRITE'

WRITE(FIL_RUNOUT_PIN,HIGH);

^~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\SdFile.cpp:29:

SanityCheck.h:1111:6: error: #error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."

^~~~~

In file included from sketch\MarlinConfig.h:27:0,

from sketch\AnycubicTFT.cpp:27:

fastio.h:79:41: error: 'DIOFIL_RUNOUT_PIN_PIN' was not declared in this scope

DIO ## IO ## _RPORT = port_bits & _BV(DIO ## IO ## _PIN); /* Atomically toggle the output port bits */ \

^

sketch\macros.h:74:23: note: in definition of macro '_BV'

#define _BV(b) (1 << (b))

^

sketch\fastio.h:82:103: note: in expansion of macro '_WRITE_C'

#define _WRITE(IO,V) do{ if (&(DIO ## IO ## _RPORT) < (uint8_t*)0x100) _WRITE_NC(IO,V); else _WRITE_C(IO,V); }while(0)

^~~~~~~~

sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'

#define WRITE(IO,V) _WRITE(IO,V)

^~~~~~

sketch\AnycubicTFT.cpp:105:5: note: in expansion of macro 'WRITE'

WRITE(FIL_RUNOUT_PIN,HIGH);

^~~~~

fastio.h:69:36: error: 'DIOFIL_RUNOUT_PIN_RPORT' was not declared in this scope

#define _READ(IO) TEST(DIO ## IO ## _RPORT, DIO ## IO ## _PIN)

^

sketch\macros.h:75:23: note: in definition of macro 'TEST'

#define TEST(n,b) !!((n)&_BV(b))

^

sketch\fastio.h:93:31: note: in expansion of macro '_READ'

#define READ(IO) _READ(IO)

^~~~~

sketch\AnycubicTFT.cpp:106:8: note: in expansion of macro 'READ'

if(READ(FIL_RUNOUT_PIN)==true)

^~~~

fastio.h:69:57: error: 'DIOFIL_RUNOUT_PIN_PIN' was not declared in this scope

#define _READ(IO) TEST(DIO ## IO ## _RPORT, DIO ## IO ## _PIN)

^

sketch\macros.h:74:23: note: in definition of macro '_BV'

#define _BV(b) (1 << (b))

^

sketch\fastio.h:69:31: note: in expansion of macro 'TEST'

#define _READ(IO) TEST(DIO ## IO ## _RPORT, DIO ## IO ## _PIN)

^~~~

sketch\fastio.h:93:31: note: in expansion of macro '_READ'

#define READ(IO) _READ(IO)

^~~~~

sketch\AnycubicTFT.cpp:106:8: note: in expansion of macro 'READ'

if(READ(FIL_RUNOUT_PIN)==true)

^~~~

sketch\AnycubicTFT.cpp: In member function 'void AnycubicTFTClass::FilamentRunout()':

fastio.h:69:36: error: 'DIOFIL_RUNOUT_PIN_RPORT' was not declared in this scope

#define _READ(IO) TEST(DIO ## IO ## _RPORT, DIO ## IO ## _PIN)

^

sketch\macros.h:75:23: note: in definition of macro 'TEST'

#define TEST(n,b) !!((n)&_BV(b))

^

sketch\fastio.h:93:31: note: in expansion of macro '_READ'

#define READ(IO) _READ(IO)

^~~~~

sketch\AnycubicTFT.cpp:731:24: note: in expansion of macro 'READ'

FilamentTestStatus=READ(FIL_RUNOUT_PIN)&0xff;

^~~~

fastio.h:69:57: error: 'DIOFIL_RUNOUT_PIN_PIN' was not declared in this scope

#define _READ(IO) TEST(DIO ## IO ## _RPORT, DIO ## IO ## _PIN)

^

sketch\macros.h:74:23: note: in definition of macro '_BV'

#define _BV(b) (1 << (b))

^

sketch\fastio.h:69:31: note: in expansion of macro 'TEST'

#define _READ(IO) TEST(DIO ## IO ## _RPORT, DIO ## IO ## _PIN)

^~~~

sketch\fastio.h:93:31: note: in expansion of macro '_READ'

#define READ(IO) _READ(IO)

^~~~~

sketch\AnycubicTFT.cpp:731:24: note: in expansion of macro 'READ'

FilamentTestStatus=READ(FIL_RUNOUT_PIN)&0xff;

^~~~

exit status 1
#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."



Kann mir einer von euch helfen?
Hat jemand von euch vielleicht eine funktionierende Firmware für dieses Board?


2-mal bearbeitet. Zuletzt am 08.06.20 11:29.
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
08. June 2020 14:12
Quote
Fehlermeldung
#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
[marlinfw.org]

Herzl. Grüße
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
08. June 2020 14:35
Quote
AlterBastler
Quote
Fehlermeldung
#error "USE_CONTROLLER_FAN requires a CONTROLLER_FAN_PIN. Define in Configuration_adv.h."
[marlinfw.org]

Herzl. Grüße

Vielen Dank für deine Antwort.
Soweit war ich auch schon.
Leider habe ich genau 0 Ahnung was und wo genau ich eintragen muss.
Welcher Wert muss da rein und wo genau?
Die Firmware habe ich in den ersten Beitrag hochgeladen.

Gruß
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
08. June 2020 14:57
In der configuration_adv.h auskommentieren (zwei // davor),
//#define USE_CONTROLLER_FAN

Herzl, Grüße
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
09. June 2020 04:06
Vielen Dank für deine Antwort.
Leider bringt es nichts, wenn ich die // davor setze, kommt ein anderer Fehler.
Wenn ich dann die Punkte mit // deaktiviere, kommen immer und immer wieder neuen Fehler bei über 30 Positionen habe ich irgendwann aufgegeben.
Ich habe nun mal beinahe keine Ahnung was ich da deaktiviere, vielleicht muss man es umschreiben und an das Board anpassen? Vielleicht deaktiviere ich etwas was der Drucker später braucht? Ich weiß es einfach nicht sad smiley

Ich ziehe in Betracht ein anderes Board zu kaufen sad smiley , auf dem die Firmware sofort läuft wie bei meinen i3 Mega S.
Dort musste ich nur die Steps anpassen und schon lief alles.

1-mal bearbeitet. Zuletzt am 09.06.20 04:07.
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
09. June 2020 10:35
Ich habe gerade gesehen, daß Du die Firmware von einer anderen Quelle heruntergeladen hast.
Nimm mal die Firmware von hier. [github.com]
und die Einstellungen von hier: [github.com]

Herzl. Grüße
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
09. June 2020 13:51
Es gibt keine Fehler mehr bei der Kompillierung !!!! smiling bouncing smiley

Vielen, vielen, vielen DANK !!!


Update:

Der Drucker hat 2 Extruder, ich habe also in der Configuration.h dein eintrag von 1 auf 2 geändert:


// This defines the number of extruders
// :[1, 2, 3, 4, 5]
#define EXTRUDERS 1 => 2


Nun taucht beim überprüfen ein Fehler auf:

#error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

Beziehungsweise:

Arduino: 1.9.0-beta (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch\MarlinConfig.h:42:0,

from sketch\G26_Mesh_Validation_Tool.cpp:27:

SanityCheck.h:1147:6: error: #error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

#error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

^~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\Sd2Card.cpp:29:

SanityCheck.h:1147:6: error: #error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

#error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

^~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\Max7219_Debug_LEDs.cpp:38:

SanityCheck.h:1147:6: error: #error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

#error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

^~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\SdFatUtil.cpp:29:

SanityCheck.h:1147:6: error: #error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

#error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

^~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\SdVolume.cpp:29:

SanityCheck.h:1147:6: error: #error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

#error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

^~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\SdFile.cpp:29:

SanityCheck.h:1147:6: error: #error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

#error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

^~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\MarlinSerial.cpp:36:

SanityCheck.h:1147:6: error: #error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

#error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

^~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\Marlin.h:35,

from sketch\Marlin_main.cpp:258:

SanityCheck.h:1147:6: error: #error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

#error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

^~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\M100_Free_Mem_Chk.cpp:49:

SanityCheck.h:1147:6: error: #error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

#error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

^~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\SdBaseFile.cpp:30:

SanityCheck.h:1147:6: error: #error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

#error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

^~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\I2CPositionEncoder.cpp:31:

SanityCheck.h:1147:6: error: #error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

#error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

^~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\blinkm.cpp:27:

SanityCheck.h:1147:6: error: #error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

#error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

^~~~~

In file included from sketch\MarlinConfig.h:42:0,

from sketch\cardreader.cpp:23:

SanityCheck.h:1147:6: error: #error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

#error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

^~~~~

exit status 1
#error "TEMP_SENSOR_1 is required with 2 or more HOTENDS."

Dieser Bericht wäre detaillierter, wenn die Option
"Ausführliche Ausgabe während der Kompilierung"
in Datei -> Voreinstellungen aktiviert wäre.

4-mal bearbeitet. Zuletzt am 09.06.20 14:25.
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
09. June 2020 14:09
Kleiner Tipp, nimm besser gleich die Marlin 2.x
Die Version 1.1.x wir nicht mehr wirklich weiter entwickelt.

[github.com]
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
09. June 2020 14:11
Quote
Azrael666
Kleiner Tipp, nimm besser gleich die Marlin 2.x
Die Version 1.1.x wir nicht mehr wirklich weiter entwickelt.

[github.com]

Nach meiner kentniss soll die viel schwerer sein in der Einrichtung und benötigt 32bit /24Volt-boards oder nicht?
Meinen beiden Drucker haben nach meiner Kentniss 8bit und 12Volt versorgung.
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
09. June 2020 14:22
Nope, Parametrierung ist absolut identisch zur 1.1.x
Die Marlin 2.x ist sowohl für 32bit Boards als auch für 8bit Boards. Ob 12V oder 24V ist der Firmware selber ziemlich egal. Will meinen, läuft auf beiden.

Ich selber habe ein 8bit MKS Gen L Board und nutze die Marlin 2.x schon seit über einem Jahr auf dem.



Marlin 2.0 takes this popular RepRap firmware to the next level by adding support for much faster 32-bit and ARM-based boards while improving support for 8-bit AVR boards.

1-mal bearbeitet. Zuletzt am 09.06.20 14:24.
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
09. June 2020 14:29
Quote
Azrael666
Nope, Parametrierung ist absolut identisch zur 1.1.x
Die Marlin 2.x ist sowohl für 32bit Boards als auch für 8bit Boards. Ob 12V oder 24V ist der Firmware selber ziemlich egal. Will meinen, läuft auf beiden.

Ich selber habe ein 8bit MKS Gen L Board und nutze die Marlin 2.x schon seit über einem Jahr auf dem.



Marlin 2.0 takes this popular RepRap firmware to the next level by adding support for much faster 32-bit and ARM-based boards while improving support for 8-bit AVR boards.

Hmmm, ok, dann habe ich irgendetwas falsch verstanden... Gibt es keine Probleme bei der 2.0? Hatte einige Beiträge in Foren gesehen wo es angeblich bugs und andere Probleme bei der 2.0 gibt.
Angeblich bringt die 2.0 kaum was für 8bit nutzer, deswegen habe ich es sein lassen, auf meinen Anycubic i3Mega S läuft die 1.1.9 super und ich bin mit dem Mesh leveling sehr zufrieden.

Jetzt wollte ich die 1.1.9 auf dem Megatronics v3.0 Board zum laufen bringen um den zweiten Drucker endlich zum laufen zu bringen.
Kannst du mir vielleicht helfen bei meinen Oben genannten fehler nach der Änderung des Extruderwertes von 1 auf 2 ? (Der drucker an dem ich das einspielen möchte, hat 2 Exrtuder)

1-mal bearbeitet. Zuletzt am 09.06.20 14:30.
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
09. June 2020 14:38
Naja ich sag mal so, wenn du dir unsicher bist, dann lautet die Devise immer "Never touch a running system"

Die 2.x hat aktuell tatsächlich mit ein paar Problemchen zu kämpfen, aber das ist ganz normal. Das ist ein lebendes System. Es kommen neue Features, die erzeugen Bugs, diese werden wieder gefixt. Bei so einer komplexen Software immer alle Zusammenhänge im Auge zu haben ist für keinen Programmierer eine leichte Aufgabe.
Wie gesagt, die 2.x wird weitereintwickelt, die 1.x nicht mehr. Ich persönlich würde auf deinem i3 vorerst die Software drauf lassen die drauf ist,für deinen Megatronics die neue nehmen. Dann hast du einen Drucker der läuft und einen an dem du dich mit der Software austoben kannst. Dann lernst du die Software und deren Featuress kennen und kannst später dein Wissen beim i3 anwenden.

Zu deinem Problem mit dem Compilieren. Du hast der Software gesagt dass du 2 Hotends hast. Bei 2 Hotends brauchst du natürlich auch 2 Temperatursensoren. Jetzt müsstest du in deiner Config schauen wo du das einstellen kannst.

Als kleiner Tipp der Fehler bezieht sich auf TEMP_SENSOR_1. Öffne mal deine Config und suche nach diesem Begriff, dann solltest du fündig werden.

1-mal bearbeitet. Zuletzt am 09.06.20 14:41.
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
09. June 2020 14:47
Quote
Azrael666
Naja ich sag mal so, wenn du dir unsicher bist, dann lautet die Devise immer "Never touch a running system"

Die 2.x hat aktuell tatsächlich mit ein paar Problemchen zu kämpfen, aber das ist ganz normal. Das ist ein lebendes System. Es kommen neue Features, die erzeugen Bugs, diese werden wieder gefixt. Bei so einer komplexen Software immer alle Zusammenhänge im Auge zu haben ist für keinen Programmierer eine leichte Aufgabe.
Wie gesagt, die 2.x wird weitereintwickelt, die 1.x nicht mehr. Ich persönlich würde auf deinem i3 vorerst die Software drauf lassen die drauf ist,für deinen Megatronics die neue nehmen. Dann hast du einen Drucker der läuft und einen an dem du dich mit der Software austoben kannst. Dann lernst du die Software und deren Featuress kennen und kannst später dein Wissen beim i3 anwenden.

Zu deinem Problem mit dem Compilieren. Du hast der Software gesagt dass du 2 Hotends hast. Bei 2 Hotends brauchst du natürlich auch 2 Temperatursensoren. Jetzt müsstest du in deiner Config schauen wo du das einstellen kannst.

Als kleiner Tipp der Fehler bezieht sich auf TEMP_SENSOR_1. Öffne mal deine Config und suche nach diesem Begriff, dann solltest du fündig werden.

Oh man, WAR DAS EINFACH Dank deinen Tipp!!!!

Ich habe die Suchfunktion benutzt und folgendes gefunden:

* :{ '0': "Not used", '1':"100k / 4.7k - EPCOS", '2':"200k / 4.7k - ATC Semitec 204GT-2", '3':"Mendel-parts / 4.7k", '4':"10k !! do not use for a hotend. Bad resolution at high temp. !!", '5':"100K / 4.7k - ATC Semitec 104GT-2 (Used in ParCan & J-Head)", '501':"100K Zonestar (Tronxy X3A)", '6':"100k / 4.7k EPCOS - Not as accurate as Table 1", '7':"100k / 4.7k Honeywell 135-104LAG-J01", '8':"100k / 4.7k 0603 SMD Vishay NTCS0603E3104FXT", '9':"100k / 4.7k GE Sensing AL03006-58.2K-97-G1", '10':"100k / 4.7k RS 198-961", '11':"100k / 4.7k beta 3950 1%", '12':"100k / 4.7k 0603 SMD Vishay NTCS0603E3104FXT (calibrated for Makibox hot bed)", '13':"100k Hisens 3950 1% up to 300°C for hotend 'Simple ONE ' & hotend 'All In ONE'", '20':"PT100 (Ultimainboard V2.x)", '51':"100k / 1k - EPCOS", '52':"200k / 1k - ATC Semitec 204GT-2", '55':"100k / 1k - ATC Semitec 104GT-2 (Used in ParCan & J-Head)", '60':"100k Maker's Tool Works Kapton Bed Thermistor beta=3950", '66':"Dyze Design 4.7M High Temperature thermistor", '70':"the 100K thermistor found in the bq Hephestos 2", '71':"100k / 4.7k Honeywell 135-104LAF-J01", '147':"Pt100 / 4.7k", '1047':"Pt1000 / 4.7k", '110':"Pt100 / 1k (non-standard)", '1010':"Pt1000 / 1k (non standard)", '-4':"Thermocouple + AD8495", '-3':"Thermocouple + MAX31855 (only for sensor 0)", '-2':"Thermocouple + MAX6675 (only for sensor 0)", '-1':"Thermocouple + AD595",'998':"Dummy 1", '999':"Dummy 2" }
*/
#define TEMP_SENSOR_0 1
#define TEMP_SENSOR_1 0 => Geändert auf 1
#define TEMP_SENSOR_2 0
#define TEMP_SENSOR_3 0
#define TEMP_SENSOR_4 0
#define TEMP_SENSOR_BED 1
#define TEMP_SENSOR_CHAMBER 0

Nun läuft der Sketch richtig durch smiling bouncing smiley

Kann ich also einfach die Marlin 2.0 runterladen und einfach die Configuration.h 1:1 aus der 1.1.9 kopieren und in die 2.0 einfügen?

2-mal bearbeitet. Zuletzt am 09.06.20 14:49.
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
09. June 2020 15:01
Ging mir am Anfang auch so. Irgendwann lernt man sich immer besser in der Config zurecht zu finden und was die ganzen Sachen bedeuten. Ist halt ein durchaus längerer Prozess und man muss immer mal wieder im internet suchen.

Btw, die Fehlermeldungen sind nicht immer so eindeutig spinning smiley sticking its tongue out

Runterladen kannst du Marlin 2.x einfach so. Die config kannst du nicht einfach kopieren, weil die sich vom Inhalt her unterscheiden.

Hier gibts allerdings den Ordner mit den Beispielen: [github.com]
Da ist auch dein Board mit dabei.

Noch ein Tipp, wenn du deine Config fertig hast, so wie du sie brauchst und irgendwann mal auf eine neue Marlin-Version gehen willst oder die Bugfix-Version nehmen willst. !!Kopiere deine Config nie einfach in die neue Marlin-Version!! Die Config ändert sich häufig in ihrer inneren Struktur, es kommen neue Features hinzu, es ändern sich Variablen, etc...

Nimm Notepad++ und das Plugin Compare
[sourceforge.net]

Dann kannst du die originale Config und deine Config in Notepad++ öffen und vergleichen. Dann siehst du an welchen Stellen Dinge hinzugekommen sind oder sich geändert haben.
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
10. June 2020 02:15
Danke nochmals an AlterBastler und an dich Azrael666!

So langsam verstehe ich mehr und mehr!
Ich werde noch weiter bißchen rumspielen und experimentieren.

Als nächstes wollte ich ein Display für dem Megatronics v3.0 besorgen.

Könnt Ihr mir einen für das Board empfehlen? Am besten eins, dass sich über ein Drehrad oder ähnlich bedienen lässt.
Eins das ich mit möglichst wenig aufwand in die Marlin 1.1.9 aber auch in 2.0 einbinden kann.

Ich habe das hier im einen Forum gefunden, nur leider ist es momentan ausverkauft und ich finde es nirgendwo anders.


Es muss kein Farbdisplay sein und Touch auch nicht, es soll halt nicht viel kosten da es ein Experimenteller Drucker ist.

Reicht es wenn ich auf den richtigen Anschluss achte und auf "12864"? (was auch immer das bedeutet) grinning smiley

2-mal bearbeitet. Zuletzt am 10.06.20 02:45.
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
10. June 2020 03:35
Da hast du erst mal realtiv freie Wahl. Wenn du mal wieder in die Config schaust, irgendwo ziemlich weit unten in der Rubrik LCD/Controller Section kannst du zumindest schonmal sehen, was für Displays unterstützt werden.
Ob diese alle mit deinem Board funktionieren, ist allerdings noch nicht gesagt. Was ich perönlich gelesen habe ist, dass 8bit Boards und Touch nicht so gut funktionieren soll.

Ich nutze bei meinem Board dieses hier
[reprap.org]

Das ist eigentlich das Wald und Wiesen Display, reicht aber völlig aus.
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
11. June 2020 02:17
Genau sowas brauche ich, das Problem dass ich habe, ist dass ich keinen bezahlbahren LCD-Adapter für mein Display finde, einer der passen soll, kostet 11,59€ !!!!!! (ganz schön teuer für so ein kleinteil)

Hast du eventuell eine bessere Quelle?

Was ist eigentlich mit Marlin 2.0 Sektch? Da ist ja fast garnichts drin! :O
Wenn man Marlin 2.0 mit Arduino IDE öffnet findet man dort nur folgenden Reiter: MArlin,Configuration.h, Configuration_adv.h und Verion.h
Mehr gehört da nicht rein ??? eye popping smiley

2-mal bearbeitet. Zuletzt am 11.06.20 02:28.
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
11. June 2020 03:54
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
11. June 2020 04:46
[www.amazon.de]

Zum Adapter kann ich dir leider nix sagen, weil ich den nicht gebraucht habe. Bei mir ist Display -> Kabel -> Board

Wegen Marlin, ja das passt so. Außer Configuration.h und Configuration_adv.h musst du nix weiter anfassen. Das sind sowieso i.d.R. die einzigen beiden Dateien in denen du Anpassungen vor nimmst.
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
11. June 2020 09:56
Quote
AlterBastler
[de.aliexpress.com]
[www.ebay.de]

Herzl. Grüße

Vielen Dank !!!!
Der von eBay ist genau der richtige, da ist auch der Board-Spezifische Adapter dabei smiling bouncing smiley
Der von Amazon hätte definitiv nicht gepasst da der Adapter nicht für mein Megatronics-Board geeignet ist.

@Azrael666:

Achso, ich dachte schon, ich habe irgend nur ein Teil der Marlin 2.0 geladen und den Rest beim Kopieren verloren oder so grinning smiley
Ich kann ganz normal die Arduino IDE für die Einstellungen an der Marlin v.2.0 nehmen, oder muss ich es umbedingt mit Visual Studio Code machen wie einige auf Youtube?

1-mal bearbeitet. Zuletzt am 11.06.20 10:00.
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
11. June 2020 10:26
Visual Studio Code nimmst du wenn du ein 32-bit Board hast und Arduino IDE nimmst du wenn du ein 8-bit Board hast.
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
11. June 2020 11:44
Quote
Azrael666
Visual Studio Code nimmst du wenn du ein 32-bit Board hast und Arduino IDE nimmst du wenn du ein 8-bit Board hast.
Achso, verstehe! Vielen Dank!

Hab Studio angetestet, man konnte da alles sehen wie bei der Marlin 1.1.9.

Bei IDE seht man bei der Marlin v2.0 nur folgendes:

Marlin,Configuration.h, Configuration_adv.h und Verion.h,

Ich war dadurch nicht sicher ob man es mit IDE machen kann.
Es schien als wenn vieles fehlt grinning smiley

2-mal bearbeitet. Zuletzt am 11.06.20 11:47.
Re: Marlin 1.1.9 und Megatronics v3.0 Board Firmwareproblem
11. June 2020 12:46
Kann sein, dass Studio auch bei 8-bit Boards funktioniert, hab ich aber noch nie ausprobiert. Ich nutze immer Arduino IDE
In diesem Forum dürfen leider nur registrierte Teilnehmer schreiben.

Klicke hier, um Dich einzuloggen