-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
[EEPROM_INIT_NOW] Need better understanding of functionality and possible homing defect? #23436
Comments
//#define EEPROM_INIT_NOW // Init EEPROM on first boot after a new build. This Issue Queue is for Marlin bug reports and development-related issues, and we prefer not to handle user-support questions here. (As noted on this page.) For best results getting help with configuration and troubleshooting, please use the following resources:
After seeking help from the community, if the consensus points to a bug in Marlin, then you should post a bug report. |
i would like to add in testing of this new feature given its description i had assumed it would auto initialize the eeprom on first boot. this is not the behavior observed it prevents any movement and results in kill if you try until you manually clear the eeprom after flashing. it is unclear if this behavior is intended or not as it does prevent the user from getting in to a situation where old settings get loaded. |
#23276 |
If it prevents any movement like claimed... that is a bug... |
no movement can happen till you manually clear the eeprom your self. if you try move it calls kill. |
See if there's any helpful message when |
I can confirm this bug on a SKR 2. The Eeprom is not reset when this parameter is activated. |
I am willing to to test in my board |
I posted a request for more information above. Please refrain from "me too" posts on confirmed bugs. |
Some debugging + additional echos to tell me where it is in the code and the status of some flags at that time (all start with ?) 00:49:44.824 > start So the hash mismatch is being identified _load is always returning true so validate also returns true So in MarlinSettings::load the reset() and save() is never called bool MarlinSettings::load() {
DEBUG_ECHO_MSG("?MarlinSettings::load()");
if (validate()) {
const bool success = _load();
DEBUG_ECHO_MSG("?MarlinSettings::_load returned: ",success);
TERN_(EXTENSIBLE_UI, ExtUI::onConfigurationStoreRead(success));
return success;
}
reset();
#if EITHER(EEPROM_AUTO_INIT, EEPROM_INIT_NOW)
(void)save();
SERIAL_ECHO_MSG("EEPROM Initialized");
#endif
return false;
}
A eeprom version miss match is the only thing that gets to the reset |
In |
Can also confirm, default ender 3 pro configuration on SKR mini e3 v2.0. Enabling this feature prevents homing and calls kill(). It also prevents movement on G0/G1. Resetting EEPROM did not seem to fix the issue, although I did not do extensive testing. |
I’m encountering this as well. Ran into the same fix, homing causes a halt unless I manually reset the EEPROM. SKR Mini E3 v2.0 on a CR10-S with an z-probe. |
[EEPROM_INIT_NOW] Need better understanding of functionality and possible homing defect?
Fixed in #23479 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Did you test the latest
bugfix-2.0.x
code?Yes, and the problem still exists.
Bug Description
This may be a feature request not sure. When flashing a new build onto my machine I have enabled EEPROM_INIT_NOW as when I first load the new configuration it freezes on the boot screen unless I turn this on. After screen calibration and the UI loads if I try to home I get a
I power cycle the printer the issue will repeat itself unless I go and Reset the EEPROM in the advanced settings menu.
Bug Timeline
not sure i think EEPROM_INIT_NOW is a new value or it moved
Expected behavior
After flashing the firmware, the EPROM intis, and homing works without having to reset the EEPROM again. after
Actual behavior
After initial flashing the EEPROM seems to init but what I go home the bed I get a "Homing failed, Printer halted, Please reset " message
Steps to Reproduce
Version of Marlin Firmware
2.0.9.3
Printer model
Elegoo Neptune 2
Electronics
Stock ZNP Robin Nano 1.3 (MKS Robin Nano 1.3 clone)
Add-ons
BLTOUCH
Bed Leveling
ABL Bilinear mesh
Your Slicer
Other (explain below)
Host Software
Other (explain below)
Additional information & file uploads
Slicer and host software do not apply to this issue.
Configuration.zip
The text was updated successfully, but these errors were encountered: