Mks-Robin-Nano-Marlin2.0-Firmware icon indicating copy to clipboard operation
Mks-Robin-Nano-Marlin2.0-Firmware copied to clipboard

Black screen after auto leveling

Open seba1213 opened this issue 3 years ago • 4 comments

I merged config files from old version (maybe one year before) witch curent version. ven i select an option auto leveling on screen after leveling screen become black, only reboot help. I use an inductive proximity sensor, attaching my configs. Configuration_adv.h.txt Configuration.h.txt

seba1213 avatar Jul 12 '21 20:07 seba1213

It's a firmware bug??? In case of FIX_MOUNTED_PROBE, a black screen seems to have occurred.

This is a temporary workaround.

draw_level_settings.cpp

  1. Line 65 : Modify #if ENABLED(BLTOUCH) --> #if ENABLED(BLTOUCH) || ENABLED(FIX_MOUNTED_PROBE)

  2. Line 90 : Modify #if ENABLED(BLTOUCH) --> #if ENABLED(BLTOUCH) || ENABLED(FIX_MOUNTED_PROBE)

draw_ui.cpp

  1. Line 904 : Modify #if ENABLED(BLTOUCH) --> #if ENABLED(BLTOUCH) || ENABLED(FIX_MOUNTED_PROBE)

  2. Line 1001 : Modify #if ENABLED(BLTOUCH) --> #if ENABLED(BLTOUCH) || ENABLED(FIX_MOUNTED_PROBE)

printer_operation.cpp

  1. Line 163 #ifdef BLTOUCH --> #ifdef BLTOUCH || FIX_MOUNTED_PROBE

siwanamu avatar Jul 20 '21 07:07 siwanamu

It didn't help, after leveling it still ends up with a black screen. On the older version, everything worked without problems. When building, I noticed one minus: Marlin\src\lcd\extui\lib\mks_ui\printer_operation.cpp:163:22: warning: extra tokens at end of #ifdef directive #ifdef BLTOUCH || FIX_MOUNTED_PROBE

seba1213 avatar Oct 08 '21 12:10 seba1213

It didn't help, after leveling it still ends up with a black screen. On the older version, everything worked without problems. When building, I noticed one minus: Marlin\src\lcd\extui\lib\mks_ui\printer_operation.cpp:163:22: warning: extra tokens at end of #ifdef directive #ifdef BLTOUCH || FIX_MOUNTED_PROBE

#ifdef BLTOUCH || FIX_MOUNTED_PROBE

-->

#ifdef BLTOUCH bltouch_do_init(false); lv_draw_bltouch_settings(); #endif #ifdef FIX_MOUNTED_PROBE bltouch_do_init(false); lv_draw_bltouch_settings(); #endif

siwanamu avatar Oct 14 '21 02:10 siwanamu

Same thing happened and even there is power on 3dtouch, mainboard etc, display is blank, no beep sound, not turning on and it does not update firmware from sd card...

Bkara1981 avatar Mar 26 '23 00:03 Bkara1981