Welcome! Log In Create A New Profile

Advanced

Repetier-Firmware Configuration Tool

Posted by repetier 
Re: Repetier-Firmware Configuration Tool
January 19, 2014 12:45PM
Thanks again. None of the settings (that I tried changing) in config H were able to invert my endstop setting to coinside with my homing positions. I went to pins H and reversed the pins on the X and Y endstops (MIN and MAX) and this resolved my problem.
Re: Repetier-Firmware Configuration Tool
January 19, 2014 12:50PM
The endstop setting has nothing to do with homing position. Homing position is set with these:

X homing in negative direction direction (towards min endstop).
Y homing in negative direction direction (towards min endstop).
Z homing in negative direction direction (towards min endstop).

The endstop settings is only to tell you have an endstop and which type of endstop., so M119 returns the right signals.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Repetier-Firmware Configuration Tool
January 19, 2014 04:12PM
Understood. Thanks
Re: Repetier-Firmware Configuration Tool
February 26, 2014 02:14PM
I am starting for using this software on my own printer build project.
I wont to use a arduino mega 256 and my motor drive system.
While i fond your configuration program i selected for the motherboard "Own layout using userpins.h" and i expect a file in the firmware download to start.

Is there any example of this file userpins.h because this is not included in the download.

Thank you in advance
Re: Repetier-Firmware Configuration Tool
February 27, 2014 11:45AM
The pins.h is full of examples. You can simply copy one of the motherboard definitions without the #if MOTHERBOARD = xx like for the Rumba you would get:

#define KNOWN_BOARD 1

#ifndef __AVR_ATmega2560__
#error Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
#endif

#define X_STEP_PIN         17
#define X_DIR_PIN          16
#define X_ENABLE_PIN       48
#define X_MIN_PIN          37
#define X_MAX_PIN          36   //Max endstops default to disabled "-1"

#define Y_STEP_PIN         54
#define Y_DIR_PIN          47
#define Y_ENABLE_PIN       55
#define Y_MIN_PIN          35
#define Y_MAX_PIN          34

#define Z_STEP_PIN         57
#define Z_DIR_PIN          56
#define Z_ENABLE_PIN       62
#define Z_MIN_PIN          33
#define Z_MAX_PIN          32

#define E0_STEP_PIN         23
#define E0_DIR_PIN          22
#define E0_ENABLE_PIN       24

#define E1_STEP_PIN        26
#define E1_DIR_PIN         25
#define E1_ENABLE_PIN      27

#define E2_STEP_PIN        29
#define E2_DIR_PIN         28
#define E2_ENABLE_PIN      39

#define LED_PIN            13

#define FAN_PIN            7
#define FAN1 PIN  8 // (e.g. useful for electronics fan or light on/off) on PIN 8

#define PS_ON_PIN          45

#define HEATER_0_PIN       2    // EXTRUDER 1
#define HEATER_2_PIN       3    // EXTRUDER 2
#define HEATER_3_PIN       6    // EXTRUDER 3
//optional FAN1 can be used as 4th heater output: #define HEATER_4_PIN       8    // EXTRUDER 4
#define HEATER_1_PIN       9    // BED

#define TEMP_0_PIN         15   // ANALOG NUMBERING
#define TEMP_2_PIN         14   // ANALOG NUMBERING
#define TEMP_3_PIN         13   // ANALOG NUMBERING
//optional for extruder 4 or chamber: #define TEMP_2_PIN         12   // ANALOG NUMBERING
#define TEMP_1_PIN       11   // ANALOG NUMBERING

#define SDPOWER            -1
#define SDSS               53
#define SCK_PIN          52
#define MISO_PIN         50
#define MOSI_PIN         51

#define E0_PINS E0_STEP_PIN,E0_DIR_PIN,E0_ENABLE_PIN,
#define E1_PINS E1_STEP_PIN,E1_DIR_PIN,E1_ENABLE_PIN,
#define E2_PINS E2_STEP_PIN,E2_DIR_PIN,E2_ENABLE_PIN,

Then adjust pin numbers/channels to your board.
Thats all. It is not included, so it will never overwrite your personal pin definition.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Repetier-Firmware Configuration Tool
March 02, 2014 07:41AM
I'm trying to upgrade from rev4 to rev6 and I get fan pin error..

Commands.cpp:24: error: 'FAN_PIN' was not declared in this scope


I changed nothing, just uploaded my old configuration and download the new firmware including the configuration.

I'm using ramps 1.4 with Arduino MEGA, and I have a Delta.

Edited 2 time(s). Last edit at 03/02/2014 08:03AM by itaysp.
Re: Repetier-Firmware Configuration Tool
March 02, 2014 09:51AM
Yes, there is an error in the config process.

For now remove
#define FAN_PIN ORIG_FAN_PIN

and it should compile. I'm already searching for the solution.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Repetier-Firmware Configuration Tool
March 02, 2014 05:15PM
I was trying to upgrade to latest firmware code. Went through online config tool, got latest firmware master and placed Repetier from that inside master to mimic the 0.83 that I had previously. Then I thought I was all set, but got an error relating to fan pins.
I noticed that I had
#define FAN_PIN FAN_PIN
#define FAN_BOARD_PIN -1

I changed that to
#define FAN_PIN -1
#define FAN_BOARD_PIN -1

and got it to compile, but not sure if there was someplace I should have been getting FAN_PIN set from or if it was to take its value from FAN_BOARD_PIN somehow.

Wondering what the real fix is.
Re: Repetier-Firmware Configuration Tool
March 02, 2014 05:41PM
Another thing I found after more looking
Should have used ORIG_FAN_PIN which is 9 to get fans working again, I believe.
Also saw what I believe is a mistake:

new not working
#define ORIG_Z_STEP_PIN 46
#define ORIG_Z_DIR_PIN 48
old was working
#define Z_STEP_PIN 44
#define Z_DIR_PIN 46

I am changing in mine to
#define ORIG_Z_STEP_PIN 44
#define ORIG_Z_DIR_PIN 46

If that was not a mistake, I somehow rewired mine to work for this configuration and I have to rewire back to be compatible. I made a board to be like the one in use, but am driving the old reprap motor controllers rather than the new step sticks.
Re: Repetier-Firmware Configuration Tool
March 03, 2014 01:42AM
This

#define ORIG_Z_STEP_PIN 46
#define ORIG_Z_DIR_PIN 48

is for Ramps 1.3/1.4

and

#define ORIG_Z_STEP_PIN 44
#define ORIG_Z_DIR_PIN 46

is the original Ramps 1.1/1.2 pin assignment. So be careful with your board version.
Re: Repetier-Firmware Configuration Tool
March 03, 2014 02:17PM
I used the configuration tool before and everything was fine. Today I added Z-Probing and now Arduino display realy lots of errors.
Even if I remove the Z-Probe I cant get Arduino to upload the sketch.

I use Arduino 1.0.5-r2 / Windows 7 64-bit. Can you help please?


In file included from /Repetier.h:379,
from Commands.cpp:22:
/Printer.h: In static member function 'static void Printer::disableXStepper()':
Printer.h:197: error: 'DIOX_ENABLE_PIN_WPORT' was not declared in this scope
Printer.h:197: error: 'DIOX_ENABLE_PIN_PIN' was not declared in this scope
Printer.h:197: error: 'DIOX_ENABLE_PIN_WPORT' was not declared in this scope
Printer.h:197: error: 'DIOX_ENABLE_PIN_PIN' was not declared in this scope
/Printer.h: In static member function 'static void Printer::disableYStepper()':
Printer.h:207: error: 'DIOY_ENABLE_PIN_WPORT' was not declared in this scope
Printer.h:207: error: 'DIOY_ENABLE_PIN_PIN' was not declared in this scope
Printer.h:207: error: 'DIOY_ENABLE_PIN_WPORT' was not declared in this scope
Printer.h:207: error: 'DIOY_ENABLE_PIN_PIN' was not declared in this scope
/Printer.h: In static member function 'static void Printer::disableZStepper()':
Printer.h:217: error: 'DIOZ_ENABLE_PIN_WPORT' was not declared in this scope
Printer.h:217: error: 'DIOZ_ENABLE_PIN_PIN' was not declared in this scope
Printer.h:217: error: 'DIOZ_ENABLE_PIN_WPORT' was not declared in this scope
Printer.h:217: error: 'DIOZ_ENABLE_PIN_PIN' was not declared in this scope
/Printer.h: In static member function 'static void Printer::enableXStepper()':
Printer.h:227: error: 'DIOX_ENABLE_PIN_WPORT' was not declared in this scope
Printer.h:227: error: 'DIOX_ENABLE_PIN_PIN' was not declared in this scope
Printer.h:227: error: 'DIOX_ENABLE_PIN_WPORT' was not declared in this scope
Printer.h:227: error: 'DIOX_ENABLE_PIN_PIN' was not declared in this scope
/Printer.h: In static member function 'static void Printer::enableYStepper()':
Printer.h:237: error: 'DIOY_ENABLE_PIN_WPORT' was not declared in this scope
Printer.h:237: error: 'DIOY_ENABLE_PIN_PIN' was not declared in this scope
Printer.h:237: error: 'DIOY_ENABLE_PIN_WPORT' was not declared in this scope
Printer.h:237: error: 'DIOY_ENABLE_PIN_PIN' was not declared in this scope
/Printer.h: In static member function 'static void Printer::enableZStepper()':
Printer.h:247: error: 'DIOZ_ENABLE_PIN_WPORT' was not declared in this scope
Printer.h:247: error: 'DIOZ_ENABLE_PIN_PIN' was not declared in this scope
Printer.h:247: error: 'DIOZ_ENABLE_PIN_WPORT' was not declared in this scope
Printer.h:247: error: 'DIOZ_ENABLE_PIN_PIN' was not declared in this scope
/Printer.h: In static member function 'static void Printer::setXDirection(bool)':
Printer.h:257: error: 'DIOX_DIR_PIN_WPORT' was not declared in this scope
Printer.h:257: error: 'DIOX_DIR_PIN_PIN' was not declared in this scope
Printer.h:257: error: 'DIOX_DIR_PIN_WPORT' was not declared in this scope
Printer.h:257: error: 'DIOX_DIR_PIN_PIN' was not declared in this scope
Printer.h:264: error: 'DIOX_DIR_PIN_WPORT' was not declared in this scope
Printer.h:264: error: 'DIOX_DIR_PIN_PIN' was not declared in this scope
Printer.h:264: error: 'DIOX_DIR_PIN_WPORT' was not declared in this scope
Printer.h:264: error: 'DIOX_DIR_PIN_PIN' was not declared in this scope
/Printer.h: In static member function 'static void Printer::setYDirection(bool)':
Printer.h:274: error: 'DIOY_DIR_PIN_WPORT' was not declared in this scope
Printer.h:274: error: 'DIOY_DIR_PIN_PIN' was not declared in this scope
Printer.h:274: error: 'DIOY_DIR_PIN_WPORT' was not declared in this scope
Printer.h:274: error: 'DIOY_DIR_PIN_PIN' was not declared in this scope
Printer.h:281: error: 'DIOY_DIR_PIN_WPORT' was not declared in this scope
Printer.h:281: error: 'DIOY_DIR_PIN_PIN' was not declared in this scope
Printer.h:281: error: 'DIOY_DIR_PIN_WPORT' was not declared in this scope
Printer.h:281: error: 'DIOY_DIR_PIN_PIN' was not declared in this scope
/Printer.h: In static member function 'static void Printer::setZDirection(bool)':
Printer.h:291: error: 'DIOZ_DIR_PIN_WPORT' was not declared in this scope
Printer.h:291: error: 'DIOZ_DIR_PIN_PIN' was not declared in this scope
Printer.h:291: error: 'DIOZ_DIR_PIN_WPORT' was not declared in this scope
Printer.h:291: error: 'DIOZ_DIR_PIN_PIN' was not declared in this scope
Printer.h:298: error: 'DIOZ_DIR_PIN_WPORT' was not declared in this scope
Printer.h:298: error: 'DIOZ_DIR_PIN_PIN' was not declared in this scope
Printer.h:298: error: 'DIOZ_DIR_PIN_WPORT' was not declared in this scope
Printer.h:298: error: 'DIOZ_DIR_PIN_PIN' was not declared in this scope
/Printer.h: In static member function 'static bool Printer::isXMaxEndstopHit()':
Printer.h:394: error: 'DIOX_MAX_PIN_RPORT' was not declared in this scope
Printer.h:394: error: 'DIOX_MAX_PIN_PIN' was not declared in this scope
/Printer.h: In static member function 'static bool Printer::isYMaxEndstopHit()':
Printer.h:402: error: 'DIOY_MAX_PIN_RPORT' was not declared in this scope
Printer.h:402: error: 'DIOY_MAX_PIN_PIN' was not declared in this scope
/Printer.h: In static member function 'static bool Printer::isZMaxEndstopHit()':
Printer.h:410: error: 'DIOZ_MAX_PIN_RPORT' was not declared in this scope
Printer.h:410: error: 'DIOZ_MAX_PIN_PIN' was not declared in this scope
/Printer.h: In static member function 'static void Printer::endXYZSteps()':
Printer.h:506: error: 'DIOX_STEP_PIN_WPORT' was not declared in this scope
Printer.h:506: error: 'DIOX_STEP_PIN_PIN' was not declared in this scope
Printer.h:506: error: 'DIOX_STEP_PIN_WPORT' was not declared in this scope
Printer.h:506: error: 'DIOX_STEP_PIN_PIN' was not declared in this scope
Printer.h:507: error: 'DIOY_STEP_PIN_WPORT' was not declared in this scope
Printer.h:507: error: 'DIOY_STEP_PIN_PIN' was not declared in this scope
Printer.h:507: error: 'DIOY_STEP_PIN_WPORT' was not declared in this scope
Printer.h:507: error: 'DIOY_STEP_PIN_PIN' was not declared in this scope
Printer.h:508: error: 'DIOZ_STEP_PIN_WPORT' was not declared in this scope
Printer.h:508: error: 'DIOZ_STEP_PIN_PIN' was not declared in this scope
Printer.h:508: error: 'DIOZ_STEP_PIN_WPORT' was not declared in this scope
Printer.h:508: error: 'DIOZ_STEP_PIN_PIN' was not declared in this scope
In file included from /Repetier.h:380,
from Commands.cpp:22:
/motion.h: In member function 'bool PrintLine::startXStep()':
motion.h:501: error: 'DIOX_STEP_PIN_WPORT' was not declared in this scope
motion.h:501: error: 'DIOX_STEP_PIN_PIN' was not declared in this scope
motion.h:501: error: 'DIOX_STEP_PIN_WPORT' was not declared in this scope
motion.h:501: error: 'DIOX_STEP_PIN_PIN' was not declared in this scope
/motion.h: In member function 'bool PrintLine::startYStep()':
motion.h:541: error: 'DIOY_STEP_PIN_WPORT' was not declared in this scope
motion.h:541: error: 'DIOY_STEP_PIN_PIN' was not declared in this scope
motion.h:541: error: 'DIOY_STEP_PIN_WPORT' was not declared in this scope
motion.h:541: error: 'DIOY_STEP_PIN_PIN' was not declared in this scope
/motion.h: In member function 'void PrintLine::startZStep()':
motion.h:577: error: 'DIOZ_STEP_PIN_WPORT' was not declared in this scope
motion.h:577: error: 'DIOZ_STEP_PIN_PIN' was not declared in this scope
motion.h:577: error: 'DIOZ_STEP_PIN_WPORT' was not declared in this scope
motion.h:577: error: 'DIOZ_STEP_PIN_PIN' was not declared in this scope
Commands.cpp: At global scope:
Commands.cpp:24: error: 'X_STEP_PIN' was not declared in this scope
Commands.cpp:24: error: 'X_DIR_PIN' was not declared in this scope
Commands.cpp:24: error: 'X_ENABLE_PIN' was not declared in this scope
Commands.cpp:24: error: 'X_MAX_PIN' was not declared in this scope
Commands.cpp:24: error: 'Y_STEP_PIN' was not declared in this scope
Commands.cpp:24: error: 'Y_DIR_PIN' was not declared in this scope
Commands.cpp:24: error: 'Y_ENABLE_PIN' was not declared in this scope
Commands.cpp:24: error: 'Y_MIN_PIN' was not declared in this scope
Commands.cpp:24: error: 'Y_MAX_PIN' was not declared in this scope
Commands.cpp:24: error: 'Z_STEP_PIN' was not declared in this scope
Commands.cpp:24: error: 'Z_DIR_PIN' was not declared in this scope
Commands.cpp:24: error: 'Z_ENABLE_PIN' was not declared in this scope
Commands.cpp:24: error: 'Z_MIN_PIN' was not declared in this scope
Commands.cpp:24: error: 'Z_MAX_PIN' was not declared in this scope

