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

[BUG] Screen freeze on onboard SD print abort #2640

Closed
jcwtm opened this issue Nov 24, 2022 · 5 comments · Fixed by #2678 or #2607
Closed

[BUG] Screen freeze on onboard SD print abort #2640

jcwtm opened this issue Nov 24, 2022 · 5 comments · Fixed by #2678 or #2607
Labels
bug Something isn't working

Comments

@jcwtm
Copy link

jcwtm commented Nov 24, 2022

Description

The screen will be stuck at 'Loading...' or 'busy processing, please wait' when cancelling an onboard SD print. The message that shows depends on the gcode that is run. See below. This does not occur when printing from the TFT card slot.

Steps to reproduce

  1. Upload the following Gcode to an SD card:
    G28
    M109 S100
  2. Insert the SD card into the motherboard.
  3. Start the print.
  4. Cancel the print during heating.
  5. Press 'Back' button
  6. Blank screen stuck showing 'Loading...'

Another way to reproduce

  1. Upload the following Gcode:
    G28
    M140 S60
    M105
    M190 S60
    M104 S100
    M105
    M109 S100
  2. Insert the SD card into the motherboard.
  3. Start the print.
  4. Cancel the print during bed heating.
  5. Screen freezes showing 'busy processing, please wait'

Expected behavior
Run cancel gcode.

Actual behavior
Screen becomes frozen, does not run cancel gcode.

Hardware Variant

B1 TFT35 V3.0.1
SKR MINI E3 V3.0

TFT Firmware Version & Main Board Firmware details

Marlin Firmware: 2.1.1
TFT Firmware: BIGTREETECH_GD_TFT35_B1_v3.0 V27.x Nov 10 2022

Additional Information

bug.zip

@jcwtm jcwtm added the bug Something isn't working label Nov 24, 2022
@kisslorand
Copy link
Contributor

The TFT will break the waiting for bed heating (M108) and send M524 (Abort SD print).
In Marlin 2.1.1 M524 is not part of the emergency commands so it will skip to the M140 command from the buffer and will block communication until the nozzle is heated. That's why your TFT remains in 'busy processing, please wait' state, it waits for Marlin to respond.

However in Marlin 2.1.2 M524 is part of the emergency commands family but the TFT will still freeze because of a bug. This bug is already fixed in PR #2607 but Bigtreetech is not merging it for 2 months now...
Solution to your problem is upgrading to Marlin 2.1.2 and use the forementioned PR. If needed, I can compile TFT FW for you with PR #2607 included.

@jcwtm
Copy link
Author

jcwtm commented Nov 25, 2022

@kisslorand Thank you for the information.

@stale
Copy link

stale bot commented Feb 5, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Abandoned label Feb 5, 2023
@kisslorand
Copy link
Contributor

It is stale because the fix wasn't merged. The fix is in PR #2607.

@stale stale bot removed the Abandoned label Feb 5, 2023
Copy link

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.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
2 participants