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 from Marlin mode. #1058

Closed
Neme77 opened this issue Sep 4, 2020 · 116 comments · Fixed by #1138
Closed

Bug when printing from Marlin mode. #1058

Neme77 opened this issue Sep 4, 2020 · 116 comments · Fixed by #1138
Labels
bug Something isn't working

Comments

@Neme77
Copy link

Neme77 commented Sep 4, 2020

Description

When a print is launched from the Marlin mode, the display changes and automatically activates the TFT mode

Steps to reproduce

  1. [Update to latest release]
  2. [launch print from Marlin mode]

Hardware Variant

TFT35 V3

TFT Firmware Version & Main Board Firmware details

Latest Firmware for TFT35 V3 with SKR 1.4 Marlin Bugfix 2.0.6.1

Additional Information

  • Include a ZIP file containing your Configuration.h or use Pastebin and paste a link in this issue.
  • Provide pictures or links to videos that clearly demonstrate the issue.
@Neme77 Neme77 added the bug Something isn't working label Sep 4, 2020
@blueeagle69
Copy link

I'm running the TFT35 E3 V3 on my Biqu B1 (latest FW) and I can't reproduce this.

@zonalimitatore
Copy link
Contributor

The same to me.
Last firmware avaiable. tft24,if im in marlin and do a print from sd,automatically switch to touch mode

@Manu512
Copy link

Manu512 commented Sep 5, 2020

Hello,

Same with Last Firmware.
And Filament Sensor doesnt work for me. I've a sensor on the SKR1.4 Turbo and another on the TFT and no one work correctly.

I've Two extruders on a mixing hotend.

@charakaSamawry
Copy link

If youve made any changes in the config.ini the issue could be a change youve made, so you should upload those files somewhere and post the link here so ppl can see what might be wrong. I think the best way is to use github desktop and push your changes to a your own branch on a BTT TSF fork so anyone can go check out your fork and you can easily link to your changes/config files easily without having to uplaod/zip them or pastebin them

@Neme77
Copy link
Author

Neme77 commented Sep 6, 2020

If youve made any changes in the config.ini the issue could be a change youve made, so you should upload those files somewhere and post the link here so ppl can see what might be wrong. I think the best way is to use github desktop and push your changes to a your own branch on a BTT TSF fork so anyone can go check out your fork and you can easily link to your changes/config files easily without having to uplaod/zip them or pastebin them

I compile myself the firmware with PlatformIO.
This is my Configuration.H

Configuration.zip

@zonalimitatore
Copy link
Contributor

Isn't a config problem....My problem start with upgrade of the official firmware

@LongLiveCHIEF
Copy link

Could you post just the file, and not a zip? Put it in a gist or link to your fork.

@charakaSamawry
Copy link

People have no easy way of knowing what changes you made and when you last updated everything. (ie which changes happened in between your last update and this most recent one that introduced these problems).
Configuration file is good but hard to see what changes you made with out being more familiar with the code

It would be useful to have your folder of the BTT TSF uploaded to a personal branch on a fork of BTT TSF on your github so people can see all your files and the exact changes that you made, since youre compiling it yourself there's more that can go wrong.

Easiest way is to fork BTT/BTT TSF and create a new branch with your changes copied into it (In github desktop) then push it so its public, here online, for others to view.

Using github desktop makes life easy and works with VSCode plugins really nicely as well. Which people could use to more easily identify your problem, if your folder was public, on personal branch with your changes.
You can open easy to read comparisons with previous version ,PRs or Issues or specific commits even. I could even compare youre config to mine and it highlights the differences. (Uses the feature to quickly fix clashes as well during a merge. opens vscode from github desktop and highlights clashes with options to include the old or new changes or even edit manually the changes)
sorry if you knew that

@Neme77
Copy link
Author

Neme77 commented Sep 6, 2020

People have no easy way of knowing what changes you made and when you last updated everything. (ie which changes happened in between your last update and this most recent one that introduced these problems).
Configuration file is good but hard to see what changes you made with out being more familiar with the code

It would be useful to have your folder of the BTT TSF uploaded to a personal branch on a fork of BTT TSF on your github so people can see all your files and the exact changes that you made, since youre compiling it yourself there's more that can go wrong.

Easiest way is to fork BTT/BTT TSF and create a new branch with your changes copied into it (In github desktop) then push it so its public, here online, for others to view.

Using github desktop makes life easy and works with VSCode plugins really nicely as well. Which people could use to more easily identify your problem, if your folder was public, on personal branch with your changes.
You can open easy to read comparisons with previous version ,PRs or Issues or specific commits even. I could even compare youre config to mine and it highlights the differences. (Uses the feature to quickly fix clashes as well during a merge. opens vscode from github desktop and highlights clashes with options to include the old or new changes or even edit manually the changes)
sorry if you knew that

Thanks for your reply and interest, I will soon publish a fork on github.
I would like to clarify that I also tried with the pre-compiled firmware for tft35 v3 and the problem persists.

@charakaSamawry
Copy link

The devs should be able to help. I’ll have to try it on my printer now.. always print from touch screen so haven’t noticed this issue myself.

Do you use the most up to date files? or releases? Have you tried using the latter? Ie master vs release xx.26.1

@Neme77
Copy link
Author

Neme77 commented Sep 7, 2020

The devs should be able to help. I’ll have to try it on my printer now.. always print from touch screen so haven’t noticed this issue myself.

Do you use the most up to date files? or releases? Have you tried using the latter? Ie master vs release xx.26.1

Yes, i use the latest Master....

@oldman4U
Copy link
Contributor

oldman4U commented Sep 7, 2020

@charakaSamawry

I believe it would be great if you could make a documentation how sharing configurations works best. Most users have troubles to compile their own firmware, so having a guide which describes what to do and what finally can be done with such a setup, would be great!

THANK YOU

@Neme77
Copy link
Author

Neme77 commented Sep 7, 2020

@charakaSamawry

I believe it would be great if you could make a documentation how sharing configurations works best. Most users have troubles to compile their own firmware, so having a guide which describes what to do and what finally can be done with such a setup, would be great!

THANK YOU

https://github.com/Neme77/BIGTREETECH-TouchScreenFirmware

@oldman4U
Copy link
Contributor

oldman4U commented Sep 8, 2020

@Neme77

Thank you. I know this, but it is scratching on the surface compared to what @charakaSamawry described.

@traffic-light
Copy link
Contributor

@oldman4U I can add it in the pinned message and manual

@oldman4U
Copy link
Contributor

oldman4U commented Sep 8, 2020

Good morning my green, yellow and red friend.

I believe this has to be added to the mainpage or the existing manual of the firmware page. But if you know this all it would be great to add it with some screenshots.

It would be useful to have your folder of the BTT TSF uploaded to a personal branch on a fork of BTT TSF on your github so people can see all your files and the exact changes that you made, since youre compiling it yourself there's more that can go wrong.

Easiest way is to fork BTT/BTT TSF and create a new branch with your changes copied into it (In github desktop) then push it so its public, here online, for others to view.

Using github desktop makes life easy and works with VSCode plugins really nicely as well. Which people could use to more easily identify your problem, if your folder was public, on personal branch with your changes.
You can open easy to read comparisons with previous version ,PRs or Issues or specific commits even. I could even compare youre config to mine and it highlights the differences. (Uses the feature to quickly fix clashes as well during a merge. opens vscode from github desktop and highlights clashes with options to include the old or new changes or even edit manually the changes)
sorry if you knew that

@traffic-light
Copy link
Contributor

Never used GitHub desktop. For so far I see it's not compatible with linux...

I'll have to take a look at it.

@oldman4U
Copy link
Contributor

oldman4U commented Sep 8, 2020

Charaka seems to know this. So it would be great if (s)he can help with this.

@charakaSamawry
Copy link

charakaSamawry commented Sep 11, 2020

desktop/desktop#1525
https://github.com/shiftkey/desktop
Glad I could help. I’ve just got good google-fu btw not actually versed in this stuff. JustGoogled it to find those links for you for instance. Done more researching than printing to be honest lol

@oldman4U
Copy link
Contributor

👍🏻

Thank you

@traffic-light
Copy link
Contributor

Yeah. I already noticed that arch linux's aur repository contains GitHub desktop ;-)

@zonalimitatore
Copy link
Contributor

So,no news about this bug?

@Neme77
Copy link
Author

Neme77 commented Sep 12, 2020

So,no news about this bug?

Ciao una curiosità hai per caso Marlin 2.0.6.1???

@zonalimitatore
Copy link
Contributor

So,no news about this bug?

Ciao una curiosità hai per caso Marlin 2.0.6.1???

Mmmm...2.0.6 sicuro.. l'1 bhoooo

@zonalimitatore
Copy link
Contributor

Maybe ive solved....
I delete initial gcode,pause gcode,end gcode(touch mode side).
I've try to load a file on sd card from marlin mode,and it work

@blueeagle69
Copy link

I just did a fresh build from the latest source.
And now oddly I have the same issue!
The only thing I changed in source was in Selectmode.c
Changing 12864 Mode text to Marlin mode (which I have always done).

