Transfer Error. Disonnecting Device due to Com Error.

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Transfer Error. Disonnecting Device due to Com Error.

Re: Transfer Error. Disonnecting Device due to Com Error.

by ArtF » Fri Dec 25, 2020 11:54 am



This discussion reminds me of an early problem I had with running Auggie during development.
I downloaded a packet sniffer to see what was going on and found a virus scanner locking up
my network intermittently with .5 second lockups.. Killed the scanner and forgot about it till
now..

Art

Re: Transfer Error. Disonnecting Device due to Com Error.

by BobbyW » Fri Dec 25, 2020 4:08 am

MarkW wrote: Who knows who else may run into this type of situation.

Mark
I got some problem when i start , also randomly getting a big lag  like laser stop for almost 1 sec
at random interval of 30 sec . If you engrave something is pointless will destroy
you engrave . For cutting is just annoing.
I solve it putting rule on my network in IPconfig and i change the original to openwrt firmware
on that router used as a switch . That router connect only pokeys , my pc and camera . Nothing else.
And i never get that problem again.
Maybe help
bobby

Re: Transfer Error. Disonnecting Device due to Com Error.

by MarkW » Thu Dec 24, 2020 1:45 pm

Thx Kirk,  I do have a another switch and a crossover cable around someplace. I will probably be able to get back on this in a few days.  These things always seem to happen in bursts. I'll be sure to post my results here afterwards.  Who knows who else may run into this type of situation.

Mark

Re: Transfer Error. Disonnecting Device due to Com Error.

by Mooselake » Tue Dec 22, 2020 5:56 pm

Do you have a spare ethernet switch or a crossover cable?  Limit the network to your PC and the pokeys, which would rule out all other network interference, might need to set up some static IPs to pull that off. 

Kirk

Re: Transfer Error. Disonnecting Device due to Com Error.

by MarkW » Mon Dec 21, 2020 3:58 pm

Thx Art.  I think it's probably my network too.  I set delay at 1.  Same result so I went no further down that path.  Now for network...

Mark

Re: Transfer Error. Disonnecting Device due to Com Error.

by ArtF » Mon Dec 21, 2020 2:23 pm

Mark:

  From your tests, Id leave the delay at zero. Codewise your test indicates zero isn't  low enough.
For some reason your getting disconnected , and it sounds more to me like lost packets. If the
pokeys see's too many missed packets I think it disconnects.

  Makes me wonder if something on your network doesn't like the traffic for some
reason.

Art

Re: Transfer Error. Disonnecting Device due to Com Error.

by MarkW » Mon Dec 21, 2020 12:38 pm

Art,
I tried changing this parameter last night to 3 before you replied.  Holy cats!  After changing to 3 I moved the machine and it was like I had set the velocity to something far in excess of what my machine can do.  Jerked. Stuttered.  Missed steps.  Very violent movement.  I put it back to 0 and all motion returned to normal.  I then set to 0.025.  Motion fine.  Random timeouts were back.

I shut it down.

Interesting you had timeouts using USB get my USB connection is very reliable.

My power supply is heavy duty.  I built it a long time ago so I can't recall exact wattage but probably 300w or so.

I think I'll get some time to work on this today.  Think I'll try adjusting the delay setting carefully.  Also I'll look at overall network configuration.  I think I'll also try a direct Ethernet cable between laptop and pokeys57 as shown as one of the options in the pokeys57 doc.

Wish me luck.

Mark

Re: Transfer Error. Disonnecting Device due to Com Error.

by ArtF » Mon Dec 21, 2020 2:43 am

Mark:

Originally, it was used to stop an annoyance of a disconnect in IP traffic. It tells the program to allow a
bit of delay between packets. This is highly dependent it seems on your particular network and machine. I originally used 3 as a setting
when in USB as I found USB to  have a problem disconnecting on mine, when I went to network cable I
had no longer any disconnects. I run hours long programs with no trouble since I swapped to IP.

  Mine is now set to 0, but Id advise you try 2 or 3 to see if it makes a difference. The error your getting
happens if the system sends a packet to the Pokeys ands it refuses to allow it and sends an "I'm disconnected"
error back. Setting a delay may allow more time to let it process data or bypass a connection error.

Hmmm.. This one is important too, I just recalled it. Originally, I ran in USB and has a 500ma power supply or
something feeding the Pokeys.  Worked fine, but when I swapped to internet connection I was getting connection
dropouts. I figured out in the end my power supply had too little current capacity. I upped it to a 2 amp power
supply in the end as I found the more logic I used and  the more outputs, the PS loaded down to the
point you got the occasional reboot of the pokeys. I recall this also fixed a reboot issue for another user.
  So make sure the power supply isn't a small wall wart .. they dont have enough oomph...

Art



Art

Re: Transfer Error. Disonnecting Device due to Com Error.

by MarkW » Mon Dec 21, 2020 12:11 am

I'm embarrassed because I never saw that parameter.  Yes.  It is set to 0.  Is that what it should be or do you have a recommendation for its proper value?

Mark

Re: Transfer Error. Disonnecting Device due to Com Error.

by ArtF » Sun Dec 20, 2020 9:27 pm

Hi MArk:

Have you set the Network Delay to 0 in the config/planner config page?

Art

Top