[[Template core/front/global/favico is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] Jump to content
Ultimaker Community of 3D Printing Experts

Cura 13.10 not connecting on Linux and Marlin-firmware


jumpmobile

Recommended Posts

Posted · Cura 13.10 not connecting on Linux and Marlin-firmware

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

 

  • Link to post
    Share on other sites
    Posted · Cura 13.10 not connecting on Linux and Marlin-firmware

    Even if Cura fails to connect to the firmware, it still should be able to update the firmware.

    13.10 also contains an experimental patch for 250000 baud on linux, but I have no idea if it actually works.

     

  • Link to post
    Share on other sites
    Posted · Cura 13.10 not connecting on Linux and Marlin-firmware

    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 :-)

     

  • Link to post
    Share on other sites
    Posted · Cura 13.10 not connecting on Linux and Marlin-firmware

    I have shown my problem to a friend of mine who is into computer science. He managed to stop it from crashing, when trying to update the firmware, but the connection problems still exist.

    I don't have time yet, but I will write what he did in the next post.

     

  • Link to post
    Share on other sites
    Posted · Cura 13.10 not connecting on Linux and Marlin-firmware

    I've been successfully using Pronterface for a while now for Linux connections to the UM.

    Slice your project in Cura, save the gcode, use Pronterface to send the code to the printer.

     

  • Link to post
    Share on other sites
    Posted · Cura 13.10 not connecting on Linux and Marlin-firmware

    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.

     

  • Link to post
    Share on other sites

    Archived

    This topic is now archived and is closed to further replies.

    ×
    ×
    • Create New...