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

Print from SDcard on boot #8

Closed mrhempman69 closed 4 years ago

mrhempman69 commented 4 years ago

Is it possible to print from the SD card on boot using these boards? For example, once connecting a 12V power supply, the board should power on, and the firmware should read a file from the SD card and begin printing that.

Normally, marlin firmware uses a file called autostart.g from the SD card and prints from that on boot. But when I include that file in the root of my SDcard, the SGEN_L doesn't start printing from it when power is supplied.

Is the SD card only used for firmware flashing?

Is there any way to print from this board without using a USB connection?

Possibly related: https://github.com/makerbase-mks/SGEN_L/issues/7

makerbase-mks commented 4 years ago
  1. It is very certain to tell you that SD is supported for automatic printing; 2.gocde file name must be auto0.g instead of autostart.g
  2. You re-edit the gcode file name to try, good luck!
mrhempman69 commented 4 years ago

Thanks. In my own custom firmware, I did not have #define SDSUPPORT. But this firmware does have sd support enabled by default. I thought it was a problem with the board.