-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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] Marlin stops/stuck saying "Media Inserted" or "Printing" randomly #20168
Comments
Marlin/src/sd/cardreader.cpp Maybe make this function run on a timer ~1 second after it detected removal of the card so if it's a misread of the detect pin or something it recovers and when someone does remove the card it should stop after a second or 2 with an error message on the LCD and maybe ask to resume. |
Please test the |
-- Noticed I uploaded the older config files only I'm running bugfix-2.0.x at the moment with the change mentioned above, without it it fails pretty much every long print. Current print had already failed because apparently this Chinese display is a piece of crap and the long flat cables don't help. |
Your problem is related with Try commenting If it works, try checking everything related with that PIN and with the cable. Try using onboard SD to check if the problem happens too. |
It's the SD card for sure, just finished a pretty long print without issues. But it's still an issue that Marlin just does the endFilePrint(); and that doesn't disable the hotend or put an error on the display like 'Interrupted' or something. Also it's still in half printing state because you have a pause and stop option. Pressing the pause makes it say Pause but you cannot un-pause. You can test this by starting a print and removing the SD card for just a second. |
Marlin is calling And Marlin wasn't supposed to have the SD removed during a print. It will let Marlin with wrong states in memory. I don't think we need to handle that. You can fill an issue about that, but it's really look like a corner case. |
@rhapsodyv I’m going to reopen this. I agree that if the firmware is aware enough to stop the print on SD removal, it should also probably turn off heaters. |
Thanks! I agree. At least if there is an LCD put an error message "Print interrupted" or something. Ps. It's not that big of a deal because I'm buying a quality screen later but good error handling is pretty important specially if you are printing something that costs 2 kilo of filament and someone pulls the card for just a second by accident.... |
I closed that issue, because that issue is a false alarm. And just said that I don't think we need handle bad hardware. But I also said that if the user want, he can open a issue about that. I just think that this thread already have too much confusion for the issue that we are taking about. So, I really think it should be closed, and any other issued opened. |
Our best bet for that is turning on @Stefar77 Did you try |
@rhapsodyv pointed out that this is already reported and has been discussed in another issue, I will close this as a duplicate. |
Duplicate of #15390 |
It was indeed still disabled by default and I forgot to enable it and makes this less of a fire hazard. 👍 I started out suspecting the TMC drivers at first because I've seen a lot of people using them having the same issues. |
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. |
Bug Description
When printing larger prints the printer randomly stops. (SKR 1.3, tested with all A4988 drivers and TMC5161 drivers)
I went from Marlin 1.9 to Marlin 2 because I switch from RAMPS 1.4 to SKR 1.3 and not I cannot print bigger works anymore.
Still testing and switched back the 5161 drivers again because that clearly wasn't the issue.
Configuration Files
config.zip
Steps to Reproduce
Print something big and wait for it to fail. (last fail cost me ~0.5 kilo filament)
Edit: Just tested and you can reproduce fast and easy by printing something and re-seat the SD card.
Expected behavior:
Stops moving axis after a random amount of time, hotends stays hot.
TFT still works, connecting to serial still works, I can pause in this state and movement works but it will never unpause.
Expect the firmware to give some sort of error and disable the hotend at least, this is a fire hazard!
** Probably related **
#15337, #17161 [both are closed but seem like the same issue]
The text was updated successfully, but these errors were encountered: