-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
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] TFT_COLOR_UI display lockup (in calibration) #23435
Comments
+1 with MKS Robin Nano V1.2 (mks_robin_nano35) and BOARD_MKS_ROBIN_NANO_V1_3_F4 @sk8board just FYI.I can as confirm with a power cycle it asks to calibrate again and always seems to work. |
Does anyone have a solution, I have the same problem? |
@Camillo0000 just a power cycle on the machine once or twice until it works. Does it not let you get past that? |
Please define/enable |
@thinkyhead I cannot find Also, what is a serial console and how do I connect to it? I have searched google without finding what you mean. Do you mean to use Octoprint Serial Connection then enable Serial Logging? |
I have added I then monitored Octoprint Terminal. Below is what I discovered. First, I notice the problem with the display locking up occurs after sending Here are the test results: Trial 1 Power on the printer, then display calibration is automatically started
Result: Display calibration completed with the display showing the main menu and the display functioning as expected Trial 2 Power on the printer, the display shows main menu and the display functions as expected. I noticed M502 will cause the display to lock up. To get the display to function again, I sent M995 which started display calibration.
Result: The display is locked up after sending M502. Sending M995 started display calibration, but calibration ended with the display showing two "+" signs in opposite corners with the words "Top Left". Sending M995 again did not affect the display. The display remained locked up. Trial 3 Power on the printer, then display calibration is automatically started
Result: Display calibration completed with the display functioning as expected |
Maybe the issue is related to a funky EEPROM. Try defining/enabling |
I have added The result was the same. Octoprint Terminal did not show anything different compared to what I have provided in my previous post. Even when the display would lockup at the end of display calibration or when sending The next step shows how to prevent the display from locking-up. In my previous post I mentioned that sending M502 would cause the display to lockup instantly. Eventually, this made sense to me since the Configuration.h did not have default settings for the display. When loading default settings, After adding
Therefore, I changed Configuration.h to the following: enable I used the values shown above from OctoPrint terminal to define the display calibration values as shown below.
These changes to Configuration.h have stopped the display from locking up. When performing a display calibration, sometimes the calibration would end by showing "Calibration Failed", but the display would then show the main menu and function as expected. I still do not know why display calibration fails about 50% of the time. Display calibration failure seems to be a bug. Therefore, this information should be considered a workaround. A further workaround was to disable If you have previously added |
@sk8board In your particular case the raw data were
raw_y values for state 0 (Top Left) and 2 (Top Right) are 304 and 226. I need some time to catch up with current state of tft and touch code to find out where exact problem in the code is. Until than I can offer you two workarounds:
|
@jmz52 |
@jmz52 |
@thinkyhead it seems this problem has been verified. Should this be marked as a confirmed bug for a fix in a future release? |
2 similar comments
@thinkyhead it seems this problem has been verified. Should this be marked as a confirmed bug for a fix in a future release? |
@thinkyhead it seems this problem has been verified. Should this be marked as a confirmed bug for a fix in a future release? |
I believe this was fixed in: Please download |
This issue has had no activity in the last 60 days. Please add a reply if you want to keep this issue active, otherwise it will be automatically closed within 10 days. |
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. |
Did you test the latest
bugfix-2.0.x
code?Yes, and the problem still exists.
Bug Description
After turning on the main power switch of the printer, the display will show "booting", then a Marlin logo, then sometimes the display requires calibration.
Many times when display calibration is performed, the display freezes with two "+" signs in opposite corners with the words showing "top left".
Cycling the power switch on the printer starts the whole process again. Sometimes I can get past the display calibration screen other times the display freezes again.
This problem occurs 50% of the time.
TFT_COLOR_UI is used
Bug Timeline
2.0.9.3 December 30, 2021
Expected behavior
For the display to function after calibration is complete.
Actual behavior
Many times when display calibration is performed, the display freezes with two "+" signs in opposite corners with the words showing "top left".
Cycling the power switch on the printer starts the whole process again. Sometimes I can get past the display calibration screen other times the display freezes again.
This problem occurs 50% of the time.
Steps to Reproduce
Config.zip
Version of Marlin Firmware
2.0.9.3
Printer model
Two Trees Sapphire Plus
Electronics
Stock MKS Robin Nano V1.2 (mks_robin_nano35)
Add-ons
No response
Bed Leveling
No response
Your Slicer
No response
Host Software
OctoPrint
Additional information & file uploads
TFT_COLOR_UI is used in configuration.h
The text was updated successfully, but these errors were encountered: