makerbase-mks / SGEN_L

MKS SGEN_L is a powerful 32-bit 3D printer control board with LPC1768. Support Marlin2.0, Smoothieware. Support MKS LCD12864B/MINI12864/LCD2004/12864 and MKS TFT Touch Screens. The motherboard integrates SPI / UART interface and works with MKS TMC2130/TMC2208 V2.0/TMC2209. It can be used after plugged in. No soldering or flying lead is required ...
https://es.aliexpress.com/item/33036918120.html?spm=a2g0o.store_home.slider_165457030.3
GNU General Public License v3.0
87 stars 61 forks source link

SD-Card Insert Not Detected For Display Modules With SD-Slot, Marlin 2.0.x #12

Closed borland1 closed 4 years ago

borland1 commented 4 years ago

There is a fix now for Marlin bugfix-2.0.x (new issue #16224).

Problem: When file Configuration_adv.h is edited to enable display module SD-Slot...

if HAS_SDCARD_CONNECTION

define SDCARD_CONNECTION LCD

endif

This configuration enables SD-slot on display module, and disables Onboard SD-slot (except for bootloader on powerup to enable firmware updates).

Since both Display and Onboard SD-slots share the same SD_DETECT_PIN, only one SD-card can be used.