How to install the firmware for GT2560
-
- Posts: 0
- Joined: Mon Jun 04, 2018 5:05 am
Re: How to install the firmware for GT2560
I have a geeetech I3 Pro B. I had a problem with one of the z axis motors not working (the functioning one switched when i switched themn on the control board so its not the motor) and looked on these forums where it suggested to re-install the firmware. I tried doing this using the correct firmware from here (viewtopic.php?f=10&t=17046). I used the Marlin-PI3_Pro_B.zip download. When I tried to upload this to my printer using Arduino 1.0.1, it compiles the code but then gets stuck on uploading for long periods of time before showing timeout errors like this one:
Binary sketch size: 115,760 bytes (of a 258,048 byte maximum)
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
I now have two lines of black squares on my LCD screen and the printer no longer reacts to any inputs from the repetier host.
I hope someone can help
Binary sketch size: 115,760 bytes (of a 258,048 byte maximum)
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
I now have two lines of black squares on my LCD screen and the printer no longer reacts to any inputs from the repetier host.
I hope someone can help
-
- Posts: 0
- Joined: Mon Jun 04, 2018 5:05 am
Re: How to install the firmware for GT2560
I have a geeetech I3 Pro B. I had a problem with one of the z axis motors not working (the functioning one switched when i switched themn on the control board so its not the motor) and looked on these forums where it suggested to re-install the firmware. I tried doing this using the correct firmware from here (viewtopic.php?f=10&t=17046). I used the Marlin-PI3_Pro_B.zip download. When I tried to upload this to my printer using Arduino 1.0.1, it compiles the code but then gets stuck on uploading for long periods of time before showing timeout errors like this one:
Binary sketch size: 115,760 bytes (of a 258,048 byte maximum)
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
I now have two lines of black squares on my LCD screen and the printer no longer reacts to any inputs from the repetier host.
I hope someone can help
Binary sketch size: 115,760 bytes (of a 258,048 byte maximum)
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
I now have two lines of black squares on my LCD screen and the printer no longer reacts to any inputs from the repetier host.
I hope someone can help
-
- Posts: 0
- Joined: Mon Jun 04, 2018 5:05 am
Re: How to install the firmware for GT2560
@Gingko
Hello
I have seen that post before. I checked the board and port and everything was correct.
I then unplugged everything except the usb cable from the board and tried to upload it but again had no luck.
I checked the crystal oscillator and from what I can see it appears to be fine. The solders are good and the outer casing appears to be undamaged.
I then tried re-burning the boot loader using an Arduino M0 I have, however that wouldn't even work as it kept giving me errors saying the device signature was invalid.
I've tried almost everything and none of it has worked. Do you have anymore suggestions?
Also the yellow L light on my board is now flashing rapidly do you know what this means?
Thanks
Hello
I have seen that post before. I checked the board and port and everything was correct.
I then unplugged everything except the usb cable from the board and tried to upload it but again had no luck.
I checked the crystal oscillator and from what I can see it appears to be fine. The solders are good and the outer casing appears to be undamaged.
I then tried re-burning the boot loader using an Arduino M0 I have, however that wouldn't even work as it kept giving me errors saying the device signature was invalid.
I've tried almost everything and none of it has worked. Do you have anymore suggestions?
Also the yellow L light on my board is now flashing rapidly do you know what this means?
Thanks
Re: How to install the firmware for GT2560
I had the same issue This fixed it for me
https://www.youtube.com/watch?v=HIu8_wYG0Y4
https://www.youtube.com/watch?v=HIu8_wYG0Y4
Re: How to install the firmware for GT2560
when you will update firmware to latest 1.1.x version????
Re: How to install the firmware for GT2560
I am trying to figure out what I need and was hoping someone could help me. I am an Electrical Engineer turned Teacher. I bought 3 3D printers for my classroom and two were the upgraded anet a8 motherboards. I need to replace the mother boards with the GT2560 because working with kids, I know the stepper drivers will get damaged. Any way, I ordered two GT2560 boards. My printer that is working says the it's a I3 pro B. I want the others to be the same. Do I need to change the bootloader or just the firmware? I would love any links you would have on how to do this. THanks!
-
- Posts: 1
- Joined: Thu Jun 21, 2018 2:43 am
Re: How to install the firmware for GT2560
Hi! i need to update the firmware of my prusa i3 pro w. I search the firmware in this forum. There are two firmware available for my printer:
1. Pro w
2. Pro w gt2560A+ with 3d touch.
I wonder if the first firmware ( 1. Pro w) is for gt2560 or gt 2560 rev a +
1. Pro w
2. Pro w gt2560A+ with 3d touch.
I wonder if the first firmware ( 1. Pro w) is for gt2560 or gt 2560 rev a +
Re: How to install the firmware for GT2560
Please can anyone help?
I am trying to update the firmware on my I3 Pro B using Mac Book pro with the latest software.
Arduino: 1.8.6 (Mac OS X), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Build options changed, rebuilding all
In file included from sketch/Marlin.h:21:0,
from sketch/Marlin_main.cpp:30:
In file included from sketch/Marlin.h:21:0,
from sketch/Marlin_main.cpp:30:
In file included from sketch/Marlin.h:21:0,
from sketch/Marlin_main.cpp:30:
In file included from sketch/Marlin.h:21:0,
from sketch/Marlin_main.cpp:30:
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I am trying to update the firmware on my I3 Pro B using Mac Book pro with the latest software.
Arduino: 1.8.6 (Mac OS X), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Build options changed, rebuilding all
In file included from sketch/Marlin.h:21:0,
from sketch/Marlin_main.cpp:30:
Code: Select all
pins.h:1404:32: 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.
^
sketch/fastio.h:53:37: note: in definition of macro '_SET_OUTPUT'
#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)
^
sketch/Marlin_main.cpp:501:5: note: in expansion of macro 'SET_OUTPUT'
SET_OUTPUT(SUICIDE_PIN);
^
sketch/Marlin_main.cpp:501:16: note: in expansion of macro 'SUICIDE_PIN'
SET_OUTPUT(SUICIDE_PIN);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:53:64: note: in definition of macro '_SET_OUTPUT'
#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)
^
sketch/Marlin_main.cpp:501:5: note: in expansion of macro 'SET_OUTPUT'
SET_OUTPUT(SUICIDE_PIN);
^
sketch/Marlin_main.cpp:501:16: note: in expansion of macro 'SUICIDE_PIN'
SET_OUTPUT(SUICIDE_PIN);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:45:44: note: in definition of macro '_WRITE'
#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
^
sketch/Marlin_main.cpp:502:5: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, HIGH);
^
sketch/Marlin_main.cpp:502:11: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, HIGH);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:34:51: note: in definition of macro '_WRITE_C'
{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:502:5: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, HIGH);
^
sketch/Marlin_main.cpp:502:11: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, HIGH);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:34:79: note: in definition of macro '_WRITE_C'
{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:502:5: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, HIGH);
^
sketch/Marlin_main.cpp:502:11: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, HIGH);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:39:51: note: in definition of macro '_WRITE_C'
{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:502:5: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, HIGH);
^
sketch/Marlin_main.cpp:502:11: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, HIGH);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:39:80: note: in definition of macro '_WRITE_C'
{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:502:5: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, HIGH);
^
sketch/Marlin_main.cpp:502:11: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, HIGH);
^
from sketch/Marlin_main.cpp:30:
Code: Select all
pins.h:1404:32: 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.
^
sketch/fastio.h:30:48: note: in definition of macro '_WRITE_NC'
#define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:502:5: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, HIGH);
^
sketch/Marlin_main.cpp:502:11: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, HIGH);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:30:76: note: in definition of macro '_WRITE_NC'
#define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:502:5: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, HIGH);
^
sketch/Marlin_main.cpp:502:11: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, HIGH);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:30:105: note: in definition of macro '_WRITE_NC'
#define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:502:5: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, HIGH);
^
sketch/Marlin_main.cpp:502:11: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, HIGH);
^
In file included from sketch/Marlin.h:21:0,
from sketch/Marlin_main.cpp:30:
pins.h:1404:32: 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.
^
sketch/fastio.h:30:134: note: in definition of macro '_WRITE_NC'
#define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:502:5: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, HIGH);
^
sketch/Marlin_main.cpp:502:11: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, HIGH);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:53:37: note: in definition of macro '_SET_OUTPUT'
#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)
^
sketch/Marlin_main.cpp:517:5: note: in expansion of macro 'SET_OUTPUT'
SET_OUTPUT(SUICIDE_PIN);
^
sketch/Marlin_main.cpp:517:16: note: in expansion of macro 'SUICIDE_PIN'
SET_OUTPUT(SUICIDE_PIN);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:53:64: note: in definition of macro '_SET_OUTPUT'
#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)
^
sketch/Marlin_main.cpp:517:5: note: in expansion of macro 'SET_OUTPUT'
SET_OUTPUT(SUICIDE_PIN);
^
sketch/Marlin_main.cpp:517:16: note: in expansion of macro 'SUICIDE_PIN'
SET_OUTPUT(SUICIDE_PIN);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:45:44: note: in definition of macro '_WRITE'
#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
^
sketch/Marlin_main.cpp:518:5: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, LOW);
^
sketch/Marlin_main.cpp:518:11: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, LOW);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:34:51: note: in definition of macro '_WRITE_C'
{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:518:5: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, LOW);
^
sketch/Marlin_main.cpp:518:11: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, LOW);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:34:79: note: in definition of macro '_WRITE_C'
{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:518:5: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, LOW);
^
sketch/Marlin_main.cpp:518:11: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, LOW);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:39:51: note: in definition of macro '_WRITE_C'
{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:518:5: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, LOW);
^
sketch/Marlin_main.cpp:518:11: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, LOW);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:39:80: note: in definition of macro '_WRITE_C'
{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:518:5: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, LOW);
^
sketch/Marlin_main.cpp:518:11: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, LOW);
^
from sketch/Marlin_main.cpp:30:
Code: Select all
pins.h:1404:32: 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.
^
sketch/fastio.h:30:48: note: in definition of macro '_WRITE_NC'
#define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:518:5: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, LOW);
^
sketch/Marlin_main.cpp:518:11: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, LOW);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:30:76: note: in definition of macro '_WRITE_NC'
#define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:518:5: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, LOW);
^
sketch/Marlin_main.cpp:518:11: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, LOW);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:30:105: note: in definition of macro '_WRITE_NC'
#define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:518:5: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, LOW);
^
sketch/Marlin_main.cpp:518:11: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, LOW);
^
from sketch/Marlin_main.cpp:30:
Code: Select all
pins.h:1404:32: 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.
^
sketch/fastio.h:30:134: note: in definition of macro '_WRITE_NC'
#define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:518:5: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, LOW);
^
sketch/Marlin_main.cpp:518:11: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, LOW);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:53:37: note: in definition of macro '_SET_OUTPUT'
#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)
^
sketch/Marlin_main.cpp:2637:13: note: in expansion of macro 'SET_OUTPUT'
SET_OUTPUT(SUICIDE_PIN);
^
sketch/Marlin_main.cpp:2637:24: note: in expansion of macro 'SUICIDE_PIN'
SET_OUTPUT(SUICIDE_PIN);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:53:64: note: in definition of macro '_SET_OUTPUT'
#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)
^
sketch/Marlin_main.cpp:2637:13: note: in expansion of macro 'SET_OUTPUT'
SET_OUTPUT(SUICIDE_PIN);
^
sketch/Marlin_main.cpp:2637:24: note: in expansion of macro 'SUICIDE_PIN'
SET_OUTPUT(SUICIDE_PIN);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:45:44: note: in definition of macro '_WRITE'
#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
^
sketch/Marlin_main.cpp:2638:13: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, HIGH);
^
sketch/Marlin_main.cpp:2638:19: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, HIGH);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:34:51: note: in definition of macro '_WRITE_C'
{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:2638:13: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, HIGH);
^
sketch/Marlin_main.cpp:2638:19: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, HIGH);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:34:79: note: in definition of macro '_WRITE_C'
{DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:2638:13: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, HIGH);
^
sketch/Marlin_main.cpp:2638:19: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, HIGH);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:39:51: note: in definition of macro '_WRITE_C'
{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:2638:13: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, HIGH);
^
sketch/Marlin_main.cpp:2638:19: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, HIGH);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:39:80: note: in definition of macro '_WRITE_C'
{DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:2638:13: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, HIGH);
^
sketch/Marlin_main.cpp:2638:19: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, HIGH);
^
In file included from sketch/Marlin.h:21:0,
from sketch/Marlin_main.cpp:30:
pins.h:1404:32: 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.
^
sketch/fastio.h:30:48: note: in definition of macro '_WRITE_NC'
#define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:2638:13: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, HIGH);
^
sketch/Marlin_main.cpp:2638:19: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, HIGH);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:30:76: note: in definition of macro '_WRITE_NC'
#define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:2638:13: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, HIGH);
^
sketch/Marlin_main.cpp:2638:19: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, HIGH);
^
pins.h:1404:32: 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.
^
sketch/fastio.h:30:105: note: in definition of macro '_WRITE_NC'
#define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:2638:13: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, HIGH);
^
sketch/Marlin_main.cpp:2638:19: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, HIGH);
^
In file included from sketch/Marlin.h:21:0,
from sketch/Marlin_main.cpp:30:
pins.h:1404:32: 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.
^
sketch/fastio.h:30:134: note: in definition of macro '_WRITE_NC'
#define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
^
sketch/fastio.h:68:23: note: in expansion of macro '_WRITE'
#define WRITE(IO, v) _WRITE(IO, v)
^
sketch/Marlin_main.cpp:2638:13: note: in expansion of macro 'WRITE'
WRITE(SUICIDE_PIN, HIGH);
^
sketch/Marlin_main.cpp:2638:19: note: in expansion of macro 'SUICIDE_PIN'
WRITE(SUICIDE_PIN, HIGH);
^
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
"Show verbose output during compilation"
option enabled in File -> Preferences.
Re: How to install the firmware for GT2560
Could you attach the firmware link?JHDain wrote: ↑Sat Nov 17, 2018 6:07 amPlease can anyone help?
I am trying to update the firmware on my I3 Pro B using Mac Book pro with the latest software.
Arduino: 1.8.6 (Mac OS X), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Build options changed, rebuilding all
In file included from sketch/Marlin.h:21:0,
from sketch/Marlin_main.cpp:30:In file included from sketch/Marlin.h:21:0,Code: Select all
pins.h:1404:32: 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. ^ sketch/fastio.h:53:37: note: in definition of macro '_SET_OUTPUT' #define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0) ^ sketch/Marlin_main.cpp:501:5: note: in expansion of macro 'SET_OUTPUT' SET_OUTPUT(SUICIDE_PIN); ^ sketch/Marlin_main.cpp:501:16: note: in expansion of macro 'SUICIDE_PIN' SET_OUTPUT(SUICIDE_PIN); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:53:64: note: in definition of macro '_SET_OUTPUT' #define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0) ^ sketch/Marlin_main.cpp:501:5: note: in expansion of macro 'SET_OUTPUT' SET_OUTPUT(SUICIDE_PIN); ^ sketch/Marlin_main.cpp:501:16: note: in expansion of macro 'SUICIDE_PIN' SET_OUTPUT(SUICIDE_PIN); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:45:44: note: in definition of macro '_WRITE' #define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0) ^ sketch/Marlin_main.cpp:502:5: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, HIGH); ^ sketch/Marlin_main.cpp:502:11: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, HIGH); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:34:51: note: in definition of macro '_WRITE_C' {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\ ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:502:5: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, HIGH); ^ sketch/Marlin_main.cpp:502:11: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, HIGH); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:34:79: note: in definition of macro '_WRITE_C' {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\ ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:502:5: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, HIGH); ^ sketch/Marlin_main.cpp:502:11: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, HIGH); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:39:51: note: in definition of macro '_WRITE_C' {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\ ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:502:5: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, HIGH); ^ sketch/Marlin_main.cpp:502:11: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, HIGH); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:39:80: note: in definition of macro '_WRITE_C' {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\ ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:502:5: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, HIGH); ^ sketch/Marlin_main.cpp:502:11: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, HIGH); ^
from sketch/Marlin_main.cpp:30:In file included from sketch/Marlin.h:21:0,Code: Select all
pins.h:1404:32: 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. ^ sketch/fastio.h:30:48: note: in definition of macro '_WRITE_NC' #define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:502:5: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, HIGH); ^ sketch/Marlin_main.cpp:502:11: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, HIGH); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:30:76: note: in definition of macro '_WRITE_NC' #define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:502:5: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, HIGH); ^ sketch/Marlin_main.cpp:502:11: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, HIGH); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:30:105: note: in definition of macro '_WRITE_NC' #define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:502:5: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, HIGH); ^ sketch/Marlin_main.cpp:502:11: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, HIGH); ^ In file included from sketch/Marlin.h:21:0, from sketch/Marlin_main.cpp:30: pins.h:1404:32: 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. ^ sketch/fastio.h:30:134: note: in definition of macro '_WRITE_NC' #define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:502:5: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, HIGH); ^ sketch/Marlin_main.cpp:502:11: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, HIGH); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:53:37: note: in definition of macro '_SET_OUTPUT' #define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0) ^ sketch/Marlin_main.cpp:517:5: note: in expansion of macro 'SET_OUTPUT' SET_OUTPUT(SUICIDE_PIN); ^ sketch/Marlin_main.cpp:517:16: note: in expansion of macro 'SUICIDE_PIN' SET_OUTPUT(SUICIDE_PIN); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:53:64: note: in definition of macro '_SET_OUTPUT' #define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0) ^ sketch/Marlin_main.cpp:517:5: note: in expansion of macro 'SET_OUTPUT' SET_OUTPUT(SUICIDE_PIN); ^ sketch/Marlin_main.cpp:517:16: note: in expansion of macro 'SUICIDE_PIN' SET_OUTPUT(SUICIDE_PIN); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:45:44: note: in definition of macro '_WRITE' #define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0) ^ sketch/Marlin_main.cpp:518:5: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, LOW); ^ sketch/Marlin_main.cpp:518:11: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, LOW); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:34:51: note: in definition of macro '_WRITE_C' {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\ ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:518:5: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, LOW); ^ sketch/Marlin_main.cpp:518:11: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, LOW); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:34:79: note: in definition of macro '_WRITE_C' {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\ ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:518:5: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, LOW); ^ sketch/Marlin_main.cpp:518:11: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, LOW); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:39:51: note: in definition of macro '_WRITE_C' {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\ ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:518:5: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, LOW); ^ sketch/Marlin_main.cpp:518:11: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, LOW); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:39:80: note: in definition of macro '_WRITE_C' {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\ ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:518:5: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, LOW); ^ sketch/Marlin_main.cpp:518:11: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, LOW); ^
from sketch/Marlin_main.cpp:30:In file included from sketch/Marlin.h:21:0,Code: Select all
pins.h:1404:32: 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. ^ sketch/fastio.h:30:48: note: in definition of macro '_WRITE_NC' #define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:518:5: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, LOW); ^ sketch/Marlin_main.cpp:518:11: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, LOW); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:30:76: note: in definition of macro '_WRITE_NC' #define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:518:5: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, LOW); ^ sketch/Marlin_main.cpp:518:11: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, LOW); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:30:105: note: in definition of macro '_WRITE_NC' #define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:518:5: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, LOW); ^ sketch/Marlin_main.cpp:518:11: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, LOW); ^
from sketch/Marlin_main.cpp:30:This report would have more information withCode: Select all
pins.h:1404:32: 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. ^ sketch/fastio.h:30:134: note: in definition of macro '_WRITE_NC' #define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:518:5: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, LOW); ^ sketch/Marlin_main.cpp:518:11: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, LOW); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:53:37: note: in definition of macro '_SET_OUTPUT' #define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0) ^ sketch/Marlin_main.cpp:2637:13: note: in expansion of macro 'SET_OUTPUT' SET_OUTPUT(SUICIDE_PIN); ^ sketch/Marlin_main.cpp:2637:24: note: in expansion of macro 'SUICIDE_PIN' SET_OUTPUT(SUICIDE_PIN); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:53:64: note: in definition of macro '_SET_OUTPUT' #define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0) ^ sketch/Marlin_main.cpp:2637:13: note: in expansion of macro 'SET_OUTPUT' SET_OUTPUT(SUICIDE_PIN); ^ sketch/Marlin_main.cpp:2637:24: note: in expansion of macro 'SUICIDE_PIN' SET_OUTPUT(SUICIDE_PIN); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:45:44: note: in definition of macro '_WRITE' #define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0) ^ sketch/Marlin_main.cpp:2638:13: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, HIGH); ^ sketch/Marlin_main.cpp:2638:19: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, HIGH); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:34:51: note: in definition of macro '_WRITE_C' {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\ ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:2638:13: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, HIGH); ^ sketch/Marlin_main.cpp:2638:19: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, HIGH); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:34:79: note: in definition of macro '_WRITE_C' {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\ ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:2638:13: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, HIGH); ^ sketch/Marlin_main.cpp:2638:19: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, HIGH); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:39:51: note: in definition of macro '_WRITE_C' {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\ ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:2638:13: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, HIGH); ^ sketch/Marlin_main.cpp:2638:19: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, HIGH); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:39:80: note: in definition of macro '_WRITE_C' {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\ ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:2638:13: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, HIGH); ^ sketch/Marlin_main.cpp:2638:19: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, HIGH); ^ In file included from sketch/Marlin.h:21:0, from sketch/Marlin_main.cpp:30: pins.h:1404:32: 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. ^ sketch/fastio.h:30:48: note: in definition of macro '_WRITE_NC' #define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:2638:13: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, HIGH); ^ sketch/Marlin_main.cpp:2638:19: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, HIGH); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:30:76: note: in definition of macro '_WRITE_NC' #define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:2638:13: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, HIGH); ^ sketch/Marlin_main.cpp:2638:19: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, HIGH); ^ pins.h:1404:32: 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. ^ sketch/fastio.h:30:105: note: in definition of macro '_WRITE_NC' #define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:2638:13: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, HIGH); ^ sketch/Marlin_main.cpp:2638:19: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, HIGH); ^ In file included from sketch/Marlin.h:21:0, from sketch/Marlin_main.cpp:30: pins.h:1404:32: 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. ^ sketch/fastio.h:30:134: note: in definition of macro '_WRITE_NC' #define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0) ^ sketch/fastio.h:68:23: note: in expansion of macro '_WRITE' #define WRITE(IO, v) _WRITE(IO, v) ^ sketch/Marlin_main.cpp:2638:13: note: in expansion of macro 'WRITE' WRITE(SUICIDE_PIN, HIGH); ^ sketch/Marlin_main.cpp:2638:19: note: in expansion of macro 'SUICIDE_PIN' WRITE(SUICIDE_PIN, HIGH); ^ 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
"Show verbose output during compilation"
option enabled in File -> Preferences.
-Keep your mind and try to test it.
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!