-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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] Random moves and stopping when printing from TFT #2860
Comments
Check please if you have the same behaviour with the FW from here. |
Just flashed it. The problem still persists in the same way. |
You still had the "Unknown Command: XYZ" problem? |
When I print over USB (I use octoprint) it prints normally. I used the same GCode file too. |
When printing "over USB cable from slicer" where is the USB cable connected to? |
the USB cable is directly connected with the MKS Gen L 1.0 mainboard of the X1 where the TFT board is also connected to. |
At this point I am sure you realize that the TFT has no influence on the printing job, it might be disconnected as well from the mainboard. |
I had this effect that it stops mostly in the first layers suddenly. This effect took place after the changes "Removed unnecessary cache queue for managing PLR feature". When I used older version I didn't see that. I did not investigate, just stick on older version. |
if you have the MKS Gen L 1.0, the bus is shared with the TFT so you will have collisions. If you print from USB port you have to put the TFT on |
@digant73 thanks for your reply. I actually used your X1 firmware and TFT firmware🙄. I could solve my USB printing issue (from stick and cable) by going back to Marlin 2.1.1 (had to build it myself from your sources). |
printing from TFT's USB stick (or even TFT's SD) should not give you any issue (no collision etc...). I usually prefer to stay on stable Marlin fw (e.g. 2.1.2 or even 2.1.1). I never use Marlin bugfix (it is a work in progress usually with huge bugs). |
Marlin 2.1.2 (May 14 2023) I had the issue with |
are you using the latest TFT fw with also |
I tried both ways with "../Feature/Advance ok" without success. The TFT program is the actual version for TFT70 (no GD), precompiled. In one case it stopped early before G29, in the next case it hang in the first layer. It seems that the communication with marlin-board stopped, the TFT pgm is not frozen. Board is SKR V1.4 TURBO with Marlin 2.1.2.1. |
@burneme try also to reduce the baudrate. It seems more a connection issue. Disable also advanced_ok feature on TFT just to avoid burst of messages that could accentuate a connection issue |
@digant73 I checked with old FW, print is pretty good using the same (unmodified) SD-card. Obviously not corrupted. Current baudrate is 115k2 towards the main board, I'm sceptical about lowering the speed. This is no physical stress for the serial interface. I will play around with the effect of advanced_ok together with older FW to provoke error. Possibly something wrong with the configuration of marlin? |
@burneme Try to disable |
@digant73 nice finding! With 2.1.1 the led on the X1 is off by default (with 2.1.2 it was on when print started), so thats possibly why it was failing with 2.1.2. |
@githubber4ever the LED configuration in Marlin 2.1.1 and 2.1.2 are the same while |
@digant73 No, this is a quite boring machine without LED, but I cannot exclude that commands for LEDs are sent. Will look for that this evening. |
Since it is a communication problem, I will build at first a small unit which is able to log both sides of a serial connection and log it. Need it for regular work as well, than we can look thru the log. |
@ALL if possible, please try the attached TFT fw (implementing #2889) with MKSTFT28.zip |
I found on one on my printers having a LED strip that the error at the beginning of some printings with settings |
a new TFT fw is available. I would try it |
Last Evening I tried it with the youngest version (TFT70, precompiled from here), stopped after approx. 10% of 1.8MB gcode-file. |
Description
Posted this on the Marlin repo but wondering if this is a Tft bug.
When printing from the tft with either SD or USB, the print head moves at random to random locations randomly during any print (usually max X or Y), reports errors of "Unknown Command: G X100 Y100" or things like that, and then eventually stops printing early in the print, with no indication as to why. The screen itself is not frozen, and still looks like it's printing, steppers are still locked on and nozzle and bed are still being heated, just nothing is moving.
Other shenanigans: Sometimes too, in the middle of the print, a stepper will start buzzing like crazy as if it was missing all the steps, but then it keeps going where it is supposed to so no missed steps...
It looks like it might be a serial issue, where 99% of the communication between the screen and the main board is good, but for some lines it misses the some characters (which would explain the error above, which BTW on the file itself it is "G1 X100 Y100", but during the communication it seems to drop a random caracter on random lines and it results on the "Unknown Command: G X100 Y100").
Would be lovely to know if anyone else is experiencing anything similar to see if it is my screen that is defective or if I am not crazy. Wondering if it involves only the GD version of the display or all.
Steps to reproduce
Expected behavior
I can print from the SD or USB of the TFT in the same way as when I print directly from the SKR board.
Actual behavior
When I try the same GCODE file on either the USB or SD port on the TFT 35:
Hardware Variant
Btt SKR mini E3 V3 with the GD version of the TFT 35 V3.0.1 (non E3 or D).
Board is self compiled marlin 2.1.2.1, with settings adapted for a bl touch CR 10 V2, based on the Ender 3 SKR mini E3 V3 example config.
TFT Firmware Version & Main Board Firmware details
Latest TFT pre-compiled version -1 commit (because to my knowledge the latest commit has a bunch of errors between the settings and config and language and icon files, and the pre-compiled bin firwares, but one commit ago it was all good).
I did try a lot of different TFT pre compiled firwares and even tried a self compiled bin, from different points and commits (up to 1.5 years ago) and although they each have a different set of bugs or issues they all share this problem.
I did compile my own version of Marlin 2.1.2.1 for the SKR, for which I based it off of the example Ender 3 and then just changed minor things to adapt it to a Cr10 V2 (I added a bunch of different things like input shaping or a bed leveling probe, but nothing that I feel could have caused these issues, especially nothing concerning buffers or serial settings).
Additional Information
N/A
The text was updated successfully, but these errors were encountered: