Page 1 of 1
Editing configuration.h without clearing eeprom?
Posted: Wed Feb 11, 2015 9:42 pm
by craftymethod
Im having trouble figuring out how to edit the configuration.h file to edit the current for my keysan motors as they are very very warm but the instructions I can find only refer to first time installation?
cheers guys.
Re: Editing configuration.h without clearing eeprom?
Posted: Wed Feb 11, 2015 9:53 pm
by AndyB
I don't believe that the motor currents are stored in EEPROM. If you change the values in Configuration.h and recompile and upload the program you should be fine.
Re: Editing configuration.h without clearing eeprom?
Posted: Wed Feb 11, 2015 10:13 pm
by craftymethod
Cheers Andy, but thats what I was having trouble figuring out how to do.

Re: Editing configuration.h without clearing eeprom?
Posted: Thu Feb 12, 2015 12:34 am
by AndyB
Are you saying that you've figured it out, or are you still having issues? I'm hoping that you meant that you didn't realize that when you make a change to source code, that you need to recompile a binary image, and then upload that to the RAMBO. You can prove this to yourself, by setting the name of the machine in Configure.h (UI_PRINTER_NAME) to something else. After the compile and upload, the display will briefly show the new value. This is the same thing you're doing when you change many of the other #defines. Some of the values can be changed at run-time, and these are typically stored in EEPROM and they override the compiled values if you have #define EEPROM_MODE 1 set.
Re: Editing configuration.h without clearing eeprom?
Posted: Thu Feb 12, 2015 10:56 am
by craftymethod
yeah :/ I don't know how the program works, im scared to disable the printer testing commands... lol
Re: Editing configuration.h without clearing eeprom?
Posted: Thu Feb 12, 2015 10:58 am
by Nylocke
A reflash won't overwrite your EEPROM settings like calibration. You can change the motor currents no problem.
Re: Editing configuration.h without clearing eeprom?
Posted: Fri Feb 13, 2015 4:28 am
by craftymethod
To change the motor currents, do I go ahead and clear the eeprom or do I do something else in the Audrino program? Fraid I don't understand the program much.
Re: Editing configuration.h without clearing eeprom?
Posted: Fri Feb 13, 2015 5:19 am
by teoman
If it is the same version of repetier firmware that you are using you do not need to clear the eeprom.
The eeprom is like the rambos harddisk just for storing the eeprom data. It does not change when you change the firmware.
But just to be safe take a picture of your eeprom settings.
You can also use the lcd to store the eeprom values to the sd card just in case.
So: open up repetier firmware in arduino.
Modify the configuration.h
Selecth ethe board from tools (atmega 25...)
Select your serial port
And upload it.
Re: Editing configuration.h without clearing eeprom?
Posted: Fri Feb 13, 2015 7:54 pm
by craftymethod
In the step of opening up the repitier firmware, do I need to re download the latest repitier firmware package? Ive had the printer a few months, im just trying to edit the current for the stepper.
The configuration.h file is part of that package I think... im wondering while inside Audrino, how to access the firmware...
am I loading it from rambo or the PC?
If it uploads, the config.h file uploads to rambo?
this is confusing lol I wish I looked into this at the beginning! hehe
Re: Editing configuration.h without clearing eeprom?
Posted: Fri Feb 13, 2015 8:01 pm
by craftymethod
Oh... how how do I check the version with the repitier firmware? am I checking it against the eeprom data? (firmware uploaded to board?)
Re: Editing configuration.h without clearing eeprom?
Posted: Fri Feb 13, 2015 9:25 pm
by KAS
I think that pops up on the lcd when you first turn it on.
Re: Editing configuration.h without clearing eeprom?
Posted: Sat Feb 14, 2015 10:58 am
by teoman
Do you have an Orion?
Have a look at the Rostock Max V2 manual. That explains the steps in detail.
If I were in your shoes. i would make a nice note of all the settings in the EEPROM using pen and paper.
Then follow the manual on updating the software. Your total extra work is just noting your settings on the piece of paper.