Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offsets resetting #173

Open
m0rtiZz opened this issue Jan 17, 2020 · 17 comments
Open

Offsets resetting #173

m0rtiZz opened this issue Jan 17, 2020 · 17 comments

Comments

@m0rtiZz
Copy link

m0rtiZz commented Jan 17, 2020

On firmware for skr mini e3 1.2 "firmware-bltouch-for-z-homing.bin" i'm inserting xyz offsets with m851 command, saving with m500 comand, and after rebooting the printer offsets are set to default, not these what i entered.

Steps to reproduce

  1. M851 X-44 Y-16 Z-2.8
  2. M500
  3. Reboot printer

Expected behavior
Set my offsets and have them saved

Actual behavior
Offsets reseting to default

Additional Information

using configuration.h provided with marlin downloaded directly from marlin site

@m0rtiZz m0rtiZz changed the title [BUG] (short description) Offsets resetting Jan 17, 2020
@USAFRichards
Copy link

I have the same problem. Thank you.

@Thinkersbluff
Copy link

Please confirm whether you are using Marlin 2.0.1. There is a BUG in 2.0 that corrupts EEPROM saved to flash memory.

@m0rtiZz
Copy link
Author

m0rtiZz commented Jan 17, 2020

Please confirm whether you are using Marlin 2.0.1. There is a BUG in 2.0 that corrupts EEPROM saved to flash memory.

I'm using firmware created by btt, "firmware-bltouch-for-z-homing.bin", it's marlin 2.0.x

@Thinkersbluff
Copy link

Closed bug #16532 or #16118 may help, then.
If you have print counting on, you could try turning that off.
Forcing Marlin to use the SD card as the emulated EEPROM works.
Upgrading Marlin to 2.0.1 works.

@USAFRichards
Copy link

How do you force Marlin to use the SD card?

Also, is there a way to modify the "firmware-bltouch-for-z-homing.bin" to make fixes?

I was able to add emulated EEPROM to use the flash memory via the pins file when compiling, but then my stepper motors were louder than with the "firmware-bltouch-for-z-homing.bin". If I could just modify the pins file of this firmware I would be able to keep all the other settings.

@Thinkersbluff
Copy link

Thinkersbluff commented Jan 18, 2020

How do you force Marlin to use the SD card?

"When I comment-out the line "#define FLASH_EEPROM_EMULATION" in the file pins_BTT_SKR_MINI_E3.h, then Marlin 2.0.x reverts to using the SD card to store EEPROM.dat. In that configuration, the EEPROM does work as expected."

I realize there is a lot to read in closed bug #16532. The above info is included there.
NOTE also, if you do decide to upgrade to Marlin 2.0.1, from the bugfix branch, there are other edits and issues documented in [Marlin 2.0.x bug #16532 (https://github.com/MarlinFirmware/Marlin/issues/16532).

@USAFRichards
Copy link

I read this and I also removed the SD card, deleted the bin file and reset the machine. Seems to hold.

@Thinkersbluff
Copy link

Cool! Does that mean this bug can be closed?

@USAFRichards
Copy link

Now, if I don’t “Save Settings” before shutting down the machine I lose my offsets. If I perform the “Save Settings” before shutting down they are save for the next boot up.

@brew99
Copy link

brew99 commented Jan 30, 2020

That is how it is suppose to work. You need to "save settings", either to SD or use emulated EEPROM, then they will be recalled on next boot-up

@krakow2000
Copy link

Now, if I don’t “Save Settings” before shutting down the machine I lose my offsets. If I perform the “Save Settings” before shutting down they are save for the next boot up.

But what with PID nozzle and bed if you use repetier or other soft to calibrate?

@brew99
Copy link

brew99 commented Feb 5, 2020

@krakow2000 just use M500 command in repetier to save the settings. M503 to recall them and make sure they were saved

@huzargarden
Copy link

Can bigtreetech update the file "firmware-bltouch-for-z-homing.bin" to eliminate this bug? I have the same issue and i can't save the setting on the BTT TFT35 screen

@brew99
Copy link

brew99 commented Feb 11, 2020

Of course they can, but when is the real question!! Best to take some time and learn how to compile it yourself using the Vanilla Marlin not BTT version

@huzargarden
Copy link

then what is the point to keeping files with errors if everyone will go to compile its own version?

not everyone have time and wants to spent time to config and compile marlin if there is frlirmware file availble to upload. Some poeple here are actually using printers to print stuff and not to consistly improve them and print parts for the printer ;)

@brew99
Copy link

brew99 commented Feb 12, 2020

I totally agree it is not very useful to have a firmware that has such a major issue in it. Support is not a very strong point for BTT, so sometimes you need to take it into your own hands and correct it yourself, or find someone who has already compiled

@Xenon-2510
Copy link

I have this issue with the BTT firmware too, I have put the M851 for Z offset in my Slicer script so it sets the Z offset prior to each print. More of a workaround than a fix but for those who don't want to compile from Vanilla Marlin this will work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants