Error when uploading Marling Firmware

PseudoXenon
Posts: 17
Joined: Wed Apr 01, 2015 7:50 pm

Error when uploading Marling Firmware

Post 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
zhangxueyou
Posts: 1405
Joined: Fri Feb 06, 2015 1:33 pm

Re: Error when uploading Marling Firmware

Post by zhangxueyou »

Hello,
What is your printer type? What is the mainboard type?
PseudoXenon
Posts: 17
Joined: Wed Apr 01, 2015 7:50 pm

Re: Error when uploading Marling Firmware

Post by PseudoXenon »

it is a prusa mendel, this is my board: http://www.geeetech.com/generation-6-el ... p-677.html
zhangxueyou
Posts: 1405
Joined: Fri Feb 06, 2015 1:33 pm

Re: Error when uploading Marling Firmware

Post by zhangxueyou »

Board type is "sanguino W/ATMEGA644P "
PseudoXenon
Posts: 17
Joined: Wed Apr 01, 2015 7:50 pm

Re: Error when uploading Marling Firmware

Post by PseudoXenon »

I have been following these instructions: http://www.geeetech.com/wiki/index.php/ ... lectronics
but i cannot get the firmware to upload
zhangxueyou
Posts: 1405
Joined: Fri Feb 06, 2015 1:33 pm

Re: Error when uploading Marling Firmware

Post 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.
PseudoXenon
Posts: 17
Joined: Wed Apr 01, 2015 7:50 pm

Re: Error when uploading Marling Firmware

Post by PseudoXenon »

I have tried that board type
Email: bpgraf@live.com.au
PseudoXenon
Posts: 17
Joined: Wed Apr 01, 2015 7:50 pm

Re: Error when uploading Marling Firmware

Post 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
zhangxueyou
Posts: 1405
Joined: Fri Feb 06, 2015 1:33 pm

Re: Error when uploading Marling Firmware

Post by zhangxueyou »

Did you drag all the files into Arduino IDE?
PseudoXenon
Posts: 17
Joined: Wed Apr 01, 2015 7:50 pm

Re: Error when uploading Marling Firmware

Post by PseudoXenon »

Yes i did
Post Reply