I am not an electrical engineer.
All I know about electronics I learned using Google and Wikipedia.
JNIEXPORT jlong JNICALL Java_a_B_mem
(JNIEnv * env, jobject obj, jlong off, jlong size) {
int fd = open("/dev/mem", O_RDWR|O_SYNC);
return (long)mmap(NULL, size, PROT_READ |
PROT_WRITE, MAP_SHARED, fd, off);
}
https://github.com/hiredman/beaglebone-jni-utils
Use a spacebar or arrow keys to navigate