Welcome! Log In Create A New Profile

Advanced

MKS_SGEN_L+REPRAP_DISCOUNT_SMART_CONTROLLER

Posted by comprof 
MKS_SGEN_L+REPRAP_DISCOUNT_SMART_CONTROLLER
November 20, 2020 09:12AM
Hello to everyone.
I have a problem with which I ask you to help
MKS_SGEN_L v1 board
#define REPRAP_DISCOUNT_SMART_CONTROLLER
#define SDSUPPORT
rotated on 180 cable
all works exept LCD SD card. even more he didnt even react on "in card" or "out card".
nothing happens.(yes onboard didnt plug in)
If i use onboard sdcard - works. (i can see it in windows as usb device)
how can i activate LCD SD to print without pc?
Marlin bugfix 2.0.8(#define CONFIGURATION_H_VERSION 020008)

Edited 1 time(s). Last edit at 11/20/2020 09:16AM by comprof.
Re: MKS_SGEN_L+REPRAP_DISCOUNT_SMART_CONTROLLER
November 20, 2020 10:50AM
#define SDCARD_CONNECTION LCD
if you don't set this is defaults to onboard,
Re: MKS_SGEN_L+REPRAP_DISCOUNT_SMART_CONTROLLER
November 20, 2020 02:41PM
Saw your post though I would try this on my Hictop 3DP11/12 Controller.
It does not work on my controller was worth a try, Traced the enable trace on controller and it goes to the onboard SD and not the External LCD SD Reader.
It has been rerouted and now bypassed the connector to route the signal to the controller.

I guess the only way to fix on my controller is to add a switch to send the enable signal to either the onboard SD or external SD.
OR
I could find another pin to get the Enable signal and wire it the the External SD

Just noted that my controller has the chips soldered and the posted Newest Hictop Controller has sockets for driver modules.
Every-time i look for my Controller it becomes more obsolete this is like the 6th generation controller board.

Like I said when my Controllers die it will be time for 32 bit controller board to replace the controllers in my two 3D Printers.


Computer Programmer / Electronics Technician
Re: MKS_SGEN_L+REPRAP_DISCOUNT_SMART_CONTROLLER
November 20, 2020 03:37PM
pins_MKS_SGEN_L.h

#ifndef SDCARD_CONNECTION
#define SDCARD_CONNECTION ONBOARD
#endif

#define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card

#if SD_CONNECTION_IS(LCD) || SD_CONNECTION_IS(ONBOARD)
#define SD_DETECT_PIN P0_27
#define SCK_PIN P0_07
#define MISO_PIN P0_08
#define MOSI_PIN P0_09
#if SD_CONNECTION_IS(ONBOARD)
#define SS_PIN ONBOARD_SD_CS_PIN
#else
#define SS_PIN P0_28
#endif
#elif SD_CONNECTION_IS(CUSTOM_CABLE)
#error "No custom SD drive cable defined for this board."
#endif

so I must change "#define SDCARD_CONNECTION ONBOARD" to "LCD"?
or mustn't?

in configuration_adv.h
#define SDCARD_CONNECTION LCD_AND_ONBOARD

Answer: Yes, all working if we set in configuration_adv.h
#define SDCARD_CONNECTION LCD

Thanks You all.

Edited 3 time(s). Last edit at 11/20/2020 03:54PM by comprof.
Sorry, only registered users may post in this forum.

Click here to login