Editing configuration.h without clearing eeprom?

Having a problem? Post it here and someone will be along shortly to help
Post Reply
User avatar
craftymethod
Printmaster!
Posts: 125
Joined: Wed Aug 13, 2014 4:45 am

Editing configuration.h without clearing eeprom?

Post 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.
User avatar
AndyB
Prints-a-lot
Posts: 33
Joined: Thu Jan 15, 2015 9:57 am

Re: Editing configuration.h without clearing eeprom?

Post 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.
User avatar
craftymethod
Printmaster!
Posts: 125
Joined: Wed Aug 13, 2014 4:45 am

Re: Editing configuration.h without clearing eeprom?

Post by craftymethod »

Cheers Andy, but thats what I was having trouble figuring out how to do. :)
User avatar
AndyB
Prints-a-lot
Posts: 33
Joined: Thu Jan 15, 2015 9:57 am

Re: Editing configuration.h without clearing eeprom?

Post 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.
User avatar
craftymethod
Printmaster!
Posts: 125
Joined: Wed Aug 13, 2014 4:45 am

Re: Editing configuration.h without clearing eeprom?

Post by craftymethod »

yeah :/ I don't know how the program works, im scared to disable the printer testing commands... lol
User avatar
Nylocke
ULTIMATE 3D JEDI
Posts: 1418
Joined: Sun Jun 23, 2013 1:43 pm
Location: Iowa

Re: Editing configuration.h without clearing eeprom?

Post by Nylocke »

A reflash won't overwrite your EEPROM settings like calibration. You can change the motor currents no problem.
User avatar
craftymethod
Printmaster!
Posts: 125
Joined: Wed Aug 13, 2014 4:45 am

Re: Editing configuration.h without clearing eeprom?

Post 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.
User avatar
teoman
ULTIMATE 3D JEDI
Posts: 1770
Joined: Sat May 24, 2014 5:43 pm

Re: Editing configuration.h without clearing eeprom?

Post 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.
When on mobile I am brief and may be perceived as an arsl.
User avatar
craftymethod
Printmaster!
Posts: 125
Joined: Wed Aug 13, 2014 4:45 am

Re: Editing configuration.h without clearing eeprom?

Post 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
User avatar
craftymethod
Printmaster!
Posts: 125
Joined: Wed Aug 13, 2014 4:45 am

Re: Editing configuration.h without clearing eeprom?

Post 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?)
User avatar
KAS
ULTIMATE 3D JEDI
Posts: 1157
Joined: Thu Dec 04, 2014 6:06 pm

Re: Editing configuration.h without clearing eeprom?

Post by KAS »

I think that pops up on the lcd when you first turn it on.
User avatar
teoman
ULTIMATE 3D JEDI
Posts: 1770
Joined: Sat May 24, 2014 5:43 pm

Re: Editing configuration.h without clearing eeprom?

Post 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.
When on mobile I am brief and may be perceived as an arsl.
Post Reply

Return to “Troubleshooting”