Edited 1 time(s). Last edit at 03/03/2014 03:35PM by zeroflag.
Re: Repetier-Firmware Configuration Tool
March 03, 2014 02:48PM
Verify that you selected the right board in the Arduino IDE
Re: Repetier-Firmware Configuration Tool
March 03, 2014 04:29PM
Did you also download the latest sources. pin names have changed since last release.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Repetier-Firmware Configuration Tool
March 03, 2014 04:40PM
@itaysp: I chose Arduino Mega 2560 or Mega ADK in Arduino and im using the Taurino Board.
@repetier: I used 'Download complete firmware incl. these setting' and replaced all files in my repetier folder.
Re: Repetier-Firmware Configuration Tool
March 04, 2014 10:15AM
@Zeroflag for some reasons your values for X_STEP_PIN etc. are not set correctly. These are all defined in pins.h. What board are you using (MOTHERBOARD value).


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Repetier-Firmware Configuration Tool
March 04, 2014 01:32PM
I choose Atmel 8-bit based board (e.g. Arduino Mega) and Ramps 1.3/Ramps1.4 in the General section. The motherboard value in Configuration.h is set to #33.
These seem to match.

I attached the zip-File. Perhaps can anyone test, if it is possible to run it on another computer or if the same errors appear in Arcuino.

Thanks, Robert
Attachments:
open | download - Repetier-Firmware-2014-03-03.zip (298.8 KB)
Re: Repetier-Firmware Configuration Tool
March 04, 2014 02:03PM
You had a bad timing or you never reload the configuration tool. The php version creating the file did not match your frontend version so it generated the wrong configuration.h. Uploading and downloading again helped. Find attached the corrected Configuration.h.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Attachments:
open | download - Configuration.h (22.2 KB)
Re: Repetier-Firmware Configuration Tool
March 04, 2014 03:51PM
So I cleared my browser catche today and reloaded the Configuration tool. After downloading the complete firmware I got two error messages, motion.cpp could not be found. After I copied motion.cpp to the \libraries\ folder everything went fine.

Thanx for you great piece of software!
Robert
Re: Repetier-Firmware Configuration Tool
May 06, 2014 09:34PM
TLDR: z axis not working after configtool upgrade from 91.6 to 91.7

Previously I manually updated to version .91 manually and then used the configtool to upgrade around March 3, 2014 with no real problems.
Now I wanted to upgrade again, seeing some changes/fixes.
I used the configtool and uploaded my previous configuration file and then downloaded the complete firmware.
I noticed that the z axis didn't seem to work and didn't find anything in the configuration files that was obvious (for example had z in the name).
I attached difference report for the config file differences.
I can gather more data but didn't want to upload too much to the forum.
I reverted back to 91.6 and my z-axis again works.

My hardware is much like a ramps but I have the old Reprap motor drivers and the board is kind of homebrew, till I fork out some money to buy new pololu/stick drivers to replace them.
Thanks for looking,

Bart
Attachments:
open | download - patch.htm (185.1 KB)
Re: Repetier-Firmware Configuration Tool
April 03, 2015 03:03AM
I NEED HELP PLEASE I HAVE NO CLUE HOW TO REVERSE CONFIGURE THE LEAPFROG CREATR.
I BURNED A BOARD BECAUSE OF MOTOR DRIVER SO I GOT A RUMBA BOARD TO REPLACE BUT CANT FIGURE OUT THE FIRMWARE
I HAVE THE CREATR FIRMWARE BUT THE PINS ARE WRONG SO I COPIED AND PASTED PINS.H INTO IT AND COMPILE ERROR ANYONE CAN HELP?
Re: Repetier-Firmware Configuration Tool
April 03, 2015 04:31AM
Do NOT copy the pins.h if you have a rumba board, especially since their pins.h is for their board with a different firmware you can not expect that to work here. Just select the rumba board in the config tool. Then read your creatr config file to see which thermistors they use and maybe for steps per mm etc. Hardest part should be to find out which able is for what component.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Sorry, only registered users may post in this forum.

Click here to login