I have complex Java application where using GPIO is only part of it. Dátum: štvrtok 24. júna 2021, čas: 10:48:10 UTC+2, odosielateľ: gwen.sto...@gmail.com
> Is there a base reason to use Java in this project? > > By design Java has a high separation from the hardware. > Accessing the hardware (GPIo) is not simple. > Doing this on Linux is anyhow not simple due the same reason: Linux > separates the userspace from the hardware. > > You better look into C/C++ for hardware access. > The ultimate speed of the application will also improve. > > Gwen > > Op do 24 jun. 2021 om 08:08 schreef Radovan Chovan <rad...@gmail.com>: > >> Thanks. >> I need to use Debian 10.3 and display GEN4-4DCAPE-70CT-CLB from 4D >> Systems. >> I will try another project for java gpio https://github.com/koert/gpio >> Do you know something else like libbulldog? >> >> Dátum: streda 23. júna 2021, čas: 16:32:35 UTC+2, odosielateľ: >> RobertCNelson >> >>> On Wed, Jun 23, 2021 at 8:39 AM Radovan Chovan <rad...@gmail.com> >>> wrote: >>> > >>> > 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 >>> >>> >>> Correct, kernel is too new for that library.. >>> >>> Reboot with 3.8.13, (if it even boots..) >>> >>> 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 beagleboard...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/beagleboard/08bc6689-17dd-47f6-bcad-094c9774ee53n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/beagleboard/08bc6689-17dd-47f6-bcad-094c9774ee53n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/5842d6d4-68a3-40f3-bef1-e920eaf83683n%40googlegroups.com.