It is possible, maybe better using a ATMEGA2560.zonalimitatore wrote: ↑Wed Aug 29, 2018 6:32 pmAnyway...i need to rewrite the bootloader using my arduino uno like programmer,right?
https://www.youtube.com/watch?v=2N1zgX8 ... gs=pl%2Cwn
It is possible, maybe better using a ATMEGA2560.zonalimitatore wrote: ↑Wed Aug 29, 2018 6:32 pmAnyway...i need to rewrite the bootloader using my arduino uno like programmer,right?
Code: Select all
Arduino:1.8.6 (Windows Store 1.8.14.0) (Windows 10), Scheda:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\HAL.h:33:0,
from C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\MarlinConfig.h:39,
from C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin.h:35,
from C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:252:
pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_DDR" does not give a valid preprocessing token
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:87:42: note: in definition of macro '_SET_OUTPUT'
#define _SET_OUTPUT(IO) SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:105:35: note: in expansion of macro 'SET_OUTPUT'
#define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:905:5: note: in expansion of macro 'OUT_WRITE'
OUT_WRITE(SUICIDE_PIN, HIGH);
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:905:15: note: in expansion of macro 'SUICIDE_PIN'
OUT_WRITE(SUICIDE_PIN, HIGH);
^
pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_PIN" does not give a valid preprocessing token
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:87:61: note: in definition of macro '_SET_OUTPUT'
#define _SET_OUTPUT(IO) SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:105:35: note: in expansion of macro 'SET_OUTPUT'
#define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:905:5: note: in expansion of macro 'OUT_WRITE'
OUT_WRITE(SUICIDE_PIN, HIGH);
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:905:15: note: in expansion of macro 'SUICIDE_PIN'
OUT_WRITE(SUICIDE_PIN, HIGH);
^
In file included from C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\HAL.h:33:0,
from C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\MarlinConfig.h:39,
from C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin.h:35,
from C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:252:
pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_RPORT" does not give a valid preprocessing token
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\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)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:105:51: note: in expansion of macro 'WRITE'
#define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:905:5: note: in expansion of macro 'OUT_WRITE'
OUT_WRITE(SUICIDE_PIN, HIGH);
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:905:15: note: in expansion of macro 'SUICIDE_PIN'
OUT_WRITE(SUICIDE_PIN, HIGH);
^
pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_WPORT" does not give a valid preprocessing token
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:72:21: note: in definition of macro '_WRITE_NC'
if (V) SBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:105:51: note: in expansion of macro 'WRITE'
#define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:905:5: note: in expansion of macro 'OUT_WRITE'
OUT_WRITE(SUICIDE_PIN, HIGH);
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:905:15: note: in expansion of macro 'SUICIDE_PIN'
OUT_WRITE(SUICIDE_PIN, HIGH);
^
pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_PIN" does not give a valid preprocessing token
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:72:42: note: in definition of macro '_WRITE_NC'
if (V) SBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:105:51: note: in expansion of macro 'WRITE'
#define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:905:5: note: in expansion of macro 'OUT_WRITE'
OUT_WRITE(SUICIDE_PIN, HIGH);
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:905:15: note: in expansion of macro 'SUICIDE_PIN'
OUT_WRITE(SUICIDE_PIN, HIGH);
^
pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_WPORT" does not give a valid preprocessing token
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:73:21: note: in definition of macro '_WRITE_NC'
else CBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:105:51: note: in expansion of macro 'WRITE'
#define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:905:5: note: in expansion of macro 'OUT_WRITE'
OUT_WRITE(SUICIDE_PIN, HIGH);
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:905:15: note: in expansion of macro 'SUICIDE_PIN'
OUT_WRITE(SUICIDE_PIN, HIGH);
^
pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_PIN" does not give a valid preprocessing token
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:73:42: note: in definition of macro '_WRITE_NC'
else CBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:105:51: note: in expansion of macro 'WRITE'
#define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:905:5: note: in expansion of macro 'OUT_WRITE'
OUT_WRITE(SUICIDE_PIN, HIGH);
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:905:15: note: in expansion of macro 'SUICIDE_PIN'
OUT_WRITE(SUICIDE_PIN, HIGH);
^
pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_WPORT" does not give a valid preprocessing token
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\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 */ \
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:105:51: note: in expansion of macro 'WRITE'
#define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:905:5: note: in expansion of macro 'OUT_WRITE'
OUT_WRITE(SUICIDE_PIN, HIGH);
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:905:15: note: in expansion of macro 'SUICIDE_PIN'
OUT_WRITE(SUICIDE_PIN, HIGH);
^
pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_RPORT" does not give a valid preprocessing token
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\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 */ \
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:105:51: note: in expansion of macro 'WRITE'
#define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:905:5: note: in expansion of macro 'OUT_WRITE'
OUT_WRITE(SUICIDE_PIN, HIGH);
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:905:15: note: in expansion of macro 'SUICIDE_PIN'
OUT_WRITE(SUICIDE_PIN, HIGH);
^
pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_PIN" does not give a valid preprocessing token
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:79:48: note: in definition of macro '_WRITE_C'
DIO ## IO ## _RPORT = port_bits & _BV(DIO ## IO ## _PIN); /* Atomically toggle the output port bits */ \
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:105:51: note: in expansion of macro 'WRITE'
#define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:905:5: note: in expansion of macro 'OUT_WRITE'
OUT_WRITE(SUICIDE_PIN, HIGH);
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:905:15: note: in expansion of macro 'SUICIDE_PIN'
OUT_WRITE(SUICIDE_PIN, HIGH);
^
In file included from C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\HAL.h:33:0,
from C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\MarlinConfig.h:39,
from C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin.h:35,
from C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:252:
pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_DDR" does not give a valid preprocessing token
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:87:42: note: in definition of macro '_SET_OUTPUT'
#define _SET_OUTPUT(IO) SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:105:35: note: in expansion of macro 'SET_OUTPUT'
#define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:918:5: note: in expansion of macro 'OUT_WRITE'
OUT_WRITE(SUICIDE_PIN, LOW);
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:918:15: note: in expansion of macro 'SUICIDE_PIN'
OUT_WRITE(SUICIDE_PIN, LOW);
^
pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_PIN" does not give a valid preprocessing token
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:87:61: note: in definition of macro '_SET_OUTPUT'
#define _SET_OUTPUT(IO) SBI(DIO ## IO ## _DDR, DIO ## IO ## _PIN)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:105:35: note: in expansion of macro 'SET_OUTPUT'
#define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:918:5: note: in expansion of macro 'OUT_WRITE'
OUT_WRITE(SUICIDE_PIN, LOW);
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:918:15: note: in expansion of macro 'SUICIDE_PIN'
OUT_WRITE(SUICIDE_PIN, LOW);
^
In file included from C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\HAL.h:33:0,
from C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\MarlinConfig.h:39,
from C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin.h:35,
from C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:252:
pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_RPORT" does not give a valid preprocessing token
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\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)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:105:51: note: in expansion of macro 'WRITE'
#define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:918:5: note: in expansion of macro 'OUT_WRITE'
OUT_WRITE(SUICIDE_PIN, LOW);
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:918:15: note: in expansion of macro 'SUICIDE_PIN'
OUT_WRITE(SUICIDE_PIN, LOW);
^
pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_WPORT" does not give a valid preprocessing token
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:72:21: note: in definition of macro '_WRITE_NC'
if (V) SBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:105:51: note: in expansion of macro 'WRITE'
#define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:918:5: note: in expansion of macro 'OUT_WRITE'
OUT_WRITE(SUICIDE_PIN, LOW);
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:918:15: note: in expansion of macro 'SUICIDE_PIN'
OUT_WRITE(SUICIDE_PIN, LOW);
^
pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_PIN" does not give a valid preprocessing token
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:72:42: note: in definition of macro '_WRITE_NC'
if (V) SBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:105:51: note: in expansion of macro 'WRITE'
#define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:918:5: note: in expansion of macro 'OUT_WRITE'
OUT_WRITE(SUICIDE_PIN, LOW);
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:918:15: note: in expansion of macro 'SUICIDE_PIN'
OUT_WRITE(SUICIDE_PIN, LOW);
^
pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_WPORT" does not give a valid preprocessing token
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:73:21: note: in definition of macro '_WRITE_NC'
else CBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:105:51: note: in expansion of macro 'WRITE'
#define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:918:5: note: in expansion of macro 'OUT_WRITE'
OUT_WRITE(SUICIDE_PIN, LOW);
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:918:15: note: in expansion of macro 'SUICIDE_PIN'
OUT_WRITE(SUICIDE_PIN, LOW);
^
pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_PIN" does not give a valid preprocessing token
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:73:42: note: in definition of macro '_WRITE_NC'
else CBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:105:51: note: in expansion of macro 'WRITE'
#define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:918:5: note: in expansion of macro 'OUT_WRITE'
OUT_WRITE(SUICIDE_PIN, LOW);
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:918:15: note: in expansion of macro 'SUICIDE_PIN'
OUT_WRITE(SUICIDE_PIN, LOW);
^
pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_WPORT" does not give a valid preprocessing token
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\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 */ \
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:105:51: note: in expansion of macro 'WRITE'
#define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:918:5: note: in expansion of macro 'OUT_WRITE'
OUT_WRITE(SUICIDE_PIN, LOW);
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:918:15: note: in expansion of macro 'SUICIDE_PIN'
OUT_WRITE(SUICIDE_PIN, LOW);
^
pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_RPORT" does not give a valid preprocessing token
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\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 */ \
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:105:51: note: in expansion of macro 'WRITE'
#define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:918:5: note: in expansion of macro 'OUT_WRITE'
OUT_WRITE(SUICIDE_PIN, LOW);
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:918:15: note: in expansion of macro 'SUICIDE_PIN'
OUT_WRITE(SUICIDE_PIN, LOW);
^
pins_ULTIMAKER.h:112:33: error: pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_PIN" does not give a valid preprocessing token
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:79:48: note: in definition of macro '_WRITE_C'
DIO ## IO ## _RPORT = port_bits & _BV(DIO ## IO ## _PIN); /* Atomically toggle the output port bits */ \
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:94:31: note: in expansion of macro '_WRITE'
#define WRITE(IO,V) _WRITE(IO,V)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\fastio.h:105:51: note: in expansion of macro 'WRITE'
#define OUT_WRITE(IO,V) do{ SET_OUTPUT(IO); WRITE(IO,V); }while(0)
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:918:5: note: in expansion of macro 'OUT_WRITE'
OUT_WRITE(SUICIDE_PIN, LOW);
^
C:\Users\Bax\AppData\Local\Temp\arduino_build_984295\sketch\Marlin_main.cpp:918:15: note: in expansion of macro 'SUICIDE_PIN'
OUT_WRITE(SUICIDE_PIN, LOW);
^
exit status 1
pasting "/* PIN that has to be turned on right after start, to keep power flowing.*/" and "_DDR" does not give a valid preprocessing token
First, you need to contact your seller! I made it with my issue. But they contact geetech to send me a new y axis.bernte_one wrote: ↑Fri Aug 31, 2018 3:42 pmHi Michael,
thanks for your work.
Got my Printer Yesterday and it is one of These faulty head bed guide.
I know you just turn that compenent and solve this Problem.
But did you have a good contact for spare part of this Printer?
It is not on mine to rebuild this think to make it work, and in the case i have to use the warranty they can say NO NO you rebuild this Thing you havn´t any warranty rights.