I start a print in Marlin mode and the screen instantly switches to TFT mode.
Also the buttons such as Stop become unresponsive.

@blueeagle69
Copy link

Well another weird one.
Sure enough if I started a print in Marlin mode, it would switch immediately to TFT mode, and the Stop button wasn't responding.
So I flashed the firmware version from the Biqu B1 repo and the issue went away.
I then re-flashed the latest build from this repo, and no more mode-switching when starting a print.
Strange.
But hey it appears to be working.

@zonalimitatore
Copy link
Contributor

Very interesting....Seems a eeprom problem

@blueeagle69
Copy link

blueeagle69 commented Sep 21, 2020

It started doing it again.
This is driving me insane.
Flashed the Biqu B1 FW again for the TFT.
And again, problem solved.

@zonalimitatore
Copy link
Contributor

Yes I know....it's for test "back in time"

@oldman4U
Copy link
Contributor

oldman4U commented Oct 8, 2020

Not sure the EAGLE want the help of a bluish green frog in a red shirt...

@blueeagle69
Copy link

LMAO!
I'm not saying a word 🤣
@zonalimitatore Great work.
Saves giving me a headache!

@oldman4U
Copy link
Contributor

oldman4U commented Oct 8, 2020

But he is laughing....

So I would not help him...;-))))))

@zonalimitatore
Copy link
Contributor

zonalimitatore commented Oct 8, 2020

13 Jul no problems
19 Aug no problem

@oldman4U
Copy link
Contributor

oldman4U commented Oct 9, 2020

@zonalimitatore

Whats up! Are you sleeping!!?? No update for 7h!!

🤪

@zonalimitatore
Copy link
Contributor

@zonalimitatore

Whats up! Are you sleeping!!?? No update for 7h!!

🤪

Yyyyyyep! Wake up now🙃
Ready for test in free times😝

@zonalimitatore
Copy link
Contributor

20 Aug no problem

@oldman4U
Copy link
Contributor

oldman4U commented Oct 9, 2020

zonalimitatore! Fast like a Ferra... ,well, that's a bad comparison these days. Sorry.

;-)

@zonalimitatore
Copy link
Contributor

zonalimitatore commented Oct 9, 2020

26 no problem (but in the info it's 19aug)
27 aug problem present
27aug

@oldman4U
Copy link
Contributor

oldman4U commented Oct 9, 2020

So when you use the one in green, everything works fine. But when you use ANY of the one in red, it does not work anymore and the TFT switches to touch mode.

Right?

Screenshot 2020-10-09 at 12 01 23

@zonalimitatore
Copy link
Contributor

Yes,it's right

@oldman4U
Copy link
Contributor

oldman4U commented Oct 9, 2020

Do you want to test the individual commits also or should I do so?

@zonalimitatore
Copy link
Contributor

zonalimitatore commented Oct 9, 2020

06c4217 #1027 and #1028 already tested with the problem present

@oldman4U
Copy link
Contributor

We all should spend Gurmeet a coffee.

#1138

@zonalimitatore
Copy link
Contributor

Sorry.do you mean it's solved?

@oldman4U
Copy link
Contributor

Click on #1138. Download and compile and try it out.

@blueeagle69
Copy link

@guruathwal I officially love you.
Downloading now.

@blueeagle69
Copy link

@guruathwal @oldman4U
Just tested, works great.
No more mode-switching when starting a print with Serial Always On enabled!
@bigtreetech Could you push this to the Master now?

@oldman4U
Copy link
Contributor

oldman4U commented Oct 11, 2020 via email

@zonalimitatore
Copy link
Contributor

Omg finally!!! Thanks @guruathwal

@CBDesignS
Copy link

I am still switching to tft mode at the start of a print when Serial Always On is enabled! but at least it is not freezing the display. At the end of the print while the neopixels are all green when I press the button the neos go out and the screen jumps back to marlin.. its actually quite nice.. A retro Marlin start of print with a splash of modern tft during print then back to retro Marlin mode once its finnished. shame its a bug because its different.

@zonalimitatore
Copy link
Contributor

So,start in retro,autoswitch to TFT,and when finish the print,come autoback to retro?

@oldman4U
Copy link
Contributor

Using #1138 the bug has to be fixed for all users. Once released this ticket will be closed but you can start a new one if needed.

Thank you

@muttstang
Copy link

I get this same problem now. I was running the firmware for BTT E3 RRF before but had been trying to fix temperature stability issues. now I'm running the latest bugfix 2.0.x and the config file for the TFT straight from the BTT github.

Copy link

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 Mar 28, 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