hm2/hm2_7i92.0: Error finishing read!

More
1 year 11 months ago #313984 by angelnu
Thanks for your answers, I'll try it tomorrow.

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

More
1 year 11 months ago #314094 by angelnu
Thanks PCW for your reply, I remembered that I had compiled the Orange Pi 5 core and checked the network interrupts and they were different from the ones I had isolated before, so I changed the network IRQs to the isolated cores and now I get better results. I have done several tests and it has not failed again.

angel@orangepi5:~$ sudo chrt 99 ping -i .001 -q 10.10.10.10 -c 50000
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.

--- 10.10.10.10 ping statistics ---
50000 packets transmitted, 50000 received, 0% packet loss, time 50002ms
rtt min/avg/max/mdev = 0.148/0.156/0.345/0.001 ms
angel@orangepi5:~$ sudo chrt 99 ping -i .001 -q 10.10.10.10 -c 50000
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.

--- 10.10.10.10 ping statistics ---
50000 packets transmitted, 50000 received, 0% packet loss, time 50001ms
rtt min/avg/max/mdev = 0.155/0.156/0.186/0.000 ms
angel@orangepi5:~$ sudo chrt 99 ping -i .001 -q 10.10.10.10 -c 50000
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.

--- 10.10.10.10 ping statistics ---
50000 packets transmitted, 50000 received, 0% packet loss, time 50001ms
rtt min/avg/max/mdev = 0.155/0.156/0.186/0.000 ms

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

More
1 year 11 months ago #314095 by PCW
That looks much better.

You can monitor the maximum times in when LinuxCNC is running with:

halcmd show param *.tmax

(these times will be in ns on non-x86 platforms like your Orange-Pi)
The following user(s) said Thank You: angelnu

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

More
1 year 11 months ago #314181 by angelnu
The parameters are:

angel@orangepi5:~$ halcmd show param *.tmax
Parameters:
Owner Type Dir Value Name
61 s32 RW 292 AND2-Y-eoffset.tmax
61 s32 RW 292 AND2-Y-jog.tmax
61 s32 RW 292 AND2-Z-eoffset.tmax
61 s32 RW 292 AND2-Z-jog.tmax
61 s32 RW 292 AND2-inicio.tmax
61 s32 RW 292 AND2-reanuda.tmax
61 s32 RW 292 AND2-spindle-manual-CCW.tmax
61 s32 RW 292 AND2-spindle-manual-CW.tmax
58 s32 RW 292 AND3-spindle-manual-stop.tmax
58 s32 RW 875 NOR3-alarma-ejes.tmax
67 s32 RW 292 NOT-mode-is-auto.tmax
67 s32 RW 292 X-not.tmax
67 s32 RW 292 Y-not.tmax
67 s32 RW 292 Z-not.tmax
30 s32 RW 11083 base-thread.tmax
55 s32 RW 292 conv_float_s32-feed.tmax
55 s32 RW 584 conv_float_s32-rapid.tmax
76 s32 RW 583 debounce.0.tmax
73 s32 RW 7875 hal_op5_io.read.tmax
73 s32 RW 8166 hal_op5_io.write.tmax
37 s32 RW 0 hm2_7i92.0.read-request.tmax
37 s32 RW 198039 hm2_7i92.0.read.tmax
37 s32 RW 18666 hm2_7i92.0.write.tmax
64 s32 RW 292 ilowpass-encoder-X.tmax
64 s32 RW 292 ilowpass-encoder-select.tmax
70 s32 RW 292 invert.0.tmax
29 s32 RW 1167 motion-command-handler.tmax
29 s32 RW 12833 motion-controller.tmax
52 s32 RW 292 mult2-1-feed.tmax
52 s32 RW 292 mult2-1-jog.tmax
52 s32 RW 583 mult2-1-rapid.tmax
52 s32 RW 292 mult2-2-feed.tmax
52 s32 RW 292 mult2-2-jog.tmax
52 s32 RW 292 mult2-2-rapid.tmax
52 s32 RW 583 mult2-escala.tmax
52 s32 RW 292 mult2-voltaje.tmax
49 s32 RW 584 mux8-escala-mpg.tmax
40 s32 RW 9333 pid.s.do-pid-calcs.tmax
40 s32 RW 9334 pid.x.do-pid-calcs.tmax
40 s32 RW 9625 pid.y.do-pid-calcs.tmax
40 s32 RW 9333 pid.z.do-pid-calcs.tmax
31 s32 RW 235371 servo-thread.tmax

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

More
1 year 11 months ago #314192 by PCW
31 s32 RW 235371 servo-thread.tmax

So the maximum servo thread time is ~ 1/4 of the servo period so looks fine.

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

More
1 year 11 months ago #314227 by angelnu
Thank you for your help. Yesterday the router was working for three hours without any problem.
The following user(s) said Thank You: tommylight

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

Moderators: PCW, jmelson
Time to create page: 0.074 seconds
Powered by Kunena Forum