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.32k stars 1.65k forks source link

TFT35 V3.0 Stop printing random when printing from TFT35 SD card #244

Closed billydragon closed 3 years ago

billydragon commented 4 years ago

I have BTT SKR v1.3 and TFT35 V3.0. Every things fine. I can printting in LCD simulator mode with no problem. My Onboard card i keep as default to update firmware only and Marlin can't access it. Marlin not see this card. I only use SD card from TFT35 board. Problem is when i printing some file from TFT35 in Touch Mode, printer random stop, i don't know why. On LCD emulator mode printing with no problem. Any body have an idea to solve this?

m-kozlowski commented 4 years ago

Try with host keepalive disabled (M113 S0). I'm having same issue and currently testing this workaround. So far it seems to yeld good results.

Scratch that. I just had another freeze. It looks like serial communication between display and the mainboard is lost. sending gcode from TFT's menu does nothing, but the mainboard itself is responsive via ESP3d interface.

billydragon commented 4 years ago

I has disabled keepalive from start of config but still lose communication random. I will try disable all not in use UARTs of TFT35 (like Wifi, UART3,4) because may be conflig on that ports.

billydragon commented 4 years ago

It not help, still stop randomly when printing from TFT Touch mode.

Hukuma1 commented 4 years ago

Can you try to print same thing off USB? Wondering if it's SD issue possibly.

billydragon commented 4 years ago

I try without USB connection, try disabled all not in use UART 2,3,4 in variants.h but still printing from touch Mode randomly stopped. In LCD12864 emulator Mode no problem. I think some interrupt happened when TFT Touch mode print via serial port to Marlin. This is very confused when spend big money for TFT and can only use like normal 12864 LCD.

Sewyboowy commented 4 years ago

I am having the same issue. Did you manage to fix it? I tried updating firmware to the latest yesterday and still having the same problem.

MrAntonka commented 4 years ago

Hi

I have exactly the same problem. randomly stops printing. BTT TFT E3 3.0 ( lastest FW grom git, prepared images for SE card) Marlin 2.0-bugfix ( cloned a few hours ago) BTT SKR1.4 Turbo

I am not able to print from the SD card.

Sewyboowy commented 4 years ago

Yeah I updated marlin and screen firmware yesterday. Tried with baud rates 115200 and 256000. I've got reprap discount smart controller disabled in marlin but the EXP connectors plugged in anyway, wondering if that's got something to do with it. Seems to print fine connected directly to a computer

Doenermaker commented 4 years ago

Same problem here. SKR1.3 and TFT35v1.2. Latest Marlin 2.0.4 from today. Tried different tft firmwares (standard, Guruathwals fork pre compiled 1.24.2 and 1.25.2 and self compiled 1.25.2). No difference.

Randomly stops printing, sometimes on layer one, sometimes much later, even on the same GCode-file. Printer needs to be reset to accept TFTs signal again.

Sewyboowy commented 4 years ago

Well I'm glad I'm not alone. Any ideas how to get BTT to help?

Hukuma1 commented 4 years ago

Just to confirm it's not a Marlin change, can you guys try Marlin 2.03?

https://github.com/MarlinFirmware/Marlin/releases/tag/2.0.3

Scope666 commented 4 years ago

There's been major development activity lately, you should go NON-BUGFIX, which the latest release is now 2.0.4.2. It's actually ahead of Bugfix right now which is strange.

https://github.com/MarlinFirmware/Marlin/releases

Sewyboowy commented 4 years ago

Brilliant thanks I'll give this a try tomorrow

MrAntonka commented 4 years ago

Hi, I have re-flash TFT again and now it works perfectly :) do NOT use precompiled SD images. Compile your own bin file.

Now it works well :) Roman

Sewyboowy commented 4 years ago

Hmmm I've been compiling my own as well but having the same problem, what versions of marlin and TFT firmware are you using?

MrAntonka commented 4 years ago

Marlin-2.0.x-bugfix - commit : 2bcc2ec7d1125428beb6898a527d1cc49c26ac78 https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware - commit: 5777f41b5f8c1a41410a6874614499c91ac78fa2

all latest

Sewyboowy commented 4 years ago

Just tried with marlin 2.0.4.3 (which I believe has the fix from 2bcc2ec7d1125428beb6898a527d1cc49c26ac78) and I have the same touchscreen firmware. The print still fails, but now when it does the i'm taken to the home screen and everything remains responsive. I also then tried to re print the same part and when clicking "print", I got a message asking if I'd like to resume the print. Any ideas? How do you have your tft configured in marlin and have you done anything special with the tft firmware?

MrAntonka commented 4 years ago

@Sewyboowy do you have EXP1 + EXP2 connected?

Sewyboowy commented 4 years ago

@MrAntonka Yes I have both connected and the TFT cable. I've got the "full graphic' display enabled in marlin but not the "smart controller"

MrAntonka commented 4 years ago

hmm,, I have no idea then

Sewyboowy commented 4 years ago

@MrAntonka would you mind sharing your configuration and configuration.adv files so I can see where we differ?

MrAntonka commented 4 years ago

yes np .... give me your email :)

Sewyboowy commented 4 years ago

Thanks! My email is tom-sewart@hotmail.co.uk

MrAntonka commented 4 years ago

check your mailbox ;)

Sewyboowy commented 4 years ago

Got it thanks!

piotrekm7 commented 4 years ago

I've flashed latest marlin and touch screen firmware and the problem still persists. @MrAntonka can you share your configs publicly ? @Sewyboowy any luck with that ?

Sewyboowy commented 4 years ago

Sorry I've been so slow, been very busy! I've just looked at MrAntonka's config, the only notable differences being that in mine I had ST7920_FULLSCREEN and UNIFIED_MENU commented out. I've uncommented them now and running a test print.

Sewyboowy commented 4 years ago

Neither of those options fixed it

Sewyboowy commented 4 years ago

Am having a look at marlin config now but cant test until tomorrow. Here are MrAntonka's config files.

marlin.zip

TFT.zip

MrAntonka commented 4 years ago

When you switch to classic display simulator, does it works?

Sewyboowy commented 4 years ago

I tried that on an older release of marlin (maybe a month or so ago) and it failed

MrAntonka commented 4 years ago

When you switch to "LCD12864 simulator" are you able to print?

Sewyboowy commented 4 years ago

Previously printing with the LCD12864 simulator had the same issue, but just printed a benchy fine. Any ideas how to fix touch mode then?

Sewyboowy commented 4 years ago

Just tried another print in LCD12864 sim mode and it failed. Guess it doesn't work

reQu1em00 commented 4 years ago

I have the same issue. Using an SKR mini E3 1.2 with the tft35 on an ender 3 pro. Random drop outs when I print from anything in the tft. Also the tft will freeze sometimes if I print from octoprint but the print continues. It usually says ‘processing’ in red at the top of the screen.

This happens in both modes but more in touch mode.

Sewyboowy commented 4 years ago

Mine works in sim mode now that I have enabled reprap smart controller. Still got the same issue otherwise. People have suggested insulating the cables from EMI but I'm not sure... I get the same issue even if I am printing from SD in sim mode but connected to repetier as well. Really odd

kingontheroad commented 4 years ago

Same here today after 2,5 hour printing , pats drop out grrr

Has someone of you , solved the problem ?

piotrekm7 commented 4 years ago

@kingontheroad Yeah, I have bought different display. I tried dozens of configurations and nothing helped, even making new heavy duty connection cable.

kingontheroad commented 4 years ago

@kingontheroad Yeah, I have bought different display. I tried dozens of configurations and nothing helped, even making new heavy duty connection cable.

May i ask , what for display you bought Iam thinking about the same to do and icm other motherbord

piotrekm7 commented 4 years ago

@kingontheroad Classic "reprap discount full graphic smart controller". I much prefer fancy TFT touch display, but it's useless for me with this bug.

kingontheroad commented 4 years ago

@kingontheroad Classic "reprap discount full graphic smart controller". I much prefer fancy TFT touch display, but it's useless for me with this bug.

Iam gonna sell my btt board + tft and buy mks 32bits board with mks screen . I have this set from btt now 4 weeks and 4 busy weeks busy with pionering and fixes bugs...

Thanks for the reply @piotrekm7

billydragon commented 4 years ago

Yes. I spent many much money buy BTT product but they are bad quality and not finish developed. SKR Pro v1.1 after some months work now it never booting up. TFT35 V3 as you see problem here, closed loop motor never work normally after buy it. So, solution is change to makerbase MKS products and not headaches about bug.

Sent from my iPhone

On Apr 4, 2020, at 21:06, kingontheroad notifications@github.com wrote:

 @kingontheroad Classic "reprap discount full graphic smart controller". I much prefer fancy TFT touch display, but it's useless for me with this bug.

Iam gonna sell my btt board + tft and buy mks 32bits board with mks screen . I have this set from btt now 4 weeks and 4 busy weeks busy with pionering and fixes bugs...

Thanks for the reply @piotrekm7

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

kiwipaulrob commented 4 years ago

My problem turned out to be a problem with the micro sd card I was using. Check your card.

phlebaspho commented 4 years ago

In my case, after much A/B testing I realised it was not the TFT35 - it was "device connected to Marlin serial port 2" that experienced the the comms loss. Moving the TFT35 to the frist serial port in Marlin config.h fixed it.

piotrekm7 commented 4 years ago

I managed to have it working as well. In my case, reducing number of TMC microsteps from 256 to 32 did the job.

mderdouri commented 4 years ago

I managed to have it working as well. In my case, reducing number of TMC microsteps from 256 to 32 did the job.

Can you please post your config files publicly for reference? I've been dealing with this bug for weeks and can't get it fixed.

merinkumar commented 4 years ago

In my case, after much A/B testing I realised it was not the TFT35 - it was "device connected to Marlin serial port 2" that experienced the the comms loss. Moving the TFT35 to the frist serial port in Marlin config.h fixed it.

Can you please let know how to do that?

merinkumar commented 4 years ago

I Guess this is what we need to do for changing the port.

define SERIAL_PORT 0

define SERIAL_PORT_2 -1

here 0 is actual UART0 to which the TFT is connected and -1 is the virtual USB for PC communication. Earlier I had the -1 and 0 other way , and the print never takes off after G28, it just hold the position and not even stop cmd works. Now seems working.

Gordon44 commented 4 years ago

If I set #define SERIAL_PORT 0 I get this error message any Ideas what is wrong The terminal process "C:\Users\gegro.platformio\penv\Scripts\platformio.exe 'run', '--environment', 'BIGTREE_GTR_V1_0'" terminated with exit code: 1. It will work if I set #define SERIAL_PORT -1 The other #define SERIAL_PORT 2-0 seams to have no effect

ovladaf commented 4 years ago

Here the same problem... I'm mad with this tft35...