6i25-7i77 Comunication errors

More
18 Jan 2016 15:33 #68689 by Diederik
Hi,

I've been struggling with this issue for at least 4 months now, the machines runs perfectly for two hours, (Plus-Minus), then comes up with Mesa errors 13, 14, and sometimes 4.
It's to do with serrial communication, and I've had permanent problems with this. I've also seen more posts here on the forum about it, which reliefs me that I'm not the only one struggling with these issues.

Has anyone else experienced this problem and came to a solution

Please Log in or Create an account to join the conversation.

More
18 Jan 2016 15:49 #68692 by BigJohnT
What version of LinuxCNC are you running? I have one machine that has sserial errors due to noisy electrical cabinet and for now I'm running 2.6.x.

JT

Please Log in or Create an account to join the conversation.

More
18 Jan 2016 15:59 - 18 Jan 2016 16:06 #68693 by PCW
Replied by PCW on topic 6i25-7i77 Comunication errors
This indicates that there is noise picked up (Greater than a TTL threshold = ~1.4V)
in the DB25 cable between the 6I25 and the 7I77, either from a ground loop or
induced noise from nearby cables.
Re-routing cables and checking carefully for grounding issues may help

Also if you have a noisy electrical environment, using the shortest possible cable from the
6I25 to the 7I77 will help.

If you are running LinuxCNC 2.7.X, this is made worse by a error reporting bug
in the hm2 driver that makes single transient sserial errors fatal

We are working to fix the driver bug and we also have a firmware modification that
improves FPGA RX noise immunity :

freeby.mesanet.com/filtered.zip

for a 7i77 unzip this file and run:

sudo mesaflash --device 5i25 --write 77f.bit

and then either power cycle the machine or run:

sudo mesaflash --device 5i25 --reload

to load the new firmware
Last edit: 18 Jan 2016 16:06 by PCW.
The following user(s) said Thank You: Diederik

Please Log in or Create an account to join the conversation.

More
21 Jan 2016 19:18 - 21 Jan 2016 19:25 #68891 by Diederik
Hi Peter,

I followed all your instructions, I'm still getting the following errors:

Dmesg output:
[17140.402340] hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (13) Communication error
[17140.402345] hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (4) Extra character
[17140.404397] hm2/hm2_5i25.0: Smart Serial Comms Error: There have been more than 1 errors in 10 thread executions at least 200 times. See other error messages for details.
[17140.404405] hm2/hm2_5i25.0: ***Smart Serial Port 0 will be stopped***
[17678.356929] hm2_5i25.0: dropping AnyIO board at 0000:03:00.0
[17678.356937] hm2/hm2_5i25.0: unregistered
[17678.356970] hm2_pci 0000:03:00.0: PCI INT A disabled
[17678.357008] hm2_pci: driver unloaded
[17678.360488] hm2: unloading
[17680.591119] RTAI[math]: unloaded.
[17680.609471] SCHED releases registered named ALIEN RTGLBH
[17680.671755] RTAI[malloc]: unloaded.
[17680.770462] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[17680.773428] I-pipe: Domain RTAI unregistered.
[17680.773538] RTAI[hal]: unmounted.

I don't know what to say anymore.
I've supplied external 5V supply to the 7i77, I'm using 7i77isol for each 7i77,
I've done the mesaflash with the 77f.bit filter, I checked my voltages, and monitored them, both 5V, and 24V is stable, the 3.3V on the 6i25 is also stable, I'm using the DB25 Cables provided by Mesa, ... I've really tried my best on everything, and have a strong feeling that there is something wrong with the latest 6i25/7i77 batches.

I have also moved the Computer, Cables and 7i77x2 away from all high voltages.

I have used many sets like these, and never had this many issues. We have more than 50 sets of these in the field, but the last two batches that we received, just cannot work for more than 2 hours, then these errors occur.

I have been struggling with this since last year October, and towards end of November, I decided to get busy with other things to get my mind off these things, because it just pulls me right down.

please help.
Last edit: 21 Jan 2016 19:25 by Diederik.

Please Log in or Create an account to join the conversation.

More
21 Jan 2016 19:35 #68892 by PCW
Replied by PCW on topic 6i25-7i77 Comunication errors
The main thing that changed is that the error handling in hm2 driver in
linuxcnc 2.7 has a problem with sserial errors. It ends up treating single
errors as fatal. As a first step, I would suggest reverting to linuxcnc 2.6
until this issue is resolved.


If you have sserial errors using the 77f.bit file it does mean that you have
enough noise coupled into the DB25 cable that you have at least 1.4V of
noise of longer than 200 ns duration.

Please Log in or Create an account to join the conversation.

More
21 Jan 2016 19:54 #68893 by Diederik
Okay,

I have now diverted back to 2.6, and will have to try it out tomorrow, when I'm back at the factory.

Thanks for the reply. I will most likely give feedback tomorrow.

Please Log in or Create an account to join the conversation.

More
21 Jan 2016 20:07 #68894 by Todd Zuercher
You have my sympathy.

It isn't just new ones that are struggling with this. I've had intermittent problems with it ever since updating to 2.7 (and the smart serial firmware updates that were pushed along with it.)

You don't mention if you've carefully examined your wiring for ground loops.

Please Log in or Create an account to join the conversation.

More
21 Jan 2016 20:43 #68896 by PCW
Replied by PCW on topic 6i25-7i77 Comunication errors
Todd, did you try the 77f.bit file? if you dont have severe noise issues that may solve the sserial error problem
(until 2.7.4 comes out though, any single error will be fatal))

Also Diederik: did you power cycle your machine after loading the new 77f.bit bitfile?

Please Log in or Create an account to join the conversation.

More
21 Jan 2016 20:57 #68897 by Todd Zuercher
No, not yet. The machine (and myself) has been fairly busy lately, and since it mostly only seems to mess up when I hit the e-stop button. I haven't taken the time to mess with it.

Please Log in or Create an account to join the conversation.

More
21 Jan 2016 21:38 #68898 by Todd Zuercher
Just tried it and I don't think it made any difference.
Here is what was spit out at the terminal.
Starting LinuxCNC...
Found file(REL): ./Digital_4w.hal
Found file(REL): ./custom.hal
task: main loop took 0.113504 seconds
task: main loop took 0.144979 seconds
task: main loop took 0.100410 seconds
task: main loop took 0.106816 seconds
hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (13) Communication error

task: main loop took 0.137305 seconds
hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (5) Serial Break Error

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (4) Extra character

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (3) Timeout

hm2/hm2_5i25.0: Smart Serial Error: port 0 channel 0. You may see this error if the FPGA card read thread is not running. This error message will not repeat.

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (13) Communication error

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (5) Serial Break Error

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (4) Extra character

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (3) Timeout

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (13) Communication error

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (5) Serial Break Error

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (4) Extra character

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (3) Timeout

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (13) Communication error

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (5) Serial Break Error

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (4) Extra character

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (3) Timeout

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (13) Communication error

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (5) Serial Break Error

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (4) Extra character

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (3) Timeout

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (13) Communication error

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (5) Serial Break Error

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (4) Extra character

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (3) Timeout

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (13) Communication error

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (5) Serial Break Error

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (4) Extra character

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (3) Timeout

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (13) Communication error

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (5) Serial Break Error

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i77.0.0 error = (4) Extra character

Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
task: 5044 cycles, min=0.000034, max=0.144979, avg=0.010256, 5 latency excursions (> 10x expected cycle time of 0.010000s)
Traceback (most recent call last):
  File "./timelog.py", line 33, in <module>
    time.sleep(delta_t)
KeyboardInterrupt
digital4@digital4-cnc:~/linuxcnc-uvw$ 

Please Log in or Create an account to join the conversation.

Time to create page: 0.777 seconds
Powered by Kunena Forum