-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
Fix for mount not initialized SD card #19064
Fix for mount not initialized SD card #19064
Conversation
Bugfix 2.0.x
Bugfix 2.0.x
Marlin now errors out on boot without an SD card inserted. Is there a way to not display the error message on boot? |
@Serhiy-K / @thinkyhead: Can this be disabled on boot? I've seen users report this issue of "SD Init Fail" across several Facebook groups now when (intentionally) booting without an SD card inserted which is causing confusion. |
@Serhiy-K/@thinkyhead: I’m having the same issue too. Is there any fix for this. |
This is still an issue: #19226 (comment) SD card access/printing worked fine before this change on several different configs, but now users are presented with this false error on boot which doesn't make sense. Should this patch be reverted? |
Description
I have two test boards - based on LPC1768 and on STM32F401. My SD card 2GB works good with LPC, but with STM not - after inserting SD card LCD panel hangs up until I remove SD card. In my case problem located somewhere in low level STM library. I tried find this problem with step-by-step debugging and oscilloscope but I haven't found yet.
In any case, problem with init SD card may happen any time. So we don't need enter to cdroot() function after wrong SD init and need inform user about problem with his SD card.
Benefits
This fix excludes panel hang by bypassing cdroot() function after wrong SD init and informs user about problem with SD card on panel in status line.