You have both the read (capture position) and update threads of the
PRU driver commented in your HAL file (lines 26 & 30), effectively
disabling the HAL PRU driver.

On 12/31/2018 5:13 AM, Malte Schmidt wrote:
> Dear all,
> 
> I have another issue which results in joint 0 following errors. My 
> hypothesis is that the PRU is not running as hal-meter shows position-cmd 
> being input to the hpg.stepgen but position-fb stays unchanged.
> The cape was detected during boot. I have sucessfully used GPIO pins but 
> the PRU does not seem to work.
> 
> I have observed the same problem using v4.14 with Preempt RT on Strech and 
> with v3.8 xenomai on Jessie.  
> 
> Now I'm running out of ideas what to check and try :-( Pastebins of the 
> ini, hal and bbio files as well as the logs are located as pastbin links 
> below hoping that some wise guy can help me resolving this.
> 
> BTW: Having worked with Linux as user for some time but being fresh to ARM 
> Boards and the BBB I have been taking notes of my endeavor getting this to 
> work. While I value that everything is written down somewhere I feel that 
> improved documentation (howto) would attract more users to machinekit. I 
> would sign up for cleaning this up and putting this somewhere if you think 
> such a writeup is helpful. My scribbles are here: 
> https://pastebin.com/WFKXMsx9  I would plan to add u-boot overlays and 
> cover the hardware side of things since I'm using a prototype cape + few 
> optocoupler modules + 3.3 -> 5V level shifters to build a machinekit 
> hardware cape
> 
> BR and thanks and happy new year,
> Malte
> 
> Shell output of: export DEBUG=5; machinekit interkrenn.ini 
> https://pastebin.com/wgxE8eD2
> 
> Relevant part of /var/log/linuxcnc.log
> https://pastebin.com/GyWM6muP
> 
> My ini file (not simplified i.e. there are axes defined in there that are 
> not mapped in the hal files)
> https://pastebin.com/jRvjfmRw
> 
> My Hal file (simplified/stipped version which shows the issue):
> https://pastebin.com/txFHiNar
> 
> My bbio file (simplified/stipped version which shows the issue):
> https://pastebin.com/zA4dyCg2
> 
> machinekit@beaglebone:~/mk_ik/config$ uname -a
> Linux beaglebone 4.14.79-ti-rt-r84 #1 SMP PREEMPT RT Tue Nov 13 20:33:45 
> UTC 2018 armv7l GNU/Linux
> 
> machinekit@beaglebone:~/mk_ik/config$ cat /proc/cmdline
> console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 
> root=UUID=94daacb3-de67-41a5-8087-c68a02c7e893 ro rootfstype=ext4 rootwait 
> uboot_detected_capes=cape-universal, coherent_pool=1M net.ifnames=0 quiet
> 


-- 
Charles Steinkuehler
[email protected]

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to