MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.04k stars 19.15k forks source link

[BUG] Steps skipping or sudden current variation while traveling #24979

Open Andre1902 opened 1 year ago

Andre1902 commented 1 year ago

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

Yes, and the problem still exists.

Bug Description

i can see on long travels some random steps skipping (X and Y). in the last few weeks i tried with changing every possible setting i know in the firmware but i cant figure out the problem (such as acceleration, speed, current, sensorless homing, silent stepper driver, interpolation...). i sliced with other slicer and with cura i could manage to get some better results, maybe due to the acceleration and jerk control, but with prusa slicer i couldnt find a solution to the issue. i also tried to change some marlin version from 2.x up to the last bugfix.

Bug Timeline

No response

Expected behavior

after motherboard ubgrate from Creality 4.2.2 to BTT SKR Mini E3 V3.0

Actual behavior

No response

Steps to Reproduce

No response

Version of Marlin Firmware

Marlin-bugfix-2.1.x

Printer model

Ender 3

Electronics

BTT SKR Mini E3 V3.0

Add-ons

No response

Bed Leveling

ABL Bilinear mesh

Your Slicer

Prusa Slicer

Host Software

No response

Don't forget to include

Additional information & file uploads

config.zip

oliver-eifler commented 1 year ago

You should deactivate S_CURVE_ACCELERATION - see https://github.com/MarlinFirmware/Marlin/pull/24955 for explanation

and set the currents according to your motors

Andre1902 commented 1 year ago

Ive also tryed to disable it, current was set to 800 according to my TMC2209, a little bit higher than marlin default for ender 3. I solved my issue yesterday by reading this #19217. Deactivated SEGMENT_LEVELED_MOVES and now it works fine, no more stuttering.

Fredrossi046 commented 1 year ago

Problem is not possible to be solved for me, because i have the pre-compiled firmware. I installed this firmware : firmware_Ender6_BLT_50W_ET_DW7.4.6.bin.zip from insanityautomation.com/index.php/firmware-projects

Machine was working fine with small prints, but now i get the stuttering problem as well, at least with larger prints. Disable ABL is all i can do, but that won't solve it. Deactivating SEGMENT_LEVELED_MOVES is not possible for me, as i can not open the bin-file in Arduino-IDE. Or is there a way i can open, alter and place it back on SD for updating firmware?

I changed current for the stepper driver (at mainboard), but that is all i can do i guess. Strange thing is, i printed a feedrate test, that is larger than the bed level points of my 25 ABL points, but that did not have any problems.

Mainboard is stock, just the above update with initial no problems last few days.

Edit: if anyone could provide the above code, i would be able to acces the mainboard and change it in IDE. I would prefer to have it that way, so i could make changes provided here instead of waiting for the complete package.

Andre1902 commented 1 year ago

i think this is what you are looking for: https://github.com/bigtreetech/Marlin/tree/SKR-mini-E3-V3.0-G0B1

ellensp commented 1 year ago

Neither the bigtreetech or the insanity automation forks are supported here. If your not running stock Marlin code from https://github.com/MarlinFirmware/Marlin, you are in the wrong place.