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 issue in 2004 lcd #53

Closed Pac333 closed 3 years ago

Pac333 commented 3 years ago

Hello, my mks sgen l v2 board can't connect to the sd card I am using lcd2004 and I modified the firmware by looking at other issues before, but it is not recognized.

configuration.h ->

define SDSUPPORT

define REPRAP_DISCOUNT_SMART_CONTROLLER

configuration_adv.h ->

define SDCARD_CONNECTION LCD

(This is the same result as enable/disable)

pins_MKS_SGEN_L_V2.h->

define SDCARD_CONNECTION LCD

I've replaced all the short cables and long cables. But still sd init fail.

mks-viva commented 3 years ago

Hi! Can you provide your firmware to me and i will test it?

Pac333 commented 3 years ago

This is the firmware file I uploaded firm.zip

mks-viva commented 3 years ago

You need remove board's TF card, because LCD's SD and board‘s TF card use SD_DET signl is the same

Pac333 commented 3 years ago

Of course, I also referred to the previous issue. but sd init fail continuously

mks-viva commented 3 years ago

This issues and i test it is ok

Pac333 commented 3 years ago

Is my firmware ok..? I couldn't sleep all night because of this problem. The only way left is to replace the lcd with a new one...🥲

mks-viva commented 3 years ago

Yes, i test it is ok, you need remove Board's Tf card

Pac333 commented 3 years ago

After removing the board tf card, eeprom initialization proceeds, and the sd card of the lcd is recognized!

I have other problems, can I solve them?

  1. A long beep sounds for the printer boot and the power is turned on.
  2. The extruder fan (not a hotend fan) works the first time the power is turned on, but stops working when entering the main menu -> It does not work even during printing.
mks-viva commented 3 years ago

About your other problems

  1. This is normal
  2. You need to define its function by yourself, for example, it will be turned on when the heating head temperature reaches
Pac333 commented 3 years ago

The buzzer was capped to reduce noise The extruder fan was connected to the E1 terminal, not the regular power terminal. All problems have been resolved, thank you :)