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

Can't install Marlin and can't connect to computer #25

Open TheMath38 opened 4 years ago

TheMath38 commented 4 years ago

Hi ! I recenty bought one of those's MKs SGEn L with TMC2209. I configured marlin and compiled it, which was successful. Then, I uploaded it ion the SD card renammed REARM like the Marlin tutorial page. And then... Nothing.

My MKS TFT28 Screen is on, but I can't move any axis, get the temperature etc etc. Ho, and when I try to connect my main board in my computer,, the USB port is not recognized by Windows!

Please, With this bug I can't use my printer at all ! :(

mks-viva commented 4 years ago

Hi! About USB driver image

TheMath38 commented 4 years ago

Hi! I already tried to install them, but when I try to do it, I have an error message which tell me that I can't because of a missing numerical signature... Also I don't think that it's a driver problem, because I can't use it by my MKS TFT 28 V4.0 (I've already set my SERIAL_PORT to 0 and SERIAL_PORT_2 to -1 in Marlin...)

Ho, and I forgot to mention that when the mainboard boot up, I have I've the LED D6 which shine in RED constantly, with the LED D1 shining on BLUE too.

Hope this can help

makerbase-mks commented 4 years ago

image If you connect MKS TFT, you set SERIAL_PORT_2 to 0

TheMath38 commented 4 years ago

Ouupss, sorry, I made a mistake x__x

I already have this option activated, I just switch the settings while writing... image

But yeah, It does not fix the problem, I mean... I can't boot up on Marlin...

I tried with a different firmware, SmoothieWare. In this case, I can see temp level on the MKS TFT, but I can only move axis in one side only (pretty weird)

NeoMod commented 4 years ago

I can confirm that the board works as expected (Win10 and Visual Studio) once the parameters are correct.

If you are still having problems, maybe there is some error in the upload and/or in the procedure.

Otherwise, if the problem is solved, would you kindly mark the issue as "solved"? And, if possible, let us know what the problem was: it may help other users. Thank you.

Godshenchman commented 3 years ago

I have the same problem - SGEN_L doesnt show on win7 or linux mint. But the SD card in the SGEN does show. We need "truthful" and proper instructions here. marlin src HAL LPC1768 win usbdriver is nothing - not ".exe" Further more as stated it dose not work on linux mint. Yet my robin nano picks up on win7. MSK advertise "CH340" - I think something on the board needs to be flashed - please do something legitimate that works - I note the board has pins right of SD saying GND-TRST // GND TCK // 3.3v TMS also twin pin top right of chip has "boot." Gives us instructions of what to do exactly as the board does not have the proper driver. Im certain I can get in running stand-alone but want to use pronterface. Im putting notice on facebook as I have suspicions.

NeoMod commented 3 years ago

@Godshenchman I had the same problem with a Version 1 of the SGEN_L and unfortunately, as per your intuition, this particular situation occurs when the bootloader of the motherboard gets corrupted during flashing/updating of the firmware. I'm not sure about all the possibilities, but in my case it was due to an improper setting of the advanced memory features for queuing and buffer. Anyway, as you have guessed the only viable path is to restore the bootloader but it's not an easy task. Here you can grasp the general idea, although this example relates to the much simpler 8bit board: https://makerhacks.com/arduino-bootloader-unbricking/ Unfortunately in this case beeing the LPC1768 a 32bit chip with a different architecture the things get more complicated. A relatively easy overview of the process can be found here, although it's not an MKS board: https://m.youtube.com/watch?v=HQuMuaWjzpM But I suggest reading also the LPC1768 official documentation which contains some examples of ISP. Fair warning: I did end up switching to a new board, since the V2 had just been announced and had some features I was missing. The SGEN L v1 with the damaged bootloader is still keeping dust in a drawer, waiting for better days when I could dedicate more time to ISP.

Edit: I too would love an "emergency bootloader restore tool" directly from MKS that we could use in these cases. But at the same time I understand that it might be challenging for the company for a series of motives.

DanJunior78 commented 3 years ago

IMG_20201004_133044.jpg

I can also confirm,that it's working with TMC 2209 on Marlin 2.0.7. There is a problem to connect sometimes. So, be aware to have access to the card for future updates

I'm also exchanging the board to a BTT SKR Pro. This board is terrific. Sorry for this comment,if MKS is reading it.

Godshenchman commented 3 years ago

Thanks for your reply. Will look into it. But obviously it looks like they made SGENL V1 without care or regard knowing SGEN L V2 had next to everything so V1 looks like a money spinner for them to gather dust in our draws. They dont respect that while the boards may be cheap and beutifuly made they take time off peoples lives wasting time, I hope the Chinese gov balances the scale of "time off peoples lives" if you know what I mean. I will reward them by going bigtreetech instead as their TFT 43 works out the box as advertised. {I also have a robin nano and that has funny horrozontal green lines in screen and there was a burn square through the plastic {melted} top left corner of chip with burnt smell. SGEN L was a backup ... backup of trouble not intended!}. Im a newbie.