Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MKS Robin E3 blocked at end of flash #16

Open
shawe opened this issue Feb 13, 2022 · 4 comments
Open

MKS Robin E3 blocked at end of flash #16

shawe opened this issue Feb 13, 2022 · 4 comments

Comments

@shawe
Copy link

shawe commented Feb 13, 2022

Your provided bin for this board or the generated from klipper is causing to me that screen shows updated 100% and never reboot by itself.

The firmware is not working. I try to go back to Marlin and all seems fine then.

@willngton
Copy link

Your provided bin for this board or the generated from klipper is causing to me that screen shows updated 100% and never reboot by itself.

The firmware is not working. I try to go back to Marlin and all seems fine then.

I had similar issue, fixed re-creating the firmware but before make, run a make clean.

@jdziadak
Copy link

jdziadak commented Jun 18, 2022

I know that this issue is from February but maybe it will help someone.

First check your logs from klipper. Fluidd or Mainsail makes it pretty easy.

In my case from klipper log file I found out that it couldn't find serial that was defined in printer.cfg.
In klipper repo at klipper/config/generic-mks-robin-e3.cfg or makerbase-mks/Klipper-for-MKS-Boards there is this line:

[mcu]
serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0

I checked on my Thin Client running Raspberry Desktop in directory /dev/serial/by-id/ and indeed I have an usb-1a86_USB_Serial-if00-port0 instead usb-1a86_USB2.0-Serial-if00-port0 that is set in generic configs.
Simply changing it to serial name that is on my Thin Client resolved the issue.

Klipper will output to display (ofc. if its properly connected and configured in printer.cfg) if Host (pi/pc running klipper) will properly connect to serial from mcu on the printer (and probably no other issues are present). Otherwise your printer will stay at Updating 100% or BOOTING... (if you restarted your printer).

EDIT
If you use other os than Raspberry Desktop or Raspberry Pi OS (rn in my case ubuntu server in proxmox) make sure that device in /dev/serial/by-id/ have correct permissions. I set them to 777 (maybe exaggerated but hey it was easiest and it works) by command when I was in directory /dev/serial/by-id/:

sudo chmod 777 **device_id_in /dev/serial/by-id/**

Otherwise you will get error in logs like that:

mcu 'mcu': Unable to open serial port: [Errno 13] could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: [Errno 13] Permission denied: '/dev/serial/by-id/usb-1a

@karelseaat
Copy link

so for a mks robin e2d v 1.1 i also did a update of the firmware.
it hangs at 100%, if i reboot it hangs at boot.
to build my firmwae i use these settings exactly: https://github.com/makerbase-mks/Klipper-for-MKS-Boards/blob/main/MKS%20Robin%20E3-E3D/Image/MKS%20Robin%20E3-E3D%20setting.png
i checked and double checked, ran a made clean rebuild it, same result.
at this point i doubt that a pi with klipper mainsail or anything will help.
Am i missing something ? is there an option to get some extra logging on the flashing sd card ? anything.

@jdziadak
Copy link

so for a mks robin e2d v 1.1 i also did a update of the firmware.

it hangs at 100%, if i reboot it hangs at boot.

to build my firmwae i use these settings exactly: https://github.com/makerbase-mks/Klipper-for-MKS-Boards/blob/main/MKS%20Robin%20E3-E3D/Image/MKS%20Robin%20E3-E3D%20setting.png

i checked and double checked, ran a made clean rebuild it, same result.

at this point i doubt that a pi with klipper mainsail or anything will help.

Am i missing something ? is there an option to get some extra logging on the flashing sd card ? anything.

I don't actively use 3d printer for about a year.
As I understand you have flashed klipper onto board. Klipper is firmware and you need to interact with it. You can even do it via virtualization on Linux (virtualbox, etc.) and just connect to your pc. On this machine you need to install some form of front end like Mainsail or Fluidd. It won't boot without it as it makes mainboard a fancy gpio and every calculation is done on another machine (pi/vm/laptop).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants