I tried several suggestions but still - LCD only lits up, without any display.
MKS Gen L + MKS LCD12864A V1.0
compiled in Visual Studio Code

Expected behavior:
Graphical status display
Actual behavior:
Modern art installation
I tried delays changing, brightness change, different board (SKR 1.3) all with no results. Is it possible that pins are not correctly defined for this one or any other known issue?
comment out these, you shouldn't need huge delays like this on a 8 bit board.
Try re-initializing your EEPROM either from the LCD or using M502 then M500. This screen might use software adjusted contrast, and could be using a bad default stored to EEPROM prior to defining the display.
Or play with setting contrast eg M250 C200
Hi guys. Thanks for feply.
i was using this board for REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER, and delays were set 250, 250, 0 to work okay. I thought maybe higer ones are better. I tried with those values commented - no difference since. I tried just chaging only2 values like in reproduction field, on both 2.0.x and 1.9.x marlins to be sure nothing else influence this issue.
i also tried M250. This is not it. Display does not change when tried 120, 200 and 255 values.
Is it possible that pins are not correctly defined for this one or any other known issue?
Pinout is correct since MKS_LCD12864 is simply an alias for MKS_MINI_12864 (which works on a MKS Gen-L), but it uses different contrast settings.
Having said that, I've run into some issues getting the B variant (for 32-bit) working on some 32-bit boards where swapping in a real MKS Mini 12864 controller would display/work fine.
I've asked Makerbase/MKS to look into the issue, but maybe they can chime in here. @makerbase-mks: Any troubleshooting tips?
I orginally tried to have it running on SKR board, but found out that A ones should be ran on 8 bit boards. This is why i try to make it run on MKS Gen L :)
I saw a seller's listing that recommends these settings/changes for MKS LCD 12864A...
_Configuration.h:_
#define MKS_MINI_12864
_Marlin/src/lcd/dogm/u8g_dev_uc1701_mini12864_HAL.cpp, at line 100_
UC1701_CONTRAST(0x32), // set contrast from default (0x27) to 0x32
I saw a seller's listing that recommends these settings/changes for MKS LCD 12864A...
That’s for Marlin 1.1.x.
Marlin 2.0.x still uses the outdated U8glib graphics library. Why would there be any difference?
Marlin 2.0.x still uses the outdated U8glib graphics library. Why would there be any difference?
Instructions are different for Marlin 2.0.x and those changes have already been merged. You simply have to enable MKS_LCD12864.
If it is worth a note, the same thing happens on an SGEN L with LCD12864 B.
@thisiskeithb @Frytkownica
Marlin 2.0.6
I has test it of MKS LCD12864A on 2560 motherboard and i find it's can be use;
but i test it of MKS LCD12864B on SGEN_L or Robin E3 is cann't be use
Marlin2.0.1 all can be use
@makerbase-mks thanks for the feedback! So it seems there is some kind of problem in the latest release.
@thisiskeithb @Frytkownica
Marlin 2.0.6
I has test it of MKS LCD12864A on 2560 motherboard and i find it's can be use;
but i test it of MKS LCD12864B on SGEN_L or Robin E3 is cann't be use
Marlin2.0.1 all can be use
But based on the boards names I'm using A version nad Gen L is 8 bit.
If LCD was incorrectly named, it should have worked on 32bit SKR board, but it also didn't. Also no way GEN L is faked because It wouldn't compile.
Please provide a way to troubleshoot the display, because it seems all is okays software wise in my opinion.
Marlin2.0.1 all can be use
@makerbase-mks Can you look into why it doesn't work with a current version of Marlin?
@thisiskeithb @Frytkownica
Marlin 2.0.6
I has test it of MKS LCD12864A on 2560 motherboard and i find it's can be use;
but i test it of MKS LCD12864B on SGEN_L or Robin E3 is cann't be use
Marlin2.0.1 all can be use
I am confused by earlier discussion of display driver ST7920, because I was assuming the correct display driver is UC1701. Is there a Wiki for the MKS LCD12864x display that provides the specification for the correct driver?
@thisiskeithb I doing testing it.
MKS MINI12864 : The driver is ST7565R
MKS LCD12864A/B : The driver is ST7567
I just guess that it may be caused by initialization, but so far, no real reason has been found, and testing is needed.
Is there any way i could help and speed this up? : )
@thisiskeithb @Frytkownica
MKS has fix it: https://github.com/MarlinFirmware/Marlin/pull/19269
Please download bugfix-2.0.x to test with the latest code and let us know if you're still having this issue.
MKS Gen-l V1 and MKS Gen-l V2.x comparison, MKS Gen-L V2.x only add TMC UART, SPI interface. The last version marlin bugfix on the MKS Gen_L V2.1 motherboard. It can be used normally all the time

<3 much love
Works like a charm now :) thanku you
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.