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.05k stars 19.16k forks source link

SD card unreadable #17244

Closed lacchinig closed 4 years ago

lacchinig commented 4 years ago

Dears,

I have a Tango board with REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER LCD board connect. I have ever used the original 1.1.8 marlin firmware without problem. I moved to 2.x version but I cannot read the SD card. First the LCD set to REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER doesn't work, I solved it by next suggestion : In Marlin/src/lcd/dogm/ultralcd_DOGM.h find U8GLIB_ST7920_128X64_RRD and replace with U8GLIB_ST7920_128X64_4X_HAL

Bug Description

The issue of SD card remains: if I remove the SD card the LCD check correctly the removing and viceversa the insert of CD card is correctly identified, but there were a media non present message. By serial monitor of Arduino the system said "SD Init Fail" and "Error:volume.init failed".

My Configurations

Required: Please include a ZIP file containing your Configuration.h and Configuration_adv.h files. Archivio.zip

Powerprobot commented 4 years ago

Take a fresh copy of Marlin 2.0-Bugfix. The issue is fixed in #17112

lacchinig commented 4 years ago

I'm working with Marlin 2.0.5.1 which have just the SD_DETECT_STATE instead SD_DETECT_INVERTED.

After different tests the problem appear randomly. I have just tried to set SD_DETECT_STATE HIGH, without particular change. Now sometimes works sometimes not. I start to think it could be damage the physical connection...

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