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] When printing a Prusaslicer gcode file from TFT USB/SD, printer begins to just randomely air print, skipping all start gcode. Prints randomely stopping as well regardless of slicer. #687

Closed
SonBroku opened this issue May 12, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@SonBroku
Copy link

SonBroku commented May 12, 2020

As the title says. If i slice a print in PrusaSlicer, then put it on a USB stick or an SD card, and attempt to print with it over the TFT slots, it seems like it just begins air printing and skips all of the start gcode. It's like it just immediately starts the first layer without moving to the right height, or heating up, or anything in the start GCODE produced by prusaslicer. It only does this with GCODE files produced by prusaslicer.

With Cura GCODE it will begin printing normally, but I'm getting random stops in the print when printing from the USB stick or the SD slot on TFT. The worst part is the nozzle and bed stay at temperature.

I did notice that Cura GCODE files, have CRLF line endings, whereas PrusaSlicer has LF. I've noticed that sometimes, if I change the line endings in a text editor to format to CRLF, it won't do this.

Printing with Octoprint or the onboard SKR 1.3 SD card slot works fine though as far as prints completing.

I have my BAUD rate set to 115200 and an SKR1.3 with a TFT35 e3 v3.0. I also have both Octoprint AND the TFT hooked to the SKR. However this still happens when disconnecting Octoprint as well. It seems as if the TFT just isn't feeding gcode over serial to the mainboard reliably. Something is causing it to hang. It could be marlin's fault however. There's a ton of reasons that there could be serial communication dropouts, I'm aware. I have no clue what's happening with the prusaslicer files though.

I have a TFT35 e3 v3.0 plugged into an SKR1.3.
Marlin 2.0.5.3
TFTfirmware release version x.26.1

Here is a paste of my Configuration.h
https://pastebin.com/85LDfJmU

@SonBroku SonBroku added the bug Something isn't working label May 12, 2020
@SonBroku SonBroku changed the title [BUG] When printing from USB, printer begins to just randomely air print, skipping all start gcode. [BUG] When printing a Prusaslicer gcode file from USB, printer begins to just randomely air print, skipping all start gcode. Print stops in the middle of print as well. May 12, 2020
@SonBroku SonBroku changed the title [BUG] When printing a Prusaslicer gcode file from USB, printer begins to just randomely air print, skipping all start gcode. Print stops in the middle of print as well. [BUG] When printing a Prusaslicer gcode file from TFT USB, printer begins to just randomely air print, skipping all start gcode. Print stops in the middle of print as well. May 12, 2020
@SonBroku SonBroku changed the title [BUG] When printing a Prusaslicer gcode file from TFT USB, printer begins to just randomely air print, skipping all start gcode. Print stops in the middle of print as well. [BUG] When printing a Prusaslicer gcode file from TFT USB, printer begins to just randomely air print, skipping all start gcode. Prints randomely stopping as well. May 12, 2020
@SonBroku SonBroku changed the title [BUG] When printing a Prusaslicer gcode file from TFT USB, printer begins to just randomely air print, skipping all start gcode. Prints randomely stopping as well. [BUG] When printing a Prusaslicer gcode file from TFT USB/SD, printer begins to just randomely air print, skipping all start gcode. Prints randomely stopping as well regardless of slicer. May 12, 2020
@MrRegata
Copy link

I have the same error with my new tft35 v3.0, and i try to edit the prusaslicer gcode file with notepad++, and cut the first lines where prusaslicer config the accelerations, velocities, etc, and copy after that my start gcode lines. So it´s work for me, when i print from USB, try and comment.

@MrRegata
Copy link

Other way to can print from TFT USB port is change the firmware option to RepRap/Sprinter in config printer/General. This type of firmware is the same as Marlin, but not include the first comands line M20x in gcode file.

This lines produce error when print from TFT USB port.

@digant73
Copy link
Contributor

please try if with PR #663 the problem is solved

@SonBroku SonBroku closed this as completed Jun 3, 2020
Copy link

github-actions bot commented Apr 8, 2024

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 Apr 8, 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
Development

No branches or pull requests

3 participants