Skip to content

[BUG] Babystepping causes freeze on delta printer with latest Marlin 2.0.x bugfix #22830

@binsento42

Description

@binsento42

Did you test the latest bugfix-2.0.x code?

Yes, and the problem still exists.

Bug Description

This issue has already been reported in 2019 as issue #13300, but apparently still exists even though it has been closed in 2020. When stuck with a freezing printer when using babysteps I tried the proposed fix in #13300 and it has indeed solved the babystepping problem, so maybe it should be permanently incorporated in the code base!? The fix makes sense and I don't see how it could have any adversary effects.

I'm talking about this proposed solution by MSpencer0 (quoted from #13300):

Replace this line in stepper.cpp:
#define EXTRA_CYCLES_BABYSTEP (STEP_PULSE_CYCLES - (CYCLES_EATEN_BABYSTEP))

With this one:

  #if STEP_PULSE_CYCLES>CYCLES_EATEN_BABYSTEP
	#define EXTRA_CYCLES_BABYSTEP (STEP_PULSE_CYCLES - (CYCLES_EATEN_BABYSTEP))
  #else
	#define EXTRA_CYCLES_BABYSTEP 0  
  #endif

Bug Timeline

It is already reported in #13300 but that one is closed due to inactivity

Expected behavior

I expected babystepping to work using the Tune menu during printing.

Actual behavior

The printer froze.

Steps to Reproduce

No response

Version of Marlin Firmware

Latest bugfix release (september 2021)

Printer model

Anycubic Linear Plus (Kossel)

Electronics

Stock electronics

Add-ons

No addons

Bed Leveling

ABL Bilinear mesh

Your Slicer

Cura

Host Software

No response

Additional information & file uploads

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions