MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.24k stars 19.22k forks source link

[BUG] one click print prevents touch screen calibration #26750

Closed joryvd closed 5 months ago

joryvd commented 8 months ago

Did you test the latest bugfix-2.1.x code?

Yes, and the problem still exists.

Bug Description

After flashing Marlin to the board, and having EEPROM_INIT_NOW as well as ONE_CLICK_PRINT enabled, if there is a gcode file on the sd card it is not possible to calibrate the touchscreen. As soon as the firmware is flashed, the printer asks if you want to print the most recent file. As the EEPROM is init' the touchscreen doesn't work as it is not calibrated yet. Thus there is no way to press cancel and then calibrate the touchscreen. For now the solution I found is to remove the SD card and power cycle the printer.

Bug Timeline

When I moved to the bugfix branch. I'm on commit 3ef192e

Expected behavior

The board checks if the eeprom is initialized and/or if calibration is missing and suppressed the one click print feature

Actual behavior

The screen prompted to print the most recent G code on the SD card and didn't allow me to exit or calibrate the touch screen

Steps to Reproduce

Build Marlin and copy to an SD card which also contains g code Flash the firmware to the board with EEPROM_INIT_NOW and ONE_CLICK_PRINT enabled

Version of Marlin Firmware

bugfix-2.1.x commit 3ef192e

Printer model

Creativity Elf

Electronics

MKS robin Nano V1.2

LCD/Controller

3.5" FSMC touch display

Other add-ons

No physical control buttons

Bed Leveling

UBL Bilinear mesh

Your Slicer

Cura

Host Software

None

Don't forget to include

Additional information & file uploads

Marlin.zip

ellensp commented 8 months ago

put your touch screen calibration into your configuration files. then touch is always calibrated

ie enable and fill out these parameters

//#define TOUCH_CALIBRATION_X 12316 //#define TOUCH_CALIBRATION_Y -8981 //#define TOUCH_OFFSET_X -43 //#define TOUCH_OFFSET_Y 257

github-actions[bot] commented 5 months ago

Greetings from the Marlin AutoBot! This issue has had no activity for the last 90 days. Do you still see this issue with the latest bugfix-2.1.x code? Please add a reply within 14 days or this issue will be automatically closed. To keep a confirmed issue open we can also add a "Bug: Confirmed" tag.

Disclaimer: This is an open community project with lots of activity and limited resources. The main project contributors will do a bug sweep ahead of the next release, but any skilled member of the community may jump in at any time to fix this issue. That can take a while depending on our busy lives so please be patient, and take advantage of other resources such as the MarlinFirmware Discord to help solve the issue.

github-actions[bot] commented 3 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.