-
-
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
[BUG] Restart after MINIMUM_STEPPER_PULSE to MINIMUM_STEPPER_PULSE_NS #27113 PR #27163
Comments
Same here and also a very sluggish UI while steppers move. I have a 20MHz oscilloscope at hand in case measuring pins is of use. |
I should mention that the printer also often stops mid print for user confirmation, which I think means the planner is starved. |
@mh-dm: Mind giving this a review? |
First, sorry for the issues. I've tried a few things but I can't reproduce the reported issues (on my LPC1678). Looking at #27113 there are basically 2 parts. First the actual So could one of you please:
and report back whether it's showing the same symptoms or not. |
I've tried first commit only. Actually it's the same, just crashes a bit later. |
Thank you. This was quite weird but I think I figured out what's going on. First: I've tried to build with the configuration files attached and I'm getting So here's what I think is happening.
The result of all of this is with PR 27113 on SKR3 w/ TMC the I'm not seeing this issue on LPC176x w/ TMC because that's max 120Mhz and the absolute change in To confirm whether my analysis is correct and to figure out a fix could you please change this section in // Nonlinear Extrusion needs at least 2x oversampling to permit increase of E step rate
// Otherwise assume no axis smoothing (via oversampling)
oversampling_factor = TERN0(NONLINEAR_EXTRUSION, 1); to just oversampling_factor = 0; and report back whether this fixes your issues. |
Even worse, I have 550Mhz version))
Yes, I just commented out this check in Sanity.h. I use second extruder for support interface, so I don't mind to use values from main extruder for both of them.
I can change config instead, if you want. Assuming you are right and change in stepper.cpp helps. Can I use it for printing or it's good just for test only? |
If it helps it should be good enough for actual printing. I'm preparing that change as (edit) PR #27171. |
Assuming
to ensure that we have at least 2x oversampling for NONLINEAR_EXTRUSION ? Or it anyway will be oversampled as high as possible in while loop? |
|
Could you try to add
as I suggested? |
Yes, it will be oversampled as high as possible. There's no need to try to use something like |
I'm printing samples to confirm non-linear extrusion still works as before (yes remembered to invert A and B) |
yes, still works fine |
Great! I hope that full PR with this fix works as well.
|
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.1.x
code?Yes, and the problem still exists.
Bug Description
Latest commit d96c6f8 fails (Marlin restart) on the first extraction move. So I went to 0169cde (one before MINIMUM_STEPPER_PULSE to MINIMUM_STEPPER_PULSE_NS #27113 merge, and it work properly.
Does this PR contain something suspicious?
Bug Timeline
No response
Expected behavior
No response
Actual behavior
No response
Steps to Reproduce
No response
Version of Marlin Firmware
bugfix-2.1.x
Printer model
No response
Electronics
SKR-3, TMC2209
LCD/Controller
TFT SPI 2
Other add-ons
No response
Bed Leveling
ABL Bilinear mesh
Your Slicer
None
Host Software
None
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
Config.zip
The text was updated successfully, but these errors were encountered: