Page 1 of 1
Error when uploading repetier max
Posted: Thu Jul 18, 2013 6:24 pm
by 3d hi maui
This is a newby question. When uploading repetier max i get an error code from extruder.cpp ,const uint8 osAnalogInputChannels[] PROGMEM = ANALOG_INPUT_CHANNELS;
'TEMP_BED_PIN' was not declared in this scope
I have no idea what to do ? Thanks in advance for any and all help !
Re: Error when uploading repetier max
Posted: Thu Jul 18, 2013 9:01 pm
by Polygonhell
It's a compilation error, where did you get Repetier from? the version provided by SeeMeCNC should just work.
Re: Error when uploading repetier max
Posted: Thu Jul 18, 2013 9:26 pm
by 3d hi maui
@Polygonhell,
Thanks for your response, I downloaded repetier max from Seemecnc site about two months ago.
Should I re-download and try again ?
Aloha,
Jay Dub
Re: Error when uploading repetier max
Posted: Thu Jul 18, 2013 10:08 pm
by Polygonhell
Probably not a bad idea, you should also make sure you use whatever version of the arduino IDE SeeMeCNCis currently recommending.
Re: Error when uploading repetier max
Posted: Fri Jul 19, 2013 6:14 pm
by 3d hi maui
I re-downloaded repetier max and uploaded it to my ramps, and it uploaded correctly.
When i go to make changes in Config.H for my specific machine a "Kossel" I'm getting the same error code on line 221 of Extruder .cpp ....
.const uint8 osAnalogInputChannels[] PROGMEM = ANALOG_INPUT_CHANNELS;
Any ideas?
Thanks
Jay Dub
Re: Error when uploading repetier max
Posted: Fri Jul 19, 2013 7:44 pm
by foshon
If your using SMCNC's RepMax do not change anything out of the box, just upload it.
Re: Error when uploading repetier max
Posted: Fri Jul 19, 2013 8:29 pm
by 3d hi maui
foshon wrote:If your using SMCNC's RepMax do not change anything out of the box, just upload it.
I'm setting up the repetier max to be used with a Kossel printer, how can i use without making any changes ?
Re: Error when uploading repetier max
Posted: Fri Jul 19, 2013 9:23 pm
by Polygonhell
Then whatever changes you are making are invalid, what are you changing?
Re: Error when uploading repetier max
Posted: Fri Jul 19, 2013 9:35 pm
by 3d hi maui
Just the typical adjustments, motherboard type etc.
Re: Error when uploading repetier max
Posted: Fri Jul 19, 2013 10:35 pm
by Polygonhell
Something you are doing is stopping it compiling.
You need to change one thing at a time until it stops working, once you've identified that, helping will be a lot easier.
Re: Error when uploading repetier max
Posted: Sat Jul 20, 2013 11:30 am
by foshon
3d hi maui wrote:foshon wrote:If your using SMCNC's RepMax do not change anything out of the box, just upload it.
I'm setting up the repetier max to be used with a Kossel printer, how can i use without making any changes ?
A Kossel is in the same category as any other delta, that portion should be set.
Code: Select all
/* Define the type of axis movements needed for your printer. The typical case
is a full cartesian system where x, y and z moves are handled by seperate motors.
0 = full cartesian system, xyz have seperate motors.
1 = z axis + xy H-gantry (x_motor = x+y, y_motor = x-y)
2 = z axis + xy H-gantry (x_motor = x+y, y_motor = y-x)
3 = Delta printers (Rostock, Kossel, RostockMax, Cerberus, etc)
Cases 1 and 2 cover all needed xy H gantry systems. If you get results mirrored etc. you can swap motor connections for x and y. If a motor turns in
the wrong direction change INVERT_X_DIR or INVERT_Y_DIR.
*/
#define DRIVE_SYSTEM 3 //Delta Rostock MAX
Re: Error when uploading repetier max
Posted: Tue Jul 23, 2013 7:37 pm
by 3d hi maui
Hello,
I am still getting the same error code but only when i change the mother board from " 301 Rambo board" to "33 ramps 1.4 ".
All other changes have been successful and have compiled correctly, Why will it not compile correctly when i choose the Ramps 1.4 ?
Thanks for your patients and time, it is much appreciated !
Re: Error when uploading repetier max
Posted: Tue Jul 23, 2013 8:36 pm
by Polygonhell
3d hi maui wrote:
All other changes have been successful and have compiled correctly, Why will it not compile correctly when i choose the Ramps 1.4 ?
Thanks for your patients and time, it is much appreciated !
There are a number of settings for digipots values etc that might not work on a RAMPS 1.4, there might also be an issue with the pins the LCD is set up to use.
Around the line that gives the error is there a #if statement I so what does it say.
Re: Error when uploading repetier max
Posted: Tue Jul 23, 2013 8:48 pm
by 3d hi maui
Yes, here it is.
#if ANALOG_INPUTS>0
Re: Error when uploading repetier max
Posted: Tue Jul 23, 2013 9:11 pm
by Polygonhell
Actually I just looked at the original error, you need to define TEMP_BED_PIN in configuration.h.
It's probably set to something that isn't defined in pins.h for the RAMPS board.