As requested by @hdiethelm , who asked me in #4236:
"Can you create an issue for this or is there already one?"
I am creating this dedicated issue for the problem.
Environment
- LinuxCNC: current
master branch
- Mesa: 7i96S with PktUARTTX
- Reproducibility: 100% (every startup)
Important
This issue is not related to the realtime kernel.
I have reproduced it with both:
@pcw-mesa has confirmed the same behavior.
#4236 (comment)
Steps to reproduce
In the HAL file, load hm2_modbus, for example:
loadrt hm2_modbus ports="hm2_7i96s.0.pktuart.0" mbccbs="/home/zdenek/linuxcnc/configs/DedaCNC-012/modbus/h100.mbccb" debug=3
Start LinuxCNC.
Expected behavior
After startup:
hm2_7i96s.0.packet-error-total = 0
Actual behavior
After startup:
hm2_7i96s.0.packet-error-total = 1
Additional observations
If the loadrt hm2_modbus ... line is commented out, then after LinuxCNC starts:
hm2_7i96s.0.packet-error-total = 0
Simply loading hm2_modbus is enough to trigger the packet error.
I also disconnected the RS485 wiring completely and the behavior did not change, so the issue does not appear to depend on the physical RS485 connection.
As requested by @hdiethelm , who asked me in #4236:
I am creating this dedicated issue for the problem.
Environment
masterbranchImportant
This issue is not related to the realtime kernel.
I have reproduced it with both:
@pcw-mesa has confirmed the same behavior.
#4236 (comment)
Steps to reproduce
In the HAL file, load
hm2_modbus, for example:Start LinuxCNC.
Expected behavior
After startup:
hm2_7i96s.0.packet-error-total = 0
Actual behavior
After startup:
hm2_7i96s.0.packet-error-total = 1
Additional observations
If the loadrt hm2_modbus ... line is commented out, then after LinuxCNC starts:
hm2_7i96s.0.packet-error-total = 0
Simply loading hm2_modbus is enough to trigger the packet error.
I also disconnected the RS485 wiring completely and the behavior did not change, so the issue does not appear to depend on the physical RS485 connection.