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] TFT_COLOR_UI: Calibration dialog keeps showing up after printer power on #20970

Closed
Miraculix200 opened this issue Feb 1, 2021 · 5 comments · Fixed by #20971
Closed

Comments

@Miraculix200
Copy link

Miraculix200 commented Feb 1, 2021

Bug Description

Branch: bugfix-2.0.x
Board: MKS Robin Nano V1.2

Since commit 68abaea the TFT_COLOR_UI calibration dialog keeps showing up every time the printer is powered on.

When reverting to a previous version, there is no calibration required on power on.

Sometimes the calibration doesn't complete. After the 4th corner it asks for "top left corner" again and there's a cross in the top left and bottom right corner. Then the touch display does not react anymore. Serial connection still works.

Any idea what could be wrong here? I've tried finding the problem for hours today, as I thought it's a problem with my configuration. But then I figured out it also happens with a slightly modified Configuration.h on a freshly cloned bugfix-2.0.x

Configuration Files

Configuration.h:
https://gist.github.com/Miraculix200/9b0db85f630442e83ec1864b326368c7

(no other files were modified to reproduce the bug)

Steps to Reproduce

Flash firmware with the above Configuration.h on Robin Nano 1.2 with 3.5" FSMC display
Turn on the printer
Complete calibration (if it works)
Turn the printer off and on again
Calibration dialog appears again (and may complete or not complete)

@rhapsodyv
Copy link
Member

You should go to menu, configuration, and store settings, after a successful calibration. If you don't do it, it will keep asking for calibration, as the values are lost if you don't save it.

That commit changed the eeprom version, so everything should be saved again. That is the reason.

Try it: power on, calibrate, go to menu, configuration, and store settings.

It should work.

Let me know.

@Miraculix200
Copy link
Author

lol

Yes, that worked.

I actually did use gcodes to save the settings to EEPROM, but it didn't work (though maybe it was the version where I forgot to #define EEPROM_SETTINGS, not sure).

Any reason why the calibration settings don't get stored automatically anymore? Or maybe they didn't. Don't remember.

So this can be closed. Or maybe it's a feature request?

@rhapsodyv
Copy link
Member

It was never saved automatically. But if you have the calibration values in your configuration.h, it will use that values when eeprom is erased.

Yes, it can be a FR asking for a auto save for the calibration screen. It’s a good idea. I will work on it ASAP.

@rhapsodyv
Copy link
Member

Autosave option was merged!

@github-actions
Copy link

github-actions bot commented Apr 4, 2021

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 Apr 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants