bigtreetech / BIGTREETECH-TouchScreenFirmware

support TFT35 V1.0/V1.1/V1.2/V2.0/V3.0, TFT28, TFT24 V1.1, TFT43, TFT50, TFT70
GNU General Public License v3.0
1.3k stars 1.65k forks source link

Persistent pop up, infinite extrusion, stepper motors locked when print is canceled #1564

Closed KiingYS closed 3 years ago

KiingYS commented 3 years ago

My setup: SKR mini E3 V2.0 Marlin 2.0.7.2 (Dec 3rd 2020) TFT70 V3.0 TFT70 V3.0.26.X (Jan 5th 2021)

  1. Persistent pop up After automatically loading the filament, a pop up says "Paused for user, continue?" If I click ok I can't dismiss the notification.

Steps to reproduce

  1. Menu
  2. Movement
  3. (Un)load
  4. load

Expected behavior

Actual behavior

Hardware Variant

TFT Firmware Version & Main Board Firmware details

  1. Infinite extrusion

    Steps to reproduce

    Menu extrude load After user clicks "load", it starts loading but never stops.

  2. Stepper motors locked after print is canceled. This one is probably not a big deal, but worth looking into. When the print is paused, the motors have to be locked to prevent offsets. But when canceled, I'm not sure if it's necessary to lock the steppers.

Additional Information

onstrate the issue.

oldman4U commented 3 years ago

You print from on board sd?

sarvenn commented 3 years ago

I have the same issue, persistant pop up. It never asks for purge more and continue. I print from TFT SD. Capture

Andy-ABTec commented 3 years ago

Looks familiar +1

3dfixer commented 3 years ago

cant remember how i got rid of this problem, but when its happening if you turn knob a couple clicks then push button, it will carry on like normal. unless you turned knob in wrong direction, in witch case it will purge some more

digant73 commented 3 years ago

verify on Marlin fw you have all the following setting enabled:

Options to support dialog with host: EMERGENCY_PARSER (in Configuration_adv.h) SERIAL_FLOAT_PRECISION 4 (in Configuration_adv.h) HOST_ACTION_COMMANDS (in Configuration_adv.h) HOST_PROMPT_SUPPORT (in Configuration_adv.h)

Options to support M600 with host & (Un)Load menu: NOZZLE_PARK_FEATURE (in Configuration.h) ADVANCED_PAUSE_FEATURE (in Configuration_adv.h) FILAMENT_LOAD_UNLOAD_GCODES (in Configuration_adv.h)

it could be also a problem on the knob. In my case the knob button remained clicked

KiingYS commented 3 years ago

You print from on board sd?

Yes, I do

sarvenn commented 3 years ago

verify on Marlin fw you have all the following setting enabled:

Options to support dialog with host: EMERGENCY_PARSER (in Configuration_adv.h) SERIAL_FLOAT_PRECISION 4 (in Configuration_adv.h) HOST_ACTION_COMMANDS (in Configuration_adv.h) HOST_PROMPT_SUPPORT (in Configuration_adv.h)

Options to support M600 with host & (Un)Load menu: NOZZLE_PARK_FEATURE (in Configuration.h) ADVANCED_PAUSE_FEATURE (in Configuration_adv.h) FILAMENT_LOAD_UNLOAD_GCODES (in Configuration_adv.h)

it could be also a problem on the knob. In my case the knob button remained clicked

I use precompiled firware in SKR mini e3 repository. (firmware.bin) So I don't know it's configurations. But I noted this, this weekend I will learn to compile my own Marlin and check these items.

Andy-ABTec commented 3 years ago

I was missing HOST_PROMPT_SUPPORT - Currently recompiling, we'll see if it helps...

kisslorand commented 3 years ago

So? Did it help?

Andy-ABTec commented 3 years ago

Cant be 100% sure but it seems to have done...

oldman4U commented 3 years ago

sarvenn According to the picture you have attached, your TFT shows the PRE print screen and not the print screen. How have you started the print?

Andy-ABTec commented 3 years ago

No, I was wrong, the load appears to complete ok, then get a popup asking purge more/continue? Select purge more and my TFT35 E3 V3 reboots. I also pulled a fresh copy of the code from BTT and compiled it. Compiled ok, but when I try to install it only the bin gets updated, everything else is left as is.

sarvenn commented 3 years ago

sarvenn According to the picture you have attached, your TFT shows the PRE print screen and not the print screen. How have you started the print?

In the picture I sent a M600 gcode from my custom gcode menu. I also tried to do a (un)load during printing and a color change command integrated gcode file (sliced with PrusaSlicer), they act all the same. I never could get a pop up with purge more and continue options. But If I switch to marlin mode during the pop up above, purge more and continue options appear in marlin mode, then I select continue and switch to TFT mode. I've shared them at #1210

oldman4U commented 3 years ago

I can reproduce the crash.Avoid it by not purging at the moment.

Once you reach the point where you can not continue by pressing OK - move the encoder one step clockwise and press the encoder once. Let me know

Andy-ABTec commented 3 years ago

OK, thanks for the tip

oldman4U commented 3 years ago

Please confirm that this also works for you.

Andy-ABTec commented 3 years ago

Works for me as well, also, don't know if it's related but the TFT is not changing any of the files on the card to .cur's.

For what its worth I haven't made any changes to my config.ini or configuration.h since mid-December last year, I've just been picking up bug fixes occasionally.

The only recent change I've made is in Marlin's configuration_adv.h, where I enabled HOST_PROMPT_SUPPORT as described in the TFT's config.ini

oldman4U commented 3 years ago

Could you please try this firmware to see if it solves the issue with the crash while loading filament: https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware/tree/1eb47368ea26ee08b69ca7668ac8d4b55b0409e4

The firmware above is the last one which works for me before PR #1466 which causes a crash on my TFT when loading filament. I even did not know that the TFT can crash;-)

Please let me know

Andy-ABTec commented 3 years ago

Package compiled OK, and copied to a newly formatted card. On boot the .bin is read then the tft tells me its found "Outdated data - Config: Update required" cannot get any further...

Im going to try a compiled version from the BTT Repo and see if that works...

oldman4U commented 3 years ago

You also have to copy the config.ini and the TFT folder from the link above.

Andy-ABTec commented 3 years ago

I did

Andy-ABTec commented 3 years ago

Icopied the bin, config.ini the font file and the graphics onto a newly formatted card

Andy-ABTec commented 3 years ago

BTW the precompiled file is doing exactly the same thing - rebooting...

Andy-ABTec commented 3 years ago

Could it be Marlin Bugfix 2.0.x on my BTT SKR Mini E3 that's causing the problem?

sarvenn commented 3 years ago

verify on Marlin fw you have all the following setting enabled:

Options to support dialog with host: EMERGENCY_PARSER (in Configuration_adv.h) SERIAL_FLOAT_PRECISION 4 (in Configuration_adv.h) HOST_ACTION_COMMANDS (in Configuration_adv.h) HOST_PROMPT_SUPPORT (in Configuration_adv.h)

Options to support M600 with host & (Un)Load menu: NOZZLE_PARK_FEATURE (in Configuration.h) ADVANCED_PAUSE_FEATURE (in Configuration_adv.h) FILAMENT_LOAD_UNLOAD_GCODES (in Configuration_adv.h)

it could be also a problem on the knob. In my case the knob button remained clicked

@digant73 should I undefine #define CR10_STOCKDISPLAY and define //#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER in configuration.h ? I checked the config file for Marlin bugfix skr mini e3 v2 and default is cr10_stockdisplay.

Andy-ABTec commented 3 years ago

I've already done this, the only thing I was missing was HOST_PROMPT_SUPPORT which I've fixed

digant73 commented 3 years ago

@sarvenn no, if you have a creality printer

oldman4U commented 3 years ago

README

digant73 notifications@github.com schrieb am Fr. 29. Jän. 2021 um 17:58:

@sarvenn https://github.com/sarvenn no, if you have a creality printer

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware/issues/1564#issuecomment-769924776, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6XKZEP2DVT7J4PMRQ6FH3S4LSKLANCNFSM4WSJFIZQ .

oldman4U commented 3 years ago

@Andy-ABTec now I also tried the precompiled from above and it works for me. Do you have a "Extrude" button or an (Un)Load?

I use Marlin bug fix from Jan. 28th with HOST_PROMPT_SUPPORT activated.

Please send a movie which shows the crash.

Andy-ABTec commented 3 years ago

Will do, unfortunately, I can't right now, Octoprint is busy printing for the next few hours, but I'll put something together as soon as I can.

oldman4U commented 3 years ago

Still printing?

The crash while loading filament happens during pausing a print as well as before a print is started.

Could you please try this firmware to see if it solves the issue with the crash while loading filament: https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware/tree/1eb47368ea26ee08b69ca7668ac8d4b55b0409e4

Andy-ABTec commented 3 years ago

Apologies had a bit of a disaster with GitHub over the weekend - Successfully trashed all my saved firmware. Currently rebuilding from scratch. will get back when I've finished...

Andy-ABTec commented 3 years ago

Sorry for the delay, I'm back up and running now, latest Marlin Bugfix and latest Touch Screen firmware... Suffering the occasional freeze especially with OctoPrint but the original issue seems to be gone. Unless there's anything else you'd like me to try (BTT SKR Mini E3 V2 + BTT TFT 35 E3 V3 + BLTouch 3.0) for the sake of helping out I'll drop out of this chat now - thanks for your time, and sorry I wasn't more help.

kisslorand commented 3 years ago

If original issue is gone, please close this ticket.

Andy-ABTec commented 3 years ago

Don't appear to have a comment and close button, only a comment button - not my thread originally. That's why I said what I said...

oldman4U commented 3 years ago

Andy could you please test one thing for me. Heat the Nozzle and then go to (Un)Load. Press Load and once asked press Purge More and DO NOT press Continue.

Let me know what happens please.

Thank you

Andy-ABTec commented 3 years ago

Have a print that finishes in around 5 hours, you're next in the queue...

oldman4U commented 3 years ago

You need more printer 😁

Thank you

kisslorand commented 3 years ago

Don't appear to have a comment and close button, only a comment button - not my thread originally. That's why I said what I said...

OK, my mistake. :)

Andy-ABTec commented 3 years ago

Am currently printing bits for a HyperCube Evolution... 😎

oldman4U commented 3 years ago

Good starting point.

Andy Barnett notifications@github.com schrieb am So. 7. Feb. 2021 um 21:57:

Am currently printing bits for a HyperCube Evolution... 😎

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware/issues/1564#issuecomment-774760876, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6XKZD6R53ITZV72M3CQ4DS535EDANCNFSM4WSJFIZQ .

Andy-ABTec commented 3 years ago

Just done the "Load" - "Purge More" thing... Something restarts, I'm back at the BTT logo on the TFT 35, then see the usual messages about Fade Height etc as if the printer has just been turned on.

Not sure if it's just the TFT restarting of if the TFT is telling the SKR Mini to do the purge and the SKR Mini is causing the problem.

Are there logs anywhere that might help?

oldman4U commented 3 years ago

It is all good. Thank you

@kisslorand

I have been hunting the (Un)Load crash now for several days using SKR Pro, v1.4 and E3 DIP. Other users reporting the same issue use SKR minis and all points to an issue related to STM32. All boards with the crash have this kind of processor. LPC based boards like my SKR v1.4 using the absolute identical firmware do not crash.

sarvenn commented 3 years ago

After enabling the features mentioned in the TFT config.ini file, persistant pop up problem is gone(only continue option). Now it askes for purge more and continue. However on purge more choice printer reboots (skr mini e3 v2 +tft35). I know it is already known issue.

oldman4U commented 3 years ago

The issue with the crash/hang after selecting "Purge More" when using a STM32 based mainboard is likely fixed thanks to user arjanmels

MarlinFirmware/Marlin#21210

Please update Marlin and close the ticket in case you do not need it anymore.

oldman4U commented 3 years ago

@Msq001

This Marlin related issue is fixed using the bugfix version of Marlin after February 27th and the user does not respond anymore.

Thank you

github-actions[bot] commented 6 months ago

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.