Communications are now working between the master, HAL driver, and drive. Thanks everyone for the help!
HAL script:
When I run the above script, I can run
show pin lcec at the halcmd and it shows the current value of the motor position. Sometimes the value is 0, but if I run the command again it will update to the actual position.
The values next to
lcec.read-all.time and
lcec.write-all.time change every time I run
show pin lcec, but the motor position never does.
If I quit and restart the hal script, it will update the position again (just the once) and then no more.
Checking
dmesg shows the following:
The "Slave did not sync after 5000ms" has me thinking that the watchdog timeout is not configured correctly. I have the divider at 0 and intervals at 1000, which I don't think is right, but I don't know what to put there instead. I tried changing the divider to 2498 based on a different configuration guide, but then get spam in dmesg about "Failed to set watchdog divider"
Thank you for reading through the wall of text! If you have any thoughts at this point, I would really appreciate it.