Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WS2811 Led doesn't work on Tinker board R2.0 #163

Closed
SSNC-SushilBohaju opened this issue Apr 18, 2023 · 1 comment
Closed

WS2811 Led doesn't work on Tinker board R2.0 #163

SSNC-SushilBohaju opened this issue Apr 18, 2023 · 1 comment

Comments

@SSNC-SushilBohaju
Copy link

Loaded library 'ws281xj' from classpath
ws2811_init failed: Hardware revision is not supported
Error: java.lang.RuntimeException: Error initialising the WS281x strip
java.lang.RuntimeException: Error initialising the WS281x strip
at com.diozero.ws281xj.rpiws281x.WS281x.(WS281x.java:171)
at com.diozero.ws281xj.rpiws281x.WS281x.(WS281x.java:138)
at com.mycompany.App.main(App.java:23)

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x92e1f4bc, pid=6680, tid=6696

JRE version: OpenJDK Runtime Environment (11.0.18+10) (build 11.0.18+10-post-Debian-1deb10u1)

Java VM: OpenJDK Server VM (11.0.18+10-post-Debian-1deb10u1, mixed mode, g1 gc, linux-)

Problematic frame:

C [libws281xj7417783119458007225.so+0x24bc] ws2811_fini+0xc

No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

An error report file with more information is saved as:

/home/linaro/mydiozeroproject/hs_err_pid6680.log

If you would like to submit a bug report, please visit:

https://bugs.debian.org/openjdk-11

The crash happened outside the Java Virtual Machine in native code.

See problematic frame for where to report the bug.

Aborted

@mattjlewis
Copy link
Owner

Please try use SPI mode instead. The RPi code is tied to the Raspberry Pi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants