Welcome! Log In Create A New Profile

Advanced

Error uploading new Marlin

Posted by akcasper 
Error uploading new Marlin
January 28, 2017 10:06AM
Hi,

I'm new in all 3D printing world... trying to configure and upload the Marlin FW and getting error message about this line (in boards.h):

#define MB(board) (MOTHERBOARD==BOARD_RAMPS_14_EEB )

What should I do?

Tanx

Edited 1 time(s). Last edit at 01/28/2017 10:09AM by akcasper.
Re: Error uploading new Marlin
January 29, 2017 05:50PM
You might want to download the file set again and compare your current configuration.h and configuration_adv.h to the unmodified version of those files.

You might also want to compile the unmodified file set just so you have confidence it works with no changes.

I think what you are fighting is you deleted a semi-colon or some how did something that is confusing the compiler.

Another trick you can do is start with the unmodified file set and just change one thing at a time and verify you can still get it to compile clean. If an error creeps in, you will then know exactly what change caused the problem.
Re: Error uploading new Marlin
January 30, 2017 04:35AM
What board have you defined in the configuration.h ?
Re: Error uploading new Marlin
January 30, 2017 02:29PM
Roxy - tanx, I'll try...

obewan - this is what i have writen:
in configuration.h:
#ifndef MOTHERBOARD
#define BOARD_RAMPS_14_EEB
#endif

in boards.h:
#define MB (MOTHERBOARD==BOARD_RAMPS_14_EEcool smiley

Edited 1 time(s). Last edit at 01/30/2017 02:31PM by akcasper.
Re: Error uploading new Marlin
January 30, 2017 03:24PM
Quote
akcasper
Roxy - tanx, I'll try...

obewan - this is what i have writen:
in configuration.h:
#ifndef MOTHERBOARD
#define BOARD_RAMPS_14_EEB
#endif

in boards.h:
#define MB (MOTHERBOARD==BOARD_RAMPS_14_EEcool smiley

You have 2 extruders and heated bed ?
try

#ifndef MOTHERBOARD
#define MOTHERBOARD BOARD_RAMPS_14_EEB
#endif
Re: Error uploading new Marlin
January 30, 2017 03:31PM
No, just 1 extruder. I ahve attached a photo if the board connections

Tank you!
Attachments:
open | download - IMG-20170130-WA0007.jpg (184.7 KB)
Re: Error uploading new Marlin
January 30, 2017 03:43PM
Ok so 1 extruder 1 heated bed 1 print cooling fan

in config.h you need

#ifndef MOTHERBOARD
#define MOTHERBOARD BOARD_RAMPS_14_EFB
#endif
Re: Error uploading new Marlin
January 30, 2017 04:36PM
#define MOTHERBOARD BOARD_RAMPS_14_EFB

The reason is the RAMPS board is used in so many different configurations. In this case, you have an Extruder, a Fan, and a heated Bed.
Sorry, only registered users may post in this forum.

Click here to login