makerbase-mks / MKS-SGEN_L-V2

MKS SGEN_L V2.0 is powerful 32-bit 3D printer control board. The CPU is LPC1769 120MHZ, SGEN_L V2 hardware Integrated 4KB EEPROM, 5AXIS and dual Z interface, has 2 way FANs and Dc12/24V out interface, support TMC UART and SPI mode...
https://www.aliexpress.com/item/4001283346331.html?spm=a2g0o.store_home.slider_165457030.0
GNU General Public License v3.0
70 stars 28 forks source link

SD Init Fail w/ REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER #68

Closed bdelia closed 2 years ago

bdelia commented 2 years ago

I am setting up this board for the first time in a TEVO Tornado (Green). The original MKS Base v1.4 board got shorted and I am trying to upgrade to the MKS SGEN L V2.0. I am almost good to go for the initial trial, but cannot get the SD card reader to work in the REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER (12864) connected to the board.

I have uncommented the following within the Configuration.h file:

#define SDSUPPORT
...
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
#define ST7920_DELAY_1 DELAY_NS(150)
#define ST7920_DELAY_2 DELAY_NS(150)
#define ST7920_DELAY_3 DELAY_NS(150)

Any thoughts/help is greatly appreciated.

mks-viva commented 2 years ago

You need set it:

  1. In pins_MKS_SGEN_L_V2.h file (path: Marlin->src->pins->lpc1769)

    define SDCARD_CONNECTION LCD

  2. Complie and copy firmware.bin to tf card, insert motherboard, reset it and update firmware
  3. You need remove motherboard's TF and insert SD card to LCD
bdelia commented 2 years ago

Thank you, I will dive into verifying if that is set up or not later today.