Skip to content
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

[BFW-6216] [BUG] Setting pressure advance (M572) not working on firmware 6.2.0-alpha2 #4261

Closed
welnanick opened this issue Oct 18, 2024 · 5 comments
Assignees
Labels
bug Something isn't working. scheduled We are working on it or we have scheduled it for one of the next releases.

Comments

@welnanick
Copy link

Printer model

MK4S

Firmware version

6.2.0-alpha2

Upgrades and modifications

No response

Printing from...

USB

Describe the bug

Setting pressure advance via M572 has no affect on print.

How to reproduce

Run one of the attached gcode files with PLA filament, observe that the pressure advance value is modified throughout the print, but there is no effect on the resulting final print.

Expected behavior

Changing the pressure advance value during the print should have a noticeable effect on the print.

Files

Example_Gcodes.zip

@welnanick welnanick added the bug Something isn't working. label Oct 18, 2024
@welnanick
Copy link
Author

I am going to downgrade to firmware 6.1.3 to see if the issue goes away, I will report back with the results.

@welnanick welnanick changed the title [BUG] Setting pressure advance (M572) not working [BUG] Setting pressure advance (M572) not working on firmware 6.2.0-alpha2 Oct 18, 2024
@welnanick
Copy link
Author

Just confirmed that downgrading to firmware 6.1.3 resolved the issue, so the bug was introduced in either version 6.2.0-alpha1 or 6.2.0-alpha2 of the firmware.

@CZDanol CZDanol changed the title [BUG] Setting pressure advance (M572) not working on firmware 6.2.0-alpha2 [BFW-6216][BUG] Setting pressure advance (M572) not working on firmware 6.2.0-alpha2 Oct 18, 2024
@CZDanol CZDanol changed the title [BFW-6216][BUG] Setting pressure advance (M572) not working on firmware 6.2.0-alpha2 [BFW-6216] [BUG] Setting pressure advance (M572) not working on firmware 6.2.0-alpha2 Oct 18, 2024
@CZDanol CZDanol self-assigned this Oct 18, 2024
@CZDanol
Copy link
Contributor

CZDanol commented Oct 18, 2024

Hey, thanks for the report and for checking whether it worked in 6.1.3. I've created an internal ticket BFW-6216 and we will try to look in the issue.

@ivous
Copy link
Contributor

ivous commented Jan 21, 2025

Hello,
Fix is available and planned in the next release 6.2.

Problem is in the comments of the gcommands used:
M572 S0.08 ; Set linear advance k factor

Parser was not working properly, the 'S' letter in the comments was replacing the argument value and therefore the proper value 0.08 was not taken into account.
Comments were removed at the media prefetch level, however in the alpha release 6.2 this was changed and now comments are not removed for M commands, so the parser needs to handle them properly.
Correction is done on the parser level.

Thanks again for the report and sample!

@danopernis danopernis added the scheduled We are working on it or we have scheduled it for one of the next releases. label Jan 21, 2025
@CZDanol
Copy link
Contributor

CZDanol commented Jan 30, 2025

Hello, 6.2 has been released: https://github.com/prusa3d/Prusa-Firmware-Buddy/releases/tag/v6.2.0

The issue should be addressed, so closing. Have a nice day! :)

@CZDanol CZDanol closed this as completed Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. scheduled We are working on it or we have scheduled it for one of the next releases.
Projects
None yet
Development

No branches or pull requests

4 participants