Jump to content
Ultimaker Community of 3D Printing Experts
Sign in to follow this  
jumpmobile

Cura 13.10 not connecting on Linux and Marlin-firmware

Recommended Posts

Hi

I have been reading the UM-Forum for a while and you guys give great support!

Until today there was no reason for me to post anything because most of my problems were solved by either you or the google.groups-ppl. (and most of you are active in both) so first of all thank you!

So here is the first problem i haven't found a solution for. I have a Linux system (ubuntu 13.10) and recently updated to Cura 13.10.

I am running my UM over an Ulticontroller. On the machine itself there is a Marlin-Firmware running that has been updated a few months ago (but not by me. I share my printer with some other people).

Today i wanted to connect Cura to the printer and it now doesn't connect. That is propably because the firmware update was the original Marlin directly from the github which is set to 250000 baudrate, which is a known problem on Linux.

My Question: How do I install a new firmware without using Cura? Is there a way to do this with an SD-card and ulticontroller or must i use Pronterface?

Greetings Jumpmobile

 

Share this post


Link to post
Share on other sites

When I try to install the custon firmware I made Cura immediately vanishes. I ran it again in a console and got this error:

python: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0.

[xcb] Unknown sequence number while processing queue

[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called

[xcb] Aborting, sorry about that.

python: ../../src/xcb_io.c:274: poll_for_event: Zusicherung »!xcb_xlib_threads_sequence_lost« nicht erfüllt.

Aborted (core dumped)

I have no idea what that means (but it is kind of neat that the program actually apologizes for aborting :-)

 

Share this post


Link to post
Share on other sites

Hey

This is the the friend of Jumpmobile writing. His version of Cura is now comunication with the printer. Firmwareupdates and First run wizard are working fine. Here is what I did:

About firmware upgrades:

On Linux (not tested on other platforms...) only the Thread that created the UI can interact with it. It's therfore not possible to update it in a seperate thread. My solution (i'm not experienced in python - unfortunatly it breaks the firmware upgrade dialog) was:

in firmwareInstall.py - replace

 


threading.Thread(target=self.OnRun).start()

with everything in the OnRun definition

--> Upgrade dialog is broken but update works

About connecting with autodetecting baudrates:

It seems like the printer is crashing if you try to communicate with the wrong baudrade (Seems to be a firmware bug). Simple solution:

add time.sleep(5) in line 377 of machineCom.py

--> Cura waits for 5 seconds after each baudrate, the printer restarts in that time and the connection works.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Our picks

    • Architect Design Contest | People
      The goal of this contest is to design a set of people figurines that could be used in such a project to make an area, office or mall seem populated. 
      Think of different types of people in different environments, like walking people, people standing still, working people, and both men and women.
       
      • 31 replies
    • Taking Advantage of DfAM
      This is a statement that’s often made about AM/3DP. I'll focus on the way DfAM can take advantage of some of the unique capabilities that AM and 3DP have to offer. I personally think that the use of AM/3DP for light-weighting is one of it’s most exciting possibilities and one that could play a key part in the sustainability of design and manufacturing in the future.
        • Like
      • 3 replies
×

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!