Page 1 of 2

Error when uploading Marling Firmware

Posted: Wed Apr 01, 2015 7:54 pm
by PseudoXenon
I have been following the Gen 6 electronics manual. I have tried to upload the marlin firmware to my gen 6 but it give me this error:
C:\Users\Brendon\AppData\Local\Temp\build542510490898441757.tmp\/pins.h:1273:3: error: #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.

I have selected the correct com port, and I have selected the board: sangino W/ATMEGA644P 16
does anyone know what the problem is?


Regards
Pseudo

Re: Error when uploading Marling Firmware

Posted: Thu Apr 02, 2015 9:38 am
by zhangxueyou
Hello,
What is your printer type? What is the mainboard type?

Re: Error when uploading Marling Firmware

Posted: Thu Apr 02, 2015 1:25 pm
by PseudoXenon
it is a prusa mendel, this is my board: http://www.geeetech.com/generation-6-el ... p-677.html

Re: Error when uploading Marling Firmware

Posted: Thu Apr 02, 2015 1:55 pm
by zhangxueyou
Board type is "sanguino W/ATMEGA644P "

Re: Error when uploading Marling Firmware

Posted: Thu Apr 02, 2015 2:19 pm
by PseudoXenon
I have been following these instructions: http://www.geeetech.com/wiki/index.php/ ... lectronics
but i cannot get the firmware to upload

Re: Error when uploading Marling Firmware

Posted: Thu Apr 02, 2015 4:17 pm
by zhangxueyou
Please try board type" sanguino W/AT mega1284p 16mhz".
And please leave your email address. If there is still error, I will send you a firmware for testing.

Re: Error when uploading Marling Firmware

Posted: Thu Apr 02, 2015 10:01 pm
by PseudoXenon
I have tried that board type
Email: bpgraf@live.com.au

Re: Error when uploading Marling Firmware

Posted: Fri Apr 03, 2015 10:18 am
by PseudoXenon
I have used the firmware you sent, when i try to upload it i get the following error:
In file included from cardreader.cpp:1:
/Marlin.h:30:22: error: Arduino.h: No such file or directory
In file included from /Marlin.h:37,
from cardreader.cpp:1:
MarlinSerial.h:150: error: expected ',' or '...' before '&' token
MarlinSerial.h:150: error: ISO C++ forbids declaration of 'String' with no type
MarlinSerial.h:169: error: expected ',' or '...' before '&' token
MarlinSerial.h:169: error: ISO C++ forbids declaration of 'String' with no type
/MarlinSerial.h: In member function 'void MarlinSerial::print(int)':
MarlinSerial.h:152: error: 's' was not declared in this scope

Re: Error when uploading Marling Firmware

Posted: Fri Apr 03, 2015 10:33 am
by zhangxueyou
Did you drag all the files into Arduino IDE?

Re: Error when uploading Marling Firmware

Posted: Fri Apr 03, 2015 10:37 am
by PseudoXenon
Yes i did