Cannot obtain access to peripherals (mmap error)
I am using an Asus Tinkerboard, (Asus Pi)
even under sudo I get this. The command I give is:
sudo ./fm_transmitter -f 100.0 -r Aglass.mp3
in source: this traces back to:
peripherals = mmap(NULL, 0x002FFFFF, PROT_READ | PROT_WRITE, MAP_SHARED, memFd, isBcm2835 ? 0x20000000 : 0x3F000000);
close(memFd);
if (peripherals == MAP_FAILED) {
throw ErrorReporter("Cannot obtain access to peripherals (mmap error)");
}
Cannot obtain access to peripherals (mmap error) I am using an Asus Tinkerboard, (Asus Pi) even under sudo I get this. The command I give is: sudo ./fm_transmitter -f 100.0 -r Aglass.mp3
in source: this traces back to: peripherals = mmap(NULL, 0x002FFFFF, PROT_READ | PROT_WRITE, MAP_SHARED, memFd, isBcm2835 ? 0x20000000 : 0x3F000000); close(memFd); if (peripherals == MAP_FAILED) { throw ErrorReporter("Cannot obtain access to peripherals (mmap error)"); }
I will look into the source...