Basic Information:
Printer Model: Virtual Cartesian
MCU / Printerboard: Mega2560 + RAMPS 1.4
Host / SBC: BeagleBone
klippy.log
klippy (30).log (88.2 KB)
additional_files.zip (292.8 KB)
test_presureAdvance2.gcode (62 Bytes)
Quick pre-story:
I did want to analyze how hardware is behaving when i use pressure_advance
, so I fetched my dusty Mega2560 and Ramps 1.4 and quickly build test rig, hook up cheap logic analyzer to Step/Dir pins, attached thermistor and did compile config for this virtual cartesian printer which can work without End-stops and synced Extruder rates with Axis rates 1:1 (did this by increasing nozzle diameter to same size as input - 1.75 and set same rotation distance and microstepping)
Everything start working as expected.
But when I prepared some simple test gcode (attached), set pressure_advance
to 0 and start running tests I did notice strange behavior in oscilloscope software, first move after G28 was reversing Extruder and was doing 3x steps than it supposed to do, any following moves was putting extruder in correct direction and rate.
If I did FIRMWARE_RESET and then execute the test - everything is fine, extruder is going in correct direction and have correct rate and in sync with motion, but next execution of same simple test again is producing this incorrect behavior, and all future repetitions of the test also behave incorrectly.
Test execution after FIRMWARE_RESET
Test execution second time, third, …
compare DirE
behavior - which represent Extruder Direction.
Two sequential runs of a test after FIRMWARE_RESET in single session, changed theme and added details
My Initial thoughts was - Ok, i have my own feature “Automatic extrusion” and probably I made somewhere an error and it’s causing this behavior, so I fetched latest vanilla Klipper from github, re-flashed Mega again and did tests again, and yes I still se this issue.
In Klippy log look at latest session, it represent two sequential runs of same test after FIRMWARE RESET.
I attached CSV data exports and saved sessions from Saleae Logic 2.4.6
software.
So my main question: is this a bug or my configuration and test is bad ?
Does somebody experienced some weird (short) extruder behavior on next print ?
Thanks.