Results 161 to 170 of 396
-
12-14-2014, 06:30 PM #161
Agreed. I'm using it now just because I did that 'Save G29 Correction Matrix to EEPROM'. And maybe I would see it differently if I had an LCD Panel. But I'm having a hard time getting any value from the EEPROM. Conversely, I see it mess up lots of people that are trying to get Auto Bed Leveling running.
-
12-14-2014, 07:03 PM #162
- Join Date
- Nov 2014
- Posts
- 522
Maybe someone needs to write some eeprom read/write code for abl if eeprom is enabled.
Even if it is just a command that will spit out the eeprom values when abl is enabled would probably be a big help so that you can compare firmware and eeprom values so that it would make diagnosing the issue immediate.
Or if the abl code itself could override the eeprom saved values if there was a discrepancy between the two.
Dunno just talking ideas that could theoretically work.
-
12-14-2014, 07:21 PM #163
-
12-14-2014, 07:40 PM #164
- Join Date
- Nov 2014
- Posts
- 522
That "should" be easy to setup. But i havent looked at the code.
It would be an if statement in the initialization code
If(abl on variable == true)
Version# = version#+1
Its just a matter of knowing actual variables where to insert code and proper syntax. All of which i havent looked at. But the fix itself is easy enough.
-
12-14-2014, 08:06 PM #165
- Join Date
- Aug 2014
- Posts
- 25
having some issue were its not homing correctly. after i complete a print i still leave the printer on and load up the new print. select the print from the sdcard and after my bed is done heating it should g28 to home and than g29 to abl. what ends up happening is it seems like it is homing than it will start to probe in the back right corner for the abl which is wrong. ill turn of the printer and move the bed and the extruder off the endstops. start the print again and after the bed gets to temp it will start to home but what i noticed on the extruder wont even hit the X-Endstop. if i restart the printer a couple times it will work correctly. this is a new issue for me after i updated the firmware.
-
12-14-2014, 09:30 PM #166
No... It's all pre-processor stuff. It would be more of the form:
Code:#define EEPROM_VERSION "V10" #ifdef ENABLE_AUTO_BED_LEVELING // Note: This should be first in the Version over rides #undef EEPROM_VERSION // because if DELTA or SCARA is defined, we want them #define EEPROM_VERSION "V30" // to have their way! #endif #ifdef DELTA #undef EEPROM_VERSION #define EEPROM_VERSION "V11" #endif #ifdef SCARA #undef EEPROM_VERSION #define EEPROM_VERSION "V12" #endif
What do you think Dacb? Can we sneak this into your fork too (Because I'm hoping we merge it back into the main tree) ? This code was in in Configuration_Store.cppLast edited by Roxy; 12-14-2014 at 11:31 PM.
-
12-14-2014, 11:57 PM #167
- Join Date
- Nov 2014
- Posts
- 522
Yeah i knew it would be a simple if statement. just knowing where to place it is the hard part esp when you havent had a chance to look at the code. My printer will be finished this week. That will give me the the free time between/during prints to start looking at code more.
-
12-15-2014, 06:38 AM #168
- Join Date
- Jul 2014
- Location
- Eastern Colorado
- Posts
- 536
You don't want to look at code during prints. When you find something to change, suddenly you're impatiently waiting for the print to finish before you can upload/test your changes.
-
12-15-2014, 08:17 AM #169
Actually... We could do it with real code as opposed to being entirely done in the pre-processor. We would change this:
Code:char ver2[4]=EEPROM_VERSION; i=EEPROM_OFFSET; EEPROM_WRITE_VAR(i,ver2); // validate data
Code:char ver2[4]=EEPROM_VERSION; #ifdef ENABLE_AUTO_BED_LEVELING ver2[0]='v'; #endif i=EEPROM_OFFSET; EEPROM_WRITE_VAR(i,ver2); // validate data
Last edited by Roxy; 12-15-2014 at 10:41 AM.
-
12-15-2014, 08:29 AM #170
- Join Date
- Nov 2014
- Posts
- 522
That seems like the more elegant solution aas it would work for all cases vs just adding more code per style of printer
Ender 3v2 poor printing quality
10-28-2024, 09:08 AM in Tips, Tricks and Tech Help