Forum

Forum Navigation
Forum breadcrumbs - You are here:ForumDona: SoftwareCan't connect: Mac Software
You need to log in to create posts and topics.

Can't connect: Mac Software

I have 2 problems...

1st Problem

I can't reliably connect using the Mac software.. Perhaps 1 out of every 10-15 tries I can get it to connect. Occasionally it will just connect. I've tried everything from unplugging USB cables to trying different ports, to restarting Terminal and browser. I am unable to identify exactly what is keeping it from connecting reliably. Sometimes the log looks like this:

('send: ', '{line:n}')

('sleep: :', 0.04999999999999993)

('receive: ', {'f': [1, 132, 5]})

('send: ', ' n 26')

('sleep: :', 0.04999999999999993)

('receive: ', {'f': [1, 132, 5]})

('send: ', '{id: n, fv:n}')

('sleep: :', 0.04999999999999993)

('receive: ', {'id': '0084-084a-18c6-9ce', 'fv': 0.99, 'f': [1, 0, 15]})

('send: ', ' n 28')

('sleep: :', 0.04999999999999993)

('receive: ', {'f': [1, 102, 26]})

('send: ', 'M2 n 30')

('sleep: :', 0.04999999999999993)

('receive: ', {'f': [1, 0, 6]})

('receive: ', {'line': 26, 'n': 26})

and other times it generates a log with this line:

('test_3', SerialException('read failed: device reports readiness to read but returned no data (device disconnected or multiple access on port?)'))

Second problem

If I am able to connect (which has only been 2-3 times) I cannot get the device to run the homing procedure. When I try to start homing I receive the following in the log:

send: "G28.2x0 n 22"

receive: {"f":[1,0,13]}

receive: {"msg":"X axis Homing Err - Homing input is misconfigured","f":[1,240,1]}

send: "M2 n 24"

receive: {"f":[1,0,8]}

receive: {"line":24,"stat":4,"homx":0,"n":24}

send: "G28.3 X00.0000 n 26"

receive: {"f":[1,0,20]}

send: "M2 n 28"

receive: {"f":[1,0,8]}

receive: {"line":28,"stat":4,"homx":1,"n":28}

send: "{tt32: {x: 1}}"

receive: {"tt32":null,"f":[1,100,16]}

send: " n 30"

receive: {"f":[1,0,6]}

send: "M2 n 32"

receive: {"f":[1,0,8]}

receive: {"line":32,"stat":4,"n":32}

send: "{tt32:n}"

receive: {"tt32":null,"f":[1,100,10]}

send: " n 34"

receive: {"f":[1,0,6]}

send: "M2 n 36"

receive: {"f":[1,0,8]}

receive: {"line":36,"stat":4,"n":36}

send: "G28.2y0 n 38"

receive: {"f":[1,0,13]}

receive: {"msg":"Y axis Homing Err - Homing input is misconfigured","f":[1,240,1]}

send: "M2 n 40"

receive: {"f":[1,0,8]}

receive: {"line":40,"stat":4,"homy":0,"n":40}

send: "G28.3 Y145.0000 n 42"

receive: {"f":[1,0,21]}

send: "M2 n 44"

receive: {"f":[1,0,8]}

receive: {"line":44,"posy":145,"stat":4,"homy":1,"n":44}

send: "{tt32: {y: 1}}"

receive: {"tt32":null,"f":[1,100,16]}

send: " n 46"

receive: {"f":[1,0,6]}

send: "M2 n 48"

receive: {"f":[1,0,8]}

receive: {"line":48,"stat":4,"n":48}

send: "{tt32:n}"

receive: {"tt32":null,"f":[1,100,10]}

send: " n 50"

receive: {"f":[1,0,6]}

send: "M2 n 52"

receive: {"f":[1,0,8]}

receive: {"line":52,"stat":4,"n":52}

send: "G28.2z0 n 54"

receive: {"f":[1,0,13]}

receive: {"msg":"Z axis Homing Err - Homing input is misconfigured","f":[1,240,1]}

send: "M2 n 56"

receive: {"f":[1,0,8]}

receive: {"line":56,"stat":4,"homz":0,"n":56}

send: "G28.3 Z910.0000 n 58"

receive: {"f":[1,0,21]}

send: "M2 n 60"

receive: {"f":[1,0,8]}

receive: {"line":60,"posz":910,"stat":4,"homz":1,"n":60}

send: "{tt32: {z: 1}}"

receive: {"tt32":null,"f":[1,100,16]}

send: " n 62"

receive: {"f":[1,0,6]}

send: "M2 n 64"

receive: {"f":[1,0,8]}

receive: {"line":64,"stat":4,"n":64}

send: "{tt32:n}"

receive: {"tt32":null,"f":[1,100,10]}

send: " n 66"

receive: {"f":[1,0,6]}

send: "M2 n 68"

receive: {"f":[1,0,8]}

receive: {"line":68,"stat":4,"n":68}

send: "G28.2a0b0 n 70"

receive: {"f":[1,0,15]}

receive: {"msg":"A axis Homing Err - Homing input is misconfigured","f":[1,240,1]}

send: "M2 n 72"

receive: {"f":[1,0,8]}

receive: {"line":72,"stat":4,"homa":0,"n":72}

send: "G28.3 A00.0000B00.0000 n 74"

receive: {"f":[1,0,28]}

send: "M2 n 76"

receive: {"f":[1,0,8]}

receive: {"line":76,"posa":0,"posb":0,"stat":4,"homa":1,"n":76}

send: "{tt32: {a: 1, b: 1}}"

receive: {"tt32":null,"f":[1,100,22]}

send: " n 78"

receive: {"f":[1,0,6]}

send: "M2 n 80"

receive: {"f":[1,0,8]}

receive: {"line":80,"stat":4,"n":80}

send: "{tt32:n}"

receive: {"tt32":null,"f":[1,100,10]}

send: " n 82"

receive: {"f":[1,0,6]}

send: "M2 n 84"

receive: {"f":[1,0,8]}

receive: {"line":84,"stat":4,"n":84}

Any help you can provide me would be very appreciated. Thanks!

Hi @brkyle

In the first step try to

  • exit the software,
  • unplug and plug back the USB port
  • Run the software again, and update the firmware first

Then try to connect

Let me know if you still see the errors

Hello @hussein-ty

After many attempts I was able to update the firmware. I have successfully logged in once and WAS able to successfully run the homing sequence. The primary issue I am still having though is that I cannot reliably connect. I've tried almost 40 times today and was only able to login the one time. I have tried unplug and plug, shutting down the software and terminal and reopening, I have tried different USB cables and different ports. Most of the time though I just get the following in Terminal and then it seems to hang...

/Applications/DornaSoftware/dorna/api.py:2302: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.

Progressing...

('send: ', '{line:n}')

('sleep: :', 0.04999999999999993)

('send: ', ' n 2')

('sleep: :', 0.04999999999999993)

('send: ', '{id: n, fv:n}')

('sleep: :', 0.04999999999999993)

('send: ', ' n 4')

('sleep: :', 0.04999999999999993)

Any ideas what I could do to connect more reliably?

Hi @brkyle

According to the logs, your computer sends the commands and wait for the response but does not get anything.

IF you are running a MAC, make sure:

  1. Run it with the sudo privilege
  2. Try not to select the USB port (let the software select it automatically for you)

Hi, are there any updates to this issue? I'm facing the same problems with my software, the connection has never once worked.  I've tried disconnecting and reconnecting the USB, then restarting the software tens of times. Additionally, my firmware update always disconnects from the server as it is updating, and fails. I have also tried the firmware update many times, it has not worked. The software is running with sudo priviledges, and the software is choosing the USB port. Are there any additional suggestions?