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

[BUG] When serial_always_on is enabled, booting into Marlin mode seem to fail connection to printer #1118

Closed chilman408 closed 4 years ago

chilman408 commented 4 years ago

Description

When serial_always_on:1 under config.ini, if the printer is turned off when TFT is in Marlin mode. The next time the printer starts, it doesn't look like the TFT can connect to printer. Under Marlin Mode (as it boots up), the screen is blank. When switching to Touch mode, a "no printer attached" message is shown. This requires shutting down the printer in Touch mode to get things properly working again.

Steps to reproduce

  1. Set serial_always_on:1 in config.ini and flash the TFT
  2. Shut down the printer while TFT is in Marlin mode.
  3. Restart the printer.

Expected behavior

Actual behavior

Hardware Variant

TFT Firmware Version & Main Board Firmware details

Additional Information

oldman4U commented 4 years ago

Hi again.

Just tested it with my TFT35 E3 v3, also with WIFI module and SKR E3 DIP and I can not reproduce the issue.

Which mainboard and firmware are you using?

chilman408 commented 4 years ago

I am on Creality V2.2 mainboard which is on Marlin 2.0. The TFT firmware is latest, v26.

radek8 commented 4 years ago

Did you use only one 10-pin connector? if so, is it connected to the EXP3 connector on the display?

oldman4U commented 4 years ago

Hi radek8.

The system has been working fine incl. Marlin mode, until chilean408 activated "serial_always_on" to get the WIFI module (which is connected to the TFT) to work also after switching to Marlin mode.

Thank you for joining us;-)

radek8 commented 4 years ago

I know that, but I want to make sure it's properly connected. EXP1 and EXP3 partially use the same pins and may work under certain circumstances if the connectors are interchanged. But EXP3 includes a reset pin and can loop through the reset pin on the UART connector. Then Marlin would constantly reset and the display would show nothing.

chilman408 commented 4 years ago

I am using EXP1 + EXP2, not using EXP3. Amd yes, Marlin has been working fine.

radek8 commented 4 years ago

Then I see no reason why this behavior should occur. I won't help you.

oldman4U commented 4 years ago

Hi. What is the status of this issue?

chilman408 commented 4 years ago

Still the same.

oldman4U commented 4 years ago

Have you tried to contact the mainboard manufacturer. Seems to works wit BTT mainboard.

chilman408 notifications@github.com schrieb am Mi. 7. Okt. 2020 um 01:40:

Still the same.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware/issues/1118#issuecomment-704608959, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6XKZEI5TL4IDLZLDJYA4LSJOTFXANCNFSM4RVK566A .

chilman408 commented 4 years ago

The main board is running fine. To test, I could connect an Octopi via USB even when the screen crashed (when booting via Marlin Mode first).

oldman4U commented 4 years ago

I tested Skr E3 DIP and SKR Pro v1.1 and I can not reproduce the issue. Seems no other user has the same issue so it is unlikely a TFT problem. Or there are not so many users using this kind of hardware combination. I am running Marlin 2.0.7 and latest firmware from 10 days ago.

Wish you the best

chilman408 commented 4 years ago

Thanks, no problem. I'm thinking the issue may be the sequence or speediness with respect to trying to get a serial connection from the main board when booting in LCD simulation mode. Because the Octopi would make this connection until 30 seconds + into the booting process.

Unfortunately, I don't have enough reasons to move to an SKR board at the moment.

oldman4U commented 4 years ago

If everything else works I wouldn't change it also.

Please help the community and close the ticket once you do not need it anymore. Thank you

github-actions[bot] commented 6 months ago

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.