Error when uploading repetier max

Having a problem? Post it here and someone will be along shortly to help
Post Reply
3d hi maui
Plasticator
Posts: 9
Joined: Thu Jul 18, 2013 6:04 pm

Error when uploading repetier max

Post 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 !
Polygonhell
ULTIMATE 3D JEDI
Posts: 2417
Joined: Mon Mar 26, 2012 1:44 pm
Location: Redmond WA

Re: Error when uploading repetier max

Post by Polygonhell »

It's a compilation error, where did you get Repetier from? the version provided by SeeMeCNC should just work.
3d hi maui
Plasticator
Posts: 9
Joined: Thu Jul 18, 2013 6:04 pm

Re: Error when uploading repetier max

Post 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
Polygonhell
ULTIMATE 3D JEDI
Posts: 2417
Joined: Mon Mar 26, 2012 1:44 pm
Location: Redmond WA

Re: Error when uploading repetier max

Post by Polygonhell »

Probably not a bad idea, you should also make sure you use whatever version of the arduino IDE SeeMeCNCis currently recommending.
3d hi maui
Plasticator
Posts: 9
Joined: Thu Jul 18, 2013 6:04 pm

Re: Error when uploading repetier max

Post 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
User avatar
foshon
Printmaster!
Posts: 600
Joined: Fri Mar 08, 2013 3:05 pm
Location: Just to the right of SeeMeCNC

Re: Error when uploading repetier max

Post by foshon »

If your using SMCNC's RepMax do not change anything out of the box, just upload it.
Purple = sarcasm

Please do a board search before posting your question, many have been answered with very time consuming detail already.
3d hi maui
Plasticator
Posts: 9
Joined: Thu Jul 18, 2013 6:04 pm

Re: Error when uploading repetier max

Post 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 ?
Polygonhell
ULTIMATE 3D JEDI
Posts: 2417
Joined: Mon Mar 26, 2012 1:44 pm
Location: Redmond WA

Re: Error when uploading repetier max

Post by Polygonhell »

Then whatever changes you are making are invalid, what are you changing?
3d hi maui
Plasticator
Posts: 9
Joined: Thu Jul 18, 2013 6:04 pm

Re: Error when uploading repetier max

Post by 3d hi maui »

Just the typical adjustments, motherboard type etc.
Polygonhell
ULTIMATE 3D JEDI
Posts: 2417
Joined: Mon Mar 26, 2012 1:44 pm
Location: Redmond WA

Re: Error when uploading repetier max

Post 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.
User avatar
foshon
Printmaster!
Posts: 600
Joined: Fri Mar 08, 2013 3:05 pm
Location: Just to the right of SeeMeCNC

Re: Error when uploading repetier max

Post 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
Purple = sarcasm

Please do a board search before posting your question, many have been answered with very time consuming detail already.
3d hi maui
Plasticator
Posts: 9
Joined: Thu Jul 18, 2013 6:04 pm

Re: Error when uploading repetier max

Post 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 !
Polygonhell
ULTIMATE 3D JEDI
Posts: 2417
Joined: Mon Mar 26, 2012 1:44 pm
Location: Redmond WA

Re: Error when uploading repetier max

Post 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.
3d hi maui
Plasticator
Posts: 9
Joined: Thu Jul 18, 2013 6:04 pm

Re: Error when uploading repetier max

Post by 3d hi maui »

Yes, here it is.

#if ANALOG_INPUTS>0
Polygonhell
ULTIMATE 3D JEDI
Posts: 2417
Joined: Mon Mar 26, 2012 1:44 pm
Location: Redmond WA

Re: Error when uploading repetier max

Post 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.
Post Reply

Return to “Troubleshooting”