-
-
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] LCD freezes/very sluggish after upgrade if SD card is left in the mainboard (continues #24301) #24306
Comments
Also related to #24298 |
Interestingly, this is the opposite that I'm having happen on my SKR1.3 board in #24293 If an SD card is not inserted (and power loss recovery is set to on) at boot, the machine gets into this same state. |
I think part of the problem is now that there are two SD slots. One in the mainboard, and another in the display. This behavior only happens when the SD is in the mainboard's slot. I didn't try in the LCD slots to see what happens. |
Interesting. My display doesn't have an SD slot. I only have the on-board. |
I have the same issue. I actually thought I fried my board last night when I upgraded to 2.1. I installed an inductive probe and accidentally sent 24v through my z endstop pin on my SKR E3 Turbo. I downgraded to 2.0.9.3 and the screen works just fine now. |
I had a similar issue with my SKR 1.4 Turbo but it also prevented Octoprint from communicating in a timely fashion with 2.1. I disabled SD support and that build works fine. |
Exactly same issue with MKS Robin (KP3S) Would work fine if boot without SD Card in. marlin_21_mks_robin_kp3s.mp4 |
I cannot replicate this on a btt skr 1.3 with ucirello configs (with motherboard updated) Tried all 4 physical combinations of sdcard and powered on.
|
I am not on the Marlin Bugfix 2.1.x. I am on Release 2.1 |
@Doubledeucedavis Release (2.1.zip) is a snapshot in time. It generally does not get updated after it is made. You need to use either Marlin 2.1.x https://github.com/MarlinFirmware/Marlin/archive/refs/heads/2.1.x.zip |
Played some more... On a skr 1.4 with a RepRap Full Graphical Display, If I put a empty Micro SDCARD TO SDCARD adapter into the lcd sdcard slot this will make it fail. The 128x64 screen does (eventually) say "Media Init Fail" and the serial log shows "echo: No SD card" over and over, and the display is all slow. @willngton I do notice that your display also says "Media Init Fail" @ucirello Can you give your display enough time to fully render and check if you also have a "Media Init Fail" message? So perhaps this issue is that Marlin is not failing gracefully when the sdcard will not mount but is detected as present. |
I have the same issue on Kingroon KP3 (original MKS Robin mini board). I compared source tree between build 2.0.9.3 and 2.1.0.0 and found \Marlin-bugfix-2.1.x\Marlin\src\HAL\STM32\sdio.cpp was changed to use CMSIS library. |
@mametaro999 that could certainly trigger the error im seeing on stm32, but not on lpc1768 |
After about 10 minutes, I get a "Media init Fail". I upgraded my firmware to 2.1.x (bugfix) last night and now the issue is gone. I did not disable SD Support or anything and used my normal auto bed leveling configuration and I have no issues now. |
The PR should fix this case of slow updating displays. #24319 |
I had a similar issue on my SKR mini V2 where the screen would take ages to load but I solved it by using the maple build environment (STMF103RE_btt_USB_maple (512K)) instead of the standard build environment (I used STM32F103RE_btt_USB (512K)). I have no idea why this makes a difference. Also yes maple is now deprecated but it works for me. |
MKS Robin nano v1.2 with MKS TFT35 |
#24319 has been merged (with some changes after it was initially submitted) so please try the latest |
To answer my own suggestion above: With the following basic config running the current #define MOTHERBOARD BOARD_MKS_SGEN_L_V2
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
#define SDCARD_CONNECTION LCD Changing |
That tracks with my own experience here. |
Some more testing/swapping in another LCD:
|
Please test the |
Still quite broken on several builds here using 132c37a with various boards & LCD combos, particularly the "mini" 12864 LCDs with Neopixels or standard 12864 full graphic LCDs / TFTs with the classic UI that refuse to finish booting with an SD card inserted. "Media Init Failed" is still the most common issue, but I'm also still seeing slow/sluggish LCD refresh rates.
Yes, please. Before the next tagged release 🙂 |
It #define MOTHERBOARD BOARD_MKS_SGEN_L_V2
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
#define SDSUPPORT Configuration_adv.h #define SDCARD_CONNECTION LCD platformio.ini [platformio]
#...
default_envs = LPC1769 two small notes: 1 - It does seem that the beep on start is taking longer when the card is not present. (I didn't have time to hook this configuration back to the printer to test it out with a full print cycle) |
This may be a solution: #22898 (comment) |
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.1.x
code?Yes, and the problem still exists.
Bug Description
With 3e9fb34 still, the LCD freezes, or at least gets very sluggish.
It worked fine with 2.0.9.3.
Bug Timeline
Since 15b6159 it is broken. 3e9fb34 did not fix.
Expected behavior
I expected the LCD to render quickly and be able to navigate through all menus. Turning the knob clockwise or counter-clockwise would immediately change feed rate.
Actual behavior
Depending on the boot sequence it will either freeze completely, or be very sluggish.
The info screen renders in more than 15s per half.
The wheel button seems to not be able to open the main menu.
Turning the knob clockwise or counter-clockwise would immediately change feed rate affects the feed rate, but it takes a long time for the number to update.
Steps to Reproduce
Version of Marlin Firmware
bugfix-2.1 (3e9fb34)
Printer model
Modded Ender 3
Electronics
MKS SGENL v2, Discount Full Graphic Smart Controller
Add-ons
EZNEO, EZABL, UART based serial connection
Bed Leveling
ABL Bilinear mesh
Your Slicer
Cura
Host Software
No response
Other things to include
Configuration.h
andConfiguration_adv.h
.M111 S247
for maximum logging.)Additional information & file uploads
(photo taken this morning)
configs.zip
The text was updated successfully, but these errors were encountered: