Thank you for looking at this. Output of the command you requested...
debian@beaglebone:/usr/share/doc/libpruio-dev/examples$ sudo 
/opt/scripts/tools/version.sh
git:/opt/scripts/:[1aa73453b2c980b75e31e83dab7dd8b6696f10c7]
eeprom:[A335BNLTEIA00917BBBK4F44]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Image 2018-10-07]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 
2018.09-00002-g0b54a51eee]:[location: dd MBR]
kernel:[4.14.71-ti-r80]
nodejs:[v6.17.0]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=0]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade 
<pkg>]
pkg:[bb-cape-overlays]:[4.4.20190227.0-0rcnee0~stretch+20190227]
pkg:[bb-wl18xx-firmware]:[1.20190227.1-0rcnee0~stretch+20190227]
pkg:[kmod]:[23-2rcnee1~stretch+20171005]
pkg:[librobotcontrol]:[1.0.4-git20190107.0-0rcnee0~stretch+20190108]
pkg:[firmware-ti-connectivity]:[20180825+dfsg-1rcnee1~stretch+20181217]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video 
plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep 
admin spi tisdk weston-launch xenomai pruio]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 
root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M 
net.ifnames=0 quiet]
dmesg | grep pinctrl-single
[    1.122289] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 
568
dmesg | grep gpio-of-helper
[    1.134289] gpio-of-helper ocp:cape-universal: ready
END
debian@beaglebone:/usr/share/doc/libpruio-dev/examples$

I also tried P9_28 since I believe that is the other pru eCAP pin. I got 
the following error...
debian@beaglebone:/usr/share/doc/libpruio-dev/examples$ sudo ./pwm_cap
failed setting input @P_IN (pin P9_28 claimed by: 48038000.mcasp)

Don




On Sunday, March 3, 2019 at 11:55:24 AM UTC-5, RobertCNelson wrote:
>
>
>
> On Sun, Mar 3, 2019 at 6:49 AM <[email protected] <javascript:>> wrote:
>
>> First time post. Thank you for all your work on *libpruio*.
>>
>> I am trying the *pwm_cap* example but am getting the following error:
>> sudo ./pwm_cap
>> failed setting input @P_IN (pin P9_42 claimed by: ocp:P9_42_pinmux)
>>
>> I am running 4.14 and have installed from the Debian packages, including 
>> *libpruio*, *libpruio-dev* and *libpruio-lkm*. I have made the following 
>> changes to *uEnv.txt*...
>>
>>    - enable_uboot_cape_universal=0
>>    - uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo
>>    
>> What else might I be missing? Thank you for the help.
>>
>
> P9_42 is odd, let's what you have configured.
>
> sudo /opt/scripts/tools/version.sh
>
> Regards,
>
> -- 
> Robert Nelson
> https://rcn-ee.com/
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/dd21a5d2-4a1c-42d1-b64d-66ecd259fdbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to