Geeetech A10 firmware Marlin 1.1.9

Moderator: vert

User avatar
MichaelK
Posts: 43
Joined: Thu Mar 22, 2018 5:20 pm
Location: Germany

Re: Geeetech A10 firmware Marlin 1.1.9

Post by MichaelK » Wed Aug 29, 2018 6:45 pm

zonalimitatore wrote:
Wed Aug 29, 2018 6:32 pm
Anyway...i need to rewrite the bootloader using my arduino uno like programmer,right?
It is possible, maybe better using a ATMEGA2560.

https://www.youtube.com/watch?v=2N1zgX8 ... gs=pl%2Cwn

zonalimitatore
Posts: 72
Joined: Tue Aug 28, 2018 7:12 am
Location: Italy

Re: Geeetech A10 firmware Marlin 1.1.9

Post by zonalimitatore » Wed Aug 29, 2018 7:10 pm

Yeah...bt in rev b we haven't the connector :(

zonalimitatore
Posts: 72
Joined: Tue Aug 28, 2018 7:12 am
Location: Italy

Re: Geeetech A10 firmware Marlin 1.1.9

Post by zonalimitatore » Wed Aug 29, 2018 9:17 pm

Ok...i've done.
Soon i write a guide on my blog

Anyway...Why when i wanna edit the language and recompile i receive an error?

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

zonalimitatore
Posts: 72
Joined: Tue Aug 28, 2018 7:12 am
Location: Italy

Re: Geeetech A10 firmware Marlin 1.1.9

Post by zonalimitatore » Wed Aug 29, 2018 10:10 pm

I've see i cant print from sd card....It's my problem?

Maybe because this? #define SD_DETECT_PIN 49
Should be 50 right?

User avatar
MichaelK
Posts: 43
Joined: Thu Mar 22, 2018 5:20 pm
Location: Germany

Re: Geeetech A10 firmware Marlin 1.1.9

Post by MichaelK » Thu Aug 30, 2018 12:13 pm

Change the value and try again..... :roll:

I can't offer a tutorial here to develop with Arduino or Marlin.
Youtube has many videos on it....

zonalimitatore
Posts: 72
Joined: Tue Aug 28, 2018 7:12 am
Location: Italy

Re: Geeetech A10 firmware Marlin 1.1.9

Post by zonalimitatore » Thu Aug 30, 2018 5:40 pm

Yep...But you have create/compile it.
Without edit nothing and try to verify,give these errors

bernte_one
Posts: 25
Joined: Fri Aug 24, 2018 4:39 pm

Re: Geeetech A10 firmware Marlin 1.1.9

Post by bernte_one » Fri Aug 31, 2018 3:42 pm

Hi 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.

User avatar
MichaelK
Posts: 43
Joined: Thu Mar 22, 2018 5:20 pm
Location: Germany

Re: Geeetech A10 firmware Marlin 1.1.9

Post by MichaelK » Fri Aug 31, 2018 3:49 pm

bernte_one wrote:
Fri Aug 31, 2018 3:42 pm
Hi 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.
First, you need to contact your seller! I made it with my issue. But they contact geetech to send me a new y axis.
I did not get anything until today.... :| Nothings happens. My A10 printer continues to work with the rotated axis....
I don't have more information either. :?

bernte_one
Posts: 25
Joined: Fri Aug 24, 2018 4:39 pm

Re: Geeetech A10 firmware Marlin 1.1.9

Post by bernte_one » Fri Sep 07, 2018 5:58 pm

i will give a short info when i got my replacement parst

i send Pictures to seller and the engineer said taht hole baseplate ist wrong mounted, absolutely misplaced
so is should get a new plate guid

aarli
Posts: 37
Joined: Thu Sep 13, 2018 11:20 am
Location: Ireland

Re: Geeetech A10 firmware Marlin 1.1.9

Post by aarli » Thu Sep 13, 2018 11:53 am

Hi @MichaelK et all.

I recently got into 3D printing too, only to discover how bad and neglecting Geeetech is when it comes to support and quality of software/hardware.

Thanks to you I was now able to test Marlin fw out, which works almost flawlessly.
While I do apprectiate your attempts here, I suggest you start doing firmware builds or modifications for A10 in a proper manner, using github and so on...

However, I find your posts rushed and inconsistent. Even the description with this firmware is different on Thingverse page and here. So what exactly was the bug you supposedly fixed when it comes to component cooling fan?
Mine has always had a behaviour where 0..254 = FAN OFF, and value 255 = FAN 100% ON!

Actually ... what ever. I took courtesy and used your zip to improve settings even further. Hereby I'm gonna save people from compiling headache and I'm gonna post the firmware uploadable hex file from my build.
[attachment=Compiled firmware]Geeetech A10 - Marlin 1.1.9-aarli-mod.zip[/attachment]

Main goals achieved with my edits:
[*]Finally the component cooler works can do more than just either 0 or 100%. From about 30-40% on all speed settings seem to be working now.
[*]Fixed the actual heating bed size and center coordinates. This printer can actually print from edge to edge, with a maximum distance of 240mm both on X and Y axis, therefore 220x220 bed dimensions are misleading... But I guess each A10 owner has already realised that with default settings none of the things that should be printed in the middle of the hot bed never do. All because Geeetech has defined wrong bed size :)
[*]Enabled multiple new, and experimental features.

Below is the main diffs from your builds.
For better readability I'm appending the same diffs as colorised diff output screenshots. Red are my changes on your configs, which are green.

My main flow for working with this printer is: PC with Cura talk via WiFi to Cura Server running on Raspberry PI3, which in another room is connected to the printer. For firmware upgrades I just use Cura Server's web interface and upload from there and that would bve all.. Easy...

I'm now going to figure out the simplest way to start controlling both controller's extruder's cooling fan, as these 2 fans are the noisiest and really annoying, especially when printer is idle - there's no need for them to be spinning at max rpm!
Attachments
Marlin-1.1.9-aarli-mod.conf.zip
Configuration.h and Configuration_Adv.h themselves
(45.02 KiB) Downloaded 279 times
ubuntu1604_2018-09-13_04-54-09.png
Configuration_Adv.h diff screenshot
ubuntu1604_2018-09-13_04-54-09.png (53.7 KiB) Viewed 3450 times
ubuntu1604_2018-09-13_04-55-33.png
Configuration.h diff screenshot
ubuntu1604_2018-09-13_04-55-33.png (597.18 KiB) Viewed 3450 times
Geeetech A10 - Marlin 1.1.9-aarli-mod.zip
The hex flash file for GT2560 Rev B. board in A10 model
(136.61 KiB) Downloaded 286 times
Geeetech A10 (with mods) + Geeetech A10M
Repetier Server on Raspberry PI 3, connected to printers for remote printing/firmware uploads.
Slic3r Prusa Edition, Simplify3D, Ultimaker Cura, Repetier host on the PC

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests