Forum Replies Created
-
AuthorPosts
-
LyngeMember
Just linking in a thread that might help. Just so that I can find it again when I get back to the DUE
LyngeMemberI will try that command again when I am back at the machine, but I am pretty sure it reports all three ports if the DUE is plugged in.
I flashed the edge 100.xx (can’t remember exactly)
I will try flashing 78.03 that when I get back.
LyngeMemberI am pretty sure.
I have rebooted the system multiple times and the problem exists immediately after startup.
Unless SPJS adds itself to the startup of the system without me noticing then there should only be a single instance running.
- This reply was modified 8 years ago by Lynge.
LyngeMemberThe three ports confuse me as well.
Yes SPJS is running on the same machine as the DUE is connected to and Chillipepr is running on.
I have turned on the autosleep, but it merely happened when I left the machine alone for a while and when I came back it had fallen asleep.
Pretty sure. One time I managed to start the service again and while I cannot remember the error it produced I am certain it looked different to the ones I keep getting.
I am on a 64bit installation could that have an effect maybe?
Also, does it matter that the DUE is not connected to any stepper drivers? I mean, it should just produce the signals anyway right?
LyngeMemberIf i point minicom at the serial port that SPJS cannot find. I get this
{"r":{"fv":0.99,"fb":100.12,"fbs":"100.12-2-g7b23-dirty","fbc":"settings_dualy.}
And I am unable to enter any commands or anything. Is the DUE hanging?
LyngeMemberSPJS lists the port on startup and correctly identifies what is connected to it:
2016/10/30 14:09:50 seriallist_linux.go:275: Final port list: [{/dev/ttyACM0 Arduino Due Prog. Port (ttyACM0) [] 75533343236351E08202 02 Arduino (www.arduino.cc) Arduino Due Prog. Port 003d 2341} {/dev/ttyACM1 Synthetos TinyG v2 (ttyACM1) [/dev/ttyACM2] 0084-d639-0084-6bd6 ef Synthetos TinyG v2 606d 1d50} {/dev/ttyACM2 Synthetos TinyG v2 (ttyACM2) [/dev/ttyACM1] 0084-d639-0084-6bd6 ef Synthetos TinyG v2 606d 1d50}] 2016/10/30 14:09:50 serial.go:489: Got metadata on ports:[{/dev/ttyACM0 Arduino Due Prog. Port (ttyACM0) [] 75533343236351E08202 02 Arduino (www.arduino.cc) Arduino Due Prog. Port 003d 2341} {/dev/ttyACM1 Synthetos TinyG v2 (ttyACM1) [/dev/ttyACM2] 0084-d639-0084-6bd6 ef Synthetos TinyG v2 606d 1d50} {/dev/ttyACM2 Synthetos TinyG v2 (ttyACM2) [/dev/ttyACM1] 0084-d639-0084-6bd6 ef Synthetos TinyG v2 606d 1d50}] 2016/10/30 14:09:50 serial.go:546: About to marshal the serial port list. spl:{[{/dev/ttyACM0 Arduino Due Prog. Port (ttyACM0) 75533343236351E08202 02 false false [] 0 [default timed nodemcu tinyg tinyg_old tinyg_linemode tinyg_tidmode tinygg2 grbl marlin] 1.92 2341 003d 0} {/dev/ttyACM1 Synthetos TinyG v2 (ttyACM1) 0084-d639-0084-6bd6 ef false false [/dev/ttyACM2] 0 [default timed nodemcu tinyg tinyg_old tinyg_linemode tinyg_tidmode tinygg2 grbl marlin] 1.92 1d50 606d 0} {/dev/ttyACM2 Synthetos TinyG v2 (ttyACM2) 0084-d639-0084-6bd6 ef false false [/dev/ttyACM1] 0 [default timed nodemcu tinyg tinyg_old tinyg_linemode tinyg_tidmode tinygg2 grbl marlin] 1.92 1d50 606d 0} {/dev/ttyS0 ttyS0 false false [] 0 [default timed nodemcu tinyg tinyg_old tinyg_linemode tinyg_tidmode tinygg2 grbl marlin] 1.92 0}]}
- This reply was modified 8 years ago by Lynge.
LyngeMemberAnd now problem is back.
Even if I reflash the DUE it just won’t connect.
It shows up fine in chilipepr, but when I try to connect it throws the error in my original post.
the output of ‘ls -l /dev/ttyA*’ is
‘
crw-rw—- 1 root dialout 166, 0 Oct 30 14:01 /dev/ttyACM0
crw-rw—- 1 root dialout 166, 1 Oct 30 14:03 /dev/ttyACM1
crw-rw—- 1 root dialout 166, 2 Oct 30 14:03 /dev/ttyACM2
‘So the ports are there.
Any ideas? This really seems weird.
BTW I have the DUE connect with 2 cables, but I have also tried with just moving one cable to the native port after flashing, but that made no difference.
LyngeMemberAll assumptions correct on your part.
And yes, I did see the heartbeat.I also checked to see if the port was there and it was. I forgot to mention that, sorry.
I have now got it working again, but it seems a little “wonky”.
If I run the demo gcode in chillipepr, it runs just fine, but after that, nothing really works anymore. The DRO does not update and I cannot jog and it won’t run the gcode again.
If however I start by jogging it works just as expected.
I will now try disconnecting the DUE and doing a reboot of the machine to see if it will still work after that.
One thing I did find out was that the SPJS really donsn’t like it when ubuntu goes into sleepmode while it is running, but that’s okay i guess since it really shouldn’t be running on something that sleeps while it is working.
I will follow up with more information shortly.
LyngeMemberThank you for your input, both of you. I have ordered a DUE.
I hope I don’t end up needing the ATMEL-ICE for debugging. That thing is expensive as I don’t know what.
-
AuthorPosts