In the past I used java gpio library libbulldog.

description from author of library:
https://groups.google.com/g/beagleboard/c/QkdoypqrTPQ/m/L7URLQ1dCAAJ

http://www.libbulldog.org ... page not found

Now I am using Debian 10.3 with kernel 4.19.94-ti-r42 in Beaglebone Black.

Board is detected via command Board board = Platform.createBoard();
but now I get error:

java.lang.ArrayIndexOutOfBoundsException: 0
    at 
org.bulldog.beagleboneblack.sysfs.BBBSysFs.getCapeManager(BBBSysFs.java:23)
    ...
    at org.bulldog.core.platform.Platform.createBoard(Platform.java:13)

>From BBBSysFs file:

private String SYSFS_DEVICES_PATH = "/sys/devices";
return getFilesInPath(this.SYSFS_DEVICES_PATH, "bone_capemgr")[0];

but path sys/devices/bone_capemgr doesn't exist.

I think problem is in newer kernel:
https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Where_did_the_slots_file_go.3F

I 've tried comment line enable_uboot_overlays=1 in /boot/uEnv.txt, but 
after reboot BBB board doesn't start.


But back to my problem.
How can I access pins, UARTs in JAVA how I access with libbulldog library.
Thanks.

-- 
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/fd43d1c6-3f5a-4ea1-8761-a5fcc5dffcf6n%40googlegroups.com.

Reply via email to