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
[BUG] Auto-home with a probe on v.2.1.2.2 crashes nozzle into bed #26809
Comments
What type of MPU is on your creality 4.2.7 STM32F103RE, STM32F103RC or GD32F303RE ? And where is your probe attached? from the config the probe should be using the 5 pin probe port and nothing else |
after Upgrading from 2.1.2.1 to 2.1.2.2 my double Z-Axis is not homing anymore, I get a "kill" after some minutes, kind of timeout.. I did compare my old and new config files but find no reason for the Problem. Printer type: |
STM32F103RET6
default_envs = STM32F103RET6_creality
Yes, attached to the dedicated probe port on the board, original Z-stop removed nothing plugged in there. |
i also have CR-touch with 427, I have never noticed this issue. I have heard there may be issues with this and HS (high speed) mode and definitely had experienced problems with this enabled like using M48. what UI are you using, ProUI? Jyers? |
I have not enabled BL_TOUCH_HS_MODE and Z_MIN_PROBE_REPEATABILITY_TEST is also disabled. I'm on an Ender 3 Pro, so no special UI, just the stock LCD and rotary encoder. |
I had this same issue with the new firmware. I have a BLTouch, so it is likely an issue with the 4.2.7 mainboard. Thank you for reporting this, I would have never figured out why my BLTouch isn't working! |
I'm glad I'm not the only one! |
Can confirm same issue with 4.2.2 Motherboard on an Ender-5 Pro. |
Me two-ing provides extremely limited information. Please include config files and details of how your bltouch is wired (probe port, probe port and z-stop, or using an adapter such as a pin 27 adapter) and what probe you really have bltouch, crtouch, 3dtouch etc Reminder:If probe is plugged into the 5 pin probe port you need this in your configuration.h //#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN If probe is plugged into z-stop pin and probe port you need this #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN You only define Z_MIN_PROBE_PIN if its not already defined (if you board has a probe port it is defined) And BLTOUCH_HS_MODE and BLTOUCH_FORCE_SW_MODE cannot be used on crtouch or 3dtouch. |
I use a CR Touch connected to the Probe Port, Z-stop disconnected. //#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN //#define BLTOUCH_HS_MODE true (Above worked for 2.1.2.1) Configs addatached As for clarifying me too, 2.1.x-bugfix and 2.1.2.1 did not have this issue, configs migrated manually or using the template, i.e. the issue is 2.1.2.2 related. |
You can also stick with a previous version if that is working for you until |
I think i've found something which looks like a very likely suspect to break many probes in the probe port. In 2.1.2.2 Marlin/src/inc/Conditionals_post.h is #if ALL(ENDSTOPPULLUPS, USE_Z_MIN_PROBE)
#define ENDSTOPPULLUP_ZMIN_PROBE
#endif But USE_Z_MIN_PROBE is not part of 2.1.2.2, it came from bugfix by mistake. Update this code to #if ALL(ENDSTOPPULLUPS, HAS_Z_MIN_PROBE_PIN)
#define ENDSTOPPULLUP_ZMIN_PROBE
#endif And ENDSTOPPULLUP_ZMIN_PROBE gets defined as it should. Can anyone with this issue very carefully test Z homing with this patch? |
I have an Antclabs BLTouch v3.1 connected to a BigTreeTech SKR Mini E3 v2. Can confirm with the above suggested patch the probe now works as expected. diff --git a/Marlin/src/inc/Conditionals_post.h b/Marlin/src/inc/Conditionals_post.h
index 6794087ca4..4e18fd3938 100644
--- a/Marlin/src/inc/Conditionals_post.h
+++ b/Marlin/src/inc/Conditionals_post.h
@@ -2852,7 +2852,7 @@
#ifndef PROBE_OFFSET_YMAX
#define PROBE_OFFSET_YMAX 50
#endif
- #if ALL(ENDSTOPPULLUPS, USE_Z_MIN_PROBE)
+ #if ALL(ENDSTOPPULLUPS, HAS_Z_MIN_PROBE_PIN)
#define ENDSTOPPULLUP_ZMIN_PROBE
#endif
#ifndef XY_PROBE_FEEDRATE |
The patch did not work for me. Was that for the bugfix-2.1.x branch? Or should I have applied it to 2.1.2.2? |
there is nothing wrong with bugfix-2.1.x homing with a probe, this patch is for 2.1.2.2 |
Ok, maybe I'm confused then because I was having the issue with bugfix-2.1.x as well as 2.1.2.2. But I just tried the proposed patch on the 2.1.x branch (2.1.2.2 with bugfixes) and it worked, the auto-home completes successfully. |
2.1.x and 2.1.2.2 are currently identical. |
Ok, I must have downloaded something wrong or messed up on my side then when filing the bug originally because I thought I was able to reproduce on bugfix-2.1.x. But whatever, the patch works for 2.1.2.2 so I'm back in business. Thanks! |
Can confirm above fix does correct the issue on 2.1.2.2 on Ender-5 Pro with 4.2.2 board and CR Touch. |
im wondering why cant FORCE_SW_MODE be used? even though it says: /**
* Settings for BLTOUCH Classic 1.2, 1.3 or BLTouch Smart 1.0, 2.0, 2.2, 3.0, 3.1, and most clones:
*/
// Feature: Switch into SW mode after a deploy. It makes the output pulse longer. Can be useful
// in special cases, like noisy or filtered input configurations.
//#define BLTOUCH_FORCE_SW_MODE |
Because "most clones" referred to the "3D Touch" clones that existed long before Creality's CRTouch. |
I confirm on Ender 3S1 (stock firmw 301_SWV3.0.4_C_F401, board V24S1_301, processor F401) the 2.1.2.2 bug. Cr-Touch crashes into the bed. Rolling back to 2.1.2.1 has resolved the issue |
Did you try the fix as per @ellensp above: n 2.1.2.2 Marlin/src/inc/Conditionals_post.h is #if ALL(ENDSTOPPULLUPS, USE_Z_MIN_PROBE) Update this code to #if ALL(ENDSTOPPULLUPS, HAS_Z_MIN_PROBE_PIN) |
Thanks for the fix, but for now I will continue in 2121 without wasting time on new updates and tests. Maybe later... |
I can confirm that with SKR2 this issue occurs on 2.1.2.2 and the patch provided by @ellensp fixes the issue. Thanks! |
I'm using the MKS Tinybee board. This is an ESP32 based board. Uses IR FIX sensor instead of BL touch. I don't think it's a BL Touch code issue. Because in 2.1.2.1 there is no such problem. |
It's a general probe issue, not BLTouch-specific. |
I was having the same issue on 2.1.2.2 with my Ender 3 V4.2.2 and BLTouch and the patch provided by @ellensp fixes the issue. |
Closing since this is already fixed in |
Hi My setup: printer : Ender5Plus with a mainboard creality 4.2.7 and a crtouch 5pins. |
This has helped me to install 2.1.2.2 and not break my printer |
Would it make sense to put a big warning re: this known bug on the release page? Took me quite a while to figure out what was going on 😨 |
Patch for |
Commenting here to say the same! I wasted a good amount of time and days trying to understand what was going on... until someone on Reddit suggested me this Git issue! All I did was downloading the latest release on the website and from there the bad things started. I definitely agree that this should be something advertised somewhere else. |
I created & pinned #27019 yesterday and just updated the |
I understand and thanks for this. What I am thinking about, is that maybe most of the people (sadly as I did) will simply download it from the Marlin website without being aware of this. |
Depending on POV, this might be a broken release and not a known issue 😬 |
I installed my new 3D printer last week and this bug cost me a lot of time, since there are several reasons that could lead to nozzle crashing into bed. Since there is no workaround but changing the code i would clearly see this as a broken release. |
auto build marlin does not detect the new version. |
Sorry for the delay. I confirm that @ellensp's fix in 2.1.2.2 Marlin/src/inc/Conditionals_post.h which replaces "#if ALL(ENDSTOPPULLUPS, USE_Z_MIN_PROBE)" with #if ALL(ENDSTOPPULLUPS, HAS_Z_MIN_PROBE_PIN) fixes the problem on Ender 3S1, board V24S1_301 , processor F401. Congratulations! |
Did you test the latest
bugfix-2.1.x
code?Yes, and the problem still exists.
Bug Description
After upgrading from 2.1.2.1 to 2.1.2.2 (and -bugfix), when I perform an auto-home on my Ender 3 Pro with a CR Touch installed, the probe extends and the Z-axis starts moving downward. But after the probe touches the bed the Z-axis continues to move down and grinds the stepper motor and nozzle into the bed until I turn the power off.
Going back to 2.1.2.1 fixes the issue.
Bug Timeline
after upgrading from 2.1.2.1 to 2.1.2.2
Expected behavior
CR Touch/Z-probe should stop nozzle from crashing into bed
Actual behavior
Probe touches bed, light turns red, but Z-axis continues to move down grinding stepper motor and driving nozzle into bed until power is shut off.
Steps to Reproduce
Motion > Auto Home
Version of Marlin Firmware
2.1.2.x-bugfix
Printer model
Ender 3 Pro
Electronics
4.2.7 32-bit board
LCD/Controller
No response
Other add-ons
No response
Bed Leveling
ABL Bilinear mesh
Your Slicer
Cura
Host Software
OctoPrint
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
All of my changes/customizations are tagged with "JCR" in these files. Attached are my working files from 2.1.2.1 and the files used with 2.1.2.x-bugfix that cause the problem.
2-1-2-x-bugfix-configs-auto-home-crash.zip
The text was updated successfully, but these errors were encountered: