makerbase-mks / MKS-PI

As we all know, the Klipper firmware has the advantages of high printing speed, high precision, and the ability to use the web page to control the printer, etc. MKS PI is a high-end microcomputer board designed by makerbase to replace the Raspberry Pi for the convenience of 3D printing users to use the Klipper firmware. In terms of hardware, MKS PI has a powerful 4-core 64-bit SOC onboard, with 1GBytes of DDR3 memory, supports HDMI screen interface and PI-TS35 screen interface, provides Ethernet port, 3-channel USB interfaces (can be connected to a 3D printer main board, USB Wireless network card, USB camera, U disk, USB keyboard and mouse, etc.); In terms of software, Makerbase provides a complete Klipper firmware transplanted based on the Armbian desktop system, and directly supports klipperScreen. Users only need to download the image file provided by Makerbase, burn it to the TF card, without a lot of construction work, use the usb port or serial port to connect your main board, configure the parameters on the webpage, and you can use the Klipper firmware happily!
GNU General Public License v3.0
113 stars 9 forks source link

Ender 3 S1 to UART connection does not (seem to) work #46

Open remonvv opened 1 year ago

remonvv commented 1 year ago

I'm sure I'm doing something wrong but is there a guide available somewhere? I have the relevant J711 pins from the Ender mobo routed to the G/TX/RX pins but I think I have the wrong configuration somewhere. The guide in the README.MD does not help (just changing the [mcu] to /dev/serial/tty0 doesn't do much)

TheFeralEngineer commented 1 year ago

first thing's first, you need to compile a proper binary file to use the UART connection on your motherboard through make menuconfig. It's usually best to find the printer cfg file in the klipper config folder (if there is one) and follow the instructions on how to create the file (pins, baud, bootloader offset, etc). Remove the old screen from the mcu before flashing because that can cause an issue and make sure your printer.cfg is proper before turning the machine on because if it connects, you might go into thermal runaway.

Also, make your MCU section look like this. UART caps at 115200, so if you have random dropouts, you'll have to compile a bin with that rate and force feed it through your printer.cfg: [mcu] serial: /dev/ttyS0 restart_method: command baud: 115200

Also also, make sure TX on the pi goes to RX on the mcu and RX goes to TX

remonvv commented 1 year ago

Thanks so much for your feedback. I think I've done all of the steps you describe correctly. I suspect the problem might just be that I have not connected the Ender 3 S1 mobo correctly to the MKS PI. Would you be able to tell me which physical pins I should use on the Ender mobo side?

To recap:

redrathnure commented 1 year ago

FYI looks like UART for this board is broken in the latest kernels (both 5.x and 6.x). So I would advice 1. try old image and 2. try non official image where UART functionality is 100% tested.

TheFeralEngineer commented 1 year ago

I haven't run into uart issues with the latest version

On Fri, Apr 14, 2023, 12:31 PM Maxim Medvedev @.***> wrote:

FYI looks like UART for this board is broken in the latest kernels (both 5.x and 6.x). So I would advice 1. try old image and 2. try non official image where UART functionality is 100% tested.

— Reply to this email directly, view it on GitHub https://github.com/makerbase-mks/MKS-PI/issues/46#issuecomment-1508927785, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARUZ2LMYP7FQCIDMJTL62C3XBF3W5ANCNFSM6AAAAAAVZMA36U . You are receiving this because you commented.Message ID: @.